generated from opengovsg/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.66 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
{
"name": "@opengovsg/ts-template",
"version": "1.0.0",
"description": "A template for most TypeScript projects in OGP",
"main": "build/backend/index.js",
"proxy": "http://127.0.0.1:8080/",
"scripts": {
"on-backend": "npm run --prefix backend",
"on-frontend": "npm run --prefix frontend",
"postinstall": "npm --prefix backend install && npm --prefix frontend install",
"dev-docker": "docker-compose up --build",
"dev": "env-cmd concurrently \"npm run on-backend -- start:dev\" \"npm run on-frontend -- start\"",
"lint": "npm run on-backend -- lint && npm run on-frontend -- lint",
"lint:fix": "npm run on-backend -- lint:fix && npm run on-frontend -- lint:fix",
"test": "npm run on-backend -- test && npm run on-frontend -- test",
"build": "npm run on-backend -- build && npm run on-frontend -- build",
"coverage": "npm run on-backend -- test:cov && cat backend/coverage/lcov.info > lcov.info",
"cz": "git-cz",
"start": "node backend/build/index.js",
"prepare": "husky install"
},
"author": "Open Government Products, GovTech Singapore (https://open.gov.sg)",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@commitlint/travis-cli": "^13.2.1",
"commitizen": "^4.2.4",
"concurrently": "^6.3.0",
"cz-conventional-changelog": "^3.3.0",
"env-cmd": "^10.1.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.4"
},
"lint-staged": {
"**/*.(js|jsx|ts|tsx)": [
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {}
}