-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.6 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.6 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
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
{
"name": "weaver",
"version": "0.4.2",
"private": true,
"scripts": {
"dev": "node server.js",
"build": "next build",
"start": "NODE_ENV=production node server.js",
"precommit": "lint-staged"
},
"eslintConfig": {
"env": {
"browser": true
},
"parser": "babel-eslint",
"extends": [
"react-app",
"airbnb"
],
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": "off",
"react/jsx-props-no-spreading": "warn",
"react/forbid-prop-types": "warn",
"react/prop-types": "warn",
"react/require-default-props": "warn",
"react/destructuring-assignment": "warn",
"import/no-unresolved": "off",
"arrow-body-style": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/anchor-has-content": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"object-curly-newline": "off",
"max-len": "warn",
"no-restricted-syntax": "warn"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"./node_modules/eslint/bin/eslint.js --fix 'src/**/*.js'",
"./node_modules/eslint/bin/eslint.js --fix 'pages/**/*.js'",
"git add"
]
},
"babel": {
"presets": [
"next/babel"
],
"plugins": [
[
"styled-components",
{
"ssr": true,
"displayName": true,
"preprocess": false
}
],
[
"module-resolver",
{
"root": [
"."
],
"alias": {
"@components": "./src/components",
"@theme": "./src/theme",
"@utils": "./src/utils",
"@i18n": "./i18n"
}
}
]
]
},
"dependencies": {
"@material-ui/core": "latest",
"babel-plugin-module-resolver": "^4.0.0",
"clsx": "latest",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"next": "latest",
"next-i18next": "^4.2.1",
"prop-types": "latest",
"react": "latest",
"react-dom": "latest",
"styled-components": "^5.1.0"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"babel-plugin-styled-components": "^1.10.7",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"husky": "^4.2.5",
"lint-staged": "^10.1.3"
}
}