-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.34 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.34 KB
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
{
"type": "module",
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@eslint/eslintrc": "^3.1.0",
"babel-loader": "^9.1.3",
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-html": "^8.1.1",
"prettier": "^3.3.2",
"prettier-plugin-solidity": "^1.3.1"
},
"scripts": {
"lint": "eslint django/frontend/**/*.js eth/**/*.js",
"lint:fix": "eslint --fix 'django/frontend/**/*.{js,jsx}' 'eth/**/*.js'",
"start": "webpack serve --hot --config webpack.dev.js",
"build": "webpack build --config webpack.prod.js",
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky"
},
"lint-staged": {
"django/frontend/**/*.{js,jsx}": [
"prettier --write --log-level=error",
"eslint --fix --quiet"
],
"{public,django/frontend}/**/*.{html,gql,graphql,json}": [
"prettier --write --log-level=error"
],
"eth/**/*.js": [
"prettier --write --log-level=error",
"eslint --fix --quiet"
],
"eth/**/*.sol": [
"prettier --write --plugin=prettier-plugin-solidity --log-level=error",
"solhint"
]
},
"dependencies": {
"babel": "^6.23.0",
"husky": "^9.1.4",
"js-cookie": "^3.0.5",
"lint-staged": "^15.2.7",
"solhint": "^5.0.1"
}
}