-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.16 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
{
"name": "react.next",
"version": "0.0.1",
"description": "next.js typescript redux demo",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon ./index",
"build": "next build",
"start": "next start",
"export": "next build && next export",
"start:prod": "pm2 start ecosystem.config.js --env production",
"restart": "pm2 restart ecosystem.config.js",
"stop": "pm2 stop ecosystem.config.js",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"format": "prettier --write \"./**/*.{ts,tsx,js,jsx,json,css,scss,less}\""
},
"keywords": [
"next.js",
"react",
"redux",
"hooks",
"SSR"
],
"author": "shineshao <[email protected]>",
"license": "MIT",
"dependencies": {
"@koa/router": "^8.0.8",
"classnames": "^2.2.6",
"isomorphic-fetch": "^3.0.0",
"jsonwebtoken": "^8.5.1",
"koa": "^2.11.0",
"koa-bodyparser": "^4.3.0",
"next": "latest",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-redux": "^7.2.2",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"sass": "^1.27.0",
"typescript": "^4.0.5"
},
"devDependencies": {
"@ant-design/icons": "^4.2.2",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^13.11.0",
"@types/react": "^16.9.54",
"@types/react-dom": "^16.9.9",
"@types/react-redux": "^7.1.9",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"cross-env": "^7.0.2",
"eslint": "^7.12.0",
"eslint-config-prettier": "^6.14.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.4.2",
"nodemon": "^2.0.2",
"prettier": "^2.1.2",
"redux-devtools-extension": "^2.13.8"
},
"engines": {
"node": ">= 11"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.+(ts|tsx|js|jsx)": [
"prettier --write"
],
"*.+(json|css|scss|less|md)": [
"prettier --write"
]
}
}