-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
87 lines (87 loc) · 2.32 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
{
"name": "create-react-app-express-typescript",
"description": "A CRA app with Express dev server",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.8.2",
"react-dom": "^16.8.2"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.6",
"@types/node": "^11.9.4",
"@types/react": "^16.8.3",
"@types/react-dom": "^16.8.2",
"body-parser": "^1.18.3",
"commitizen": "^3.0.5",
"concurrently": "^4.0.1",
"cz-conventional-changelog": "^2.1.0",
"express": "^4.16.4",
"husky": "^1.3.1",
"npm-run-all": "^4.1.5",
"prettier": "1.16.4",
"lint-staged": "^8.1.4",
"react-scripts": "^2.1.5",
"semantic-release": "^15.13.3",
"ts-node-dev": "^1.0.0-pre.32",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^3.6.0",
"typescript": "^3.3.3",
"wait-on": "^3.2.0"
},
"scripts": {
"lint": "npm run lint:js && npm run lint:ts",
"lint:js": "eslint --ext .js,.jsx --cache '**/*.{jsx,js}' --fix",
"lint:ts": "tslint -c tslint.json -p tslint-tsconfig.json --fix",
"start:server": "cd server && ts-node-dev --respawn --transpileOnly ./server.ts && wait-on tcp:5000",
"start:app": "react-scripts start",
"start": "run-p --race start:server start:app",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"prettier": "prettier --write '**/*.{tsx,ts,jsx,js,json}'"
},
"proxy": "http://localhost:5000/",
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --color",
"git add"
],
"*.{ts,tsx}": [
"prettier --write",
"tslint -c tslint.json -p tslint-tsconfig.json",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}