forked from pypi/warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 2.87 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
{
"repository": "pypa/warehouse",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "webpack",
"watch": "webpack --watch",
"lint": "eslint 'warehouse/static/js/**' 'tests/frontend/**' --ignore-pattern 'warehouse/static/js/vendor/**'",
"lint:fix": "eslint 'warehouse/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.5.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": "^1.7.0",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"babel-jest": "^29.5.0",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^5.0.0",
"eslint": "^8.36.0",
"glob": "^10.2.2",
"image-minimizer-webpack-plugin": "^3.8.1",
"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": "^7.2.4",
"rtlcss": "^4.0.0",
"sass-embedded": "^1.57.1",
"sass-loader": "^13.2.0",
"sharp": "^0.32.6",
"stylelint": "^15.10.1",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-selector-bem-pattern": "^3.0.1",
"svgo": "^3.0.2",
"webpack": "^5.80.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
},
"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"
]
}
}
}