-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
74 lines (74 loc) · 1.96 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
{
"name": "osoc-webapp",
"version": "0.1.0",
"private": true,
"dependencies": {
"@zeit/next-sass": "^1.0.1",
"express": "^4.17.1",
"foundation-sites": "^6.5.3",
"husky": "^1.3.1",
"isomorphic-fetch": "^3.0.0",
"lint-staged": "^8.1.3",
"motion-ui": "^2.0.3",
"next": "^9.3.2",
"next-images": "^1.1.2",
"node-sass": "^4.12.0",
"prop-types": "^15.7.1",
"react": "^16.14.0",
"react-app-polyfill": "^0.2.0",
"react-dom": "^16.8.6",
"react-transition-group": "^4.4.1",
"swr": "^0.1.18",
"unfetch": "^4.1.0"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"export": "npm run build && next export && npm run post-export",
"post-export": "cp _redirects ./out/_redirects",
"start": "cross-env NODE_ENV=production next start",
"analyze": "cross-env BUNDLE_ANALYZE=both next build",
"analyze:server": "cross-env BUNDLE_ANALYZE=server next build",
"analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"eslintConfig": {
"extends": "react-app"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"babel-eslint": "^10.1.0",
"cross-env": "^5.2.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^3.0.7",
"eslint-plugin-flowtype": "^2.50.3",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.18.3",
"prettier": "^1.16.4",
"react-test-renderer": "^16.14.0"
}
}