-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.47 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
{
"name": "iceberx",
"version": "0.1.0",
"private": true,
"description": "This is the web app design for NTU student life portal, working with NTUOSS X NTUSU",
"repository": {
"type": "git",
"url": "git://github.com/ntuoss/iceberx.git"
},
"scripts": {
"start": "cross-env NODE_ENV=development react-scripts start",
"build": "cross-env NODE_ENV=production react-scripts build",
"test": "cross-env NODE_ENV=test react-scripts test",
"lint": "eslint --ignore-path .gitignore --ext=js,jsx --fix ./src ",
"lint:css": "stylelint './app/**/*.jsx' './app/**/*.js'"
},
"dependencies": {
"@material-ui/core": "^3.9.2",
"@material-ui/icons": "^3.0.2",
"prop-types": "^15.6.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.3",
"styled-components": "^4.1.3",
"typeface-roboto": "0.0.54"
},
"devDependencies": {
"cross-env": "^5.2.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.11.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"prettier": "^1.16.4",
"stylelint": "^9.10.1",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.5.2"
},
"eslintConfig": {
"settings": {
"import/resolver": {
"node": {
"paths": [
"src"
]
}
}
},
"extends": [
"react-app",
"airbnb",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": [
1,
{
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
]
}
},
"prettier": {
"trailingComma": "all",
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"endOfLine": "lf"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md}": [
"yarn run lint",
"yarn run lint:css",
"git add --force"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}