forked from vegarringdal/react_vitejs_with_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.42 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
{
"name": "workspace-template",
"version": "1.0.0",
"description": "Template for react typescript with nodejs backend and vitjs for frontend",
"scripts": {
"start": "run-p -s -l start:*",
"start:backend": "npm run start -w backend",
"start:frontend": "npm run start -w frontend",
"start:typechecker": "npm run typecheck:watch",
"build": "run-s -s -n build:*",
"build:backend": "npm run build -w backend",
"build:frontend": "npm run build -w frontend",
"serve": "node ./backend/dist/index",
"eslint": "run-s -s -n eslint:nofix:*",
"eslint:nofix:backend": "npm run eslint -w backend",
"eslint:nofix:frontend": "npm run eslint -w frontend",
"eslint:nofix:common": "npm run eslint -w common",
"eslint:fix": "run-s -s -n eslint:fix:*",
"eslint:fix:backend": "npm run eslint:fix -w backend",
"eslint:fix:frontend": "npm run eslint:fix -w frontend",
"eslint:fix:common": "npm run eslint:fix -w common",
"test": "run-s -s -n test:*",
"test:backend": "npm run test -w backend",
"test:frontend": "npm run test -w frontend",
"test:common": "npm run test -w common",
"prettier": "run-s -s -n prettier:*",
"prettier:json": "prettier --write \"./**/*.json\"",
"prettier:ts": "prettier --write \"./**/*.ts\"",
"prettier:js": "prettier --write \"./**/*.js\"",
"prettier:tsx": "prettier --write \"./**/*.tsx\"",
"typecheck": "ts-node ./typecheck.ts",
"typecheck:watch": "ts-node ./typecheck_watch.ts",
"release": "standard-version --release-as minor",
"release:test": "standard-version --dry-run",
"release:major": "standard-version --release-as major",
"prepare": "husky install",
"ci": "run-s -s -n ci:*",
"ci:test": "npm run test",
"ci:eslint": "npm run eslint",
"ci:typecheck": "npm run typecheck"
},
"keywords": [],
"author": "[email protected]",
"license": "MIT",
"workspaces": [
"backend",
"common",
"frontend"
],
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"husky": "^7.0.4",
"lint-staged": "^12.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"standard-version": "^9.3.2",
"ts-node": "^10.7.0"
}
}