forked from trustworktech/create-react-ssr-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.07 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "cd packages/react-ssr-scripts && node bin/react-ssr-scripts.js build",
"changelog": "lerna-changelog",
"compile:lockfile": "node tasks/compile-lockfile.js",
"create-react-ssr-app": "node tasks/crsa.js",
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
"publish": "tasks/publish.sh",
"reset": "sh tasks/reset-dev-env.sh",
"start": "cd packages/react-ssr-scripts && node bin/react-ssr-scripts.js start",
"test": "cd packages/react-ssr-scripts && node bin/react-ssr-scripts.js test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md,css,html}": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
},
"devDependencies": {
"eslint": "6.1.0",
"fs-extra": "^7.0.1",
"husky": "^1.3.1",
"lerna": "3.16.4",
"lerna-changelog": "^0.8.2",
"lint-staged": "^8.0.4",
"prettier": "1.18.2"
}
}