-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
63 lines (63 loc) · 1.49 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
{
"name": "meteor-react-router-ssr",
"version": "4.0.0",
"scripts": {
"lint": "./node_modules/.bin/eslint ./ && ./node_modules/.bin/markdownlint ./",
"publish-release": "rimraf ./node_modules && meteor publish && meteor npm i --only=dev",
"pre-commit": "lint-staged",
"prepare": "husky install"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/eslint-parser": "^7.19.1",
"@babel/preset-react": "^7.18.6",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"markdownlint-cli": "^0.32.2"
},
"babel": {
"presets": [
"@babel/preset-react"
]
},
"eslintConfig": {
"extends": [
"standard",
"standard-react",
"plugin:react/recommended"
],
"rules": {
"semi": [
2,
"always"
],
"comma-dangle": [
2,
"always-multiline"
],
"react/prop-types": 0,
"react/display-name": 0
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"env": {
"browser": true,
"node": true,
"es6": true
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.md": "markdownlint -f"
}
}