forked from dec0dOS/zero-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.88 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
{
"name": "zero-ui",
"version": "1.0.10",
"private": "true",
"scripts": {
"postinstall": "husky install",
"installDeps": "yarn install && cd frontend && yarn install && cd ../backend && yarn install",
"upgradeDeps": "npx npm-check-updates --upgrade && yarn install && yarn upgrade && cd frontend && npx npm-check-updates --upgrade && yarn install && yarn upgrade && cd ../backend && npx npm-check-updates --upgrade && yarn install && yarn upgrade",
"cleanDeps": "cd frontend && rimraf node_modules && cd ../backend && rimraf node_modules && cd .. && rimraf node_modules",
"dev": "concurrently \"cd frontend && cross-env FAST_REFRESH=true yarn start\" \"cd backend && cross-env NODE_ENV=development ZU_DEFAULT_USERNAME=admin ZU_DEFAULT_PASSWORD=zero-ui nodemon ./bin/www --ignore data/db.json\"",
"build": "cd frontend && cross-env INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false yarn build",
"prod": "cd backend && cross-env NODE_ENV=production ZU_SECURE_HEADERS=false yarn start",
"release": "standard-version && git push --follow-tags origin main",
"commit": "yarn git-cz"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"commitizen": "^4.2.4",
"concurrently": "^6.1.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"nodemon": "^2.0.7",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"standard-version": "^9.3.0"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{tsx,ts,js,jsx,scss,css,js,json,md}": [
"yarn prettier --write"
]
}
}