generated from 8iq/nodejs-hackathon-boilerplate-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
109 lines (109 loc) · 2.45 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
108
109
{
"name": "start-up-kit",
"description": "Easy and Fast StartUp development kit",
"private": true,
"repository": "https://github.com/open-schools/open-schools-platform-frontend",
"homepage": "https://github.com/open-schools/open-schools-platform-frontend",
"license": "MIT",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"lint": "yarn run eslint .",
"createapp": "node ./bin/createapp"
},
"devDependencies": {
"@types/lodash": "^4.14.195",
"@types/react": "^18.0.4",
"@types/react-dom": "^18.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.13.0",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3"
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": [
"react",
"jest"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"space-before-function-paren": [
"error",
"always"
],
"comma-dangle": [
"error",
{
"functions": "only-multiline",
"arrays": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"objects": "always-multiline"
}
],
"object-curly-spacing": [
"error",
"always"
],
"no-prototype-builtins": "off",
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react/no-children-prop": "off",
"react/display-name": "warn",
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
}
}
}