-
Notifications
You must be signed in to change notification settings - Fork 963
/
package.json
108 lines (108 loc) · 2.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"repository": "pypa/warehouse",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "webpack",
"watch": "webpack --watch",
"lint": "eslint 'warehouse/static/js/**' 'warehouse/admin/static/js/**' 'tests/frontend/**' --ignore-pattern 'warehouse/static/js/vendor/**'",
"lint:fix": "eslint 'warehouse/static/js/**' 'warehouse/admin/static/js/**' 'tests/frontend/**' --ignore-pattern 'warehouse/static/js/vendor/**' --fix",
"stylelint": "stylelint '**/*.scss' --cache",
"stylelint:fix": "stylelint '**/*.scss' --cache --fix",
"test": "jest --coverage"
},
"jest": {
"setupFilesAfterEnv": [
"./tests/frontend/setup.js"
],
"testEnvironment": "jsdom",
"testRegex": ".*_test.js"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.2.1",
"@hotwired/stimulus": "^3.2.1",
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
"admin-lte": "^3.2.0",
"cookie": "^0.7.0",
"date-fns": "^2.30.0",
"debounce": "^1.2.1",
"jquery": "^3.7.0",
"normalize.css": "^8.0.1",
"stimulus-autocomplete": "^3.1.0"
},
"overrides": {
"sweetalert2": "11.4.8"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/eslint-parser": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@stylistic/eslint-plugin-js": "^2.1.0",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"babel-jest": "^29.5.0",
"compression-webpack-plugin": "^11.1.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^8.36.0",
"glob": "^10.2.2",
"image-minimizer-webpack-plugin": "^4.0.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.7.2",
"postcss-loader": "^8.1.1",
"rtlcss": "^4.0.0",
"sass-embedded": "^1.57.1",
"sass-loader": "^14.2.1",
"sharp": "^0.32.6",
"stylelint": "^16.6.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-selector-bem-pattern": "^4.0.0",
"svgo": "^3.0.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.0.2",
"webpack-livereload-plugin": "^3.0.2",
"webpack-manifest-plugin": "^5.0.0",
"webpack-remove-empty-scripts": "^1.0.3"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"amd": true,
"jquery": true
},
"extends": "eslint:recommended",
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"@stylistic/js"
],
"rules": {
"@stylistic/js/comma-dangle": [
"error",
"always-multiline"
],
"@stylistic/js/indent": [
"error",
2
],
"@stylistic/js/linebreak-style": [
"error",
"unix"
],
"@stylistic/js/quotes": [
"error",
"double"
],
"@stylistic/js/semi": [
"error",
"always"
]
}
}
}