-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
45 lines (45 loc) · 1021 Bytes
/
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
{
"name": "import-cost-monorepo",
"private": true,
"scripts": {
"prepare": "husky install",
"lint": "eslint . && npm run lint --workspaces --if-present",
"test": "npm run test --workspaces --if-present",
"build": "npm run build --workspaces --if-present"
},
"devDependencies": {
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"prettier": "^2.5.0"
},
"workspaces": [
"packages/*"
],
"eslintConfig": {
"env": {
"node": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:mocha/recommended",
"plugin:prettier/recommended"
],
"rules": {
"mocha/no-mocha-arrows": "off"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"quoteProps": "consistent",
"arrowParens": "avoid"
},
"lint-staged": {
"*.js": "eslint --fix"
}
}