-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
50 lines (50 loc) · 1.73 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
{
"name": "@opengovsg/ts-template",
"version": "1.0.0",
"description": "A template for most TypeScript projects in OGP",
"author": "Open Government Products, GovTech Singapore (https://open.gov.sg)",
"license": "MIT",
"scripts": {
"all": "concurrently -c green,blue,yellow",
"on-backend": "npm --prefix backend run",
"on-frontend": "npm --prefix frontend run",
"on-shared": "npm --prefix shared run",
"postinstall": "npm --prefix backend install && npm --prefix frontend install && npm --prefix shared install",
"dev": "npm run all \"docker-compose up\" \"./wait-for-it.sh localhost:5432 -t 0 -- npm run dev:app\"",
"dev:docker": "docker-compose up --build",
"dev:app": "npm run all -- --kill-others \"npm:on-* dev\"",
"lint": "npm run all \"npm:on-* lint\"",
"lint:fix": "npm run all \"npm:on-* lint:fix\"",
"test": "npm run all \"npm:on-* test\"",
"build": "npm run on-shared build && npm run all \"npm:on-*end build\"",
"coverage": "npm run on-backend -- test:cov && cat backend/coverage/lcov.info > lcov.info",
"cz": "git-cz",
"start": "npm --prefix backend start",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"commitizen": "^4.3.1",
"concurrently": "^8.2.2",
"cz-conventional-changelog": "^3.3.0",
"env-cmd": "^10.1.0",
"eslint": "^8.57.1",
"eslint-config-opengovsg": "^2.0.6",
"husky": "^9.1.7"
},
"lint-staged": {
"**/*.(js|jsx|ts|tsx)": [
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1"
}
}