forked from raczkerry/npm-workspace-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.57 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
{
"version": "1.0.0",
"name": "belette",
"private": true,
"workspaces": [
"./apps/*",
"./commons/*"
],
"scripts": {
"start:all": "concurrently -r \"npm run start:commons\" \"npm run start --prefix apps/server\" \"npm run start --prefix apps/frontend\"",
"start:back": "concurrently -r \"npm run start:commons\" \"npm run start --prefix apps/server\"",
"start:front": "npm run start --prefix apps/frontend",
"start:commons": "tsc --build tsconfig.build-commons.json --watch --preserveWatchOutput",
"build:back": "npm run clean && tsc --build tsconfig.build.json",
"build:front": "npm run build:commons && npm run build --prefix apps/manager-frontend",
"build:commons": "npm run clean && tsc --build tsconfig.build-commons.json",
"clean": "rimraf ./commons/*/build && rimraf ./commons/*/tsconfig.tsbuildinfo && rimraf ./apps/*/build && rimraf ./apps/*/tsconfig.tsbuildinfo",
"clean:modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"pre-commit": "lint-staged"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^16.9.1",
"@types/react-dom": "^17.0.9",
"@types/react": "^17.0.19",
"concurrently": "^6.3.0",
"husky": "^7.0.2",
"import-sort-style-kerry": "^0.0.3",
"lint-staged": "^11.1.2",
"nodemon": "^2.0.12",
"prettier-plugin-import-sort": "^0.0.7",
"prettier": "^2.4.0",
"rimraf": "^3.0.2",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.3"
},
"lint-staged": {
"*.{ts,js,json}": [
"prettier --write",
"git add"
]
}
}