-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.75 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": "node-ts-template",
"version": "1.0.0",
"description": "NodeJS template for building Rest APIs using Typescript, Express and Jest.",
"author": "Stephano Balbinot",
"license": "GPL-3.0-or-later",
"repository": "github:sbalbinot/node-ts-template",
"scripts": {
"start": "node dist/main/server.js",
"debug": "nodemon -L --watch ./dist --inspect=0.0.0.0:9222 --nolazy ./dist/main/server.js",
"build": "rimraf dist && tsc -p tsconfig-build.json",
"build:watch": "rimraf dist && tsc -p tsconfig-build.json -w",
"postbuild": "copyfiles -u 1 public/**/* dist/static",
"up": "npm run build && docker-compose up -d",
"down": "docker-compose down",
"check": "npm-check -s -u",
"test": "jest --passWithNoTests --runInBand --no-cache",
"test:unit": "npm test -- --watch -c jest-unit.config.js",
"test:integration": "npm test -- --watch -c jest-integration.config.js",
"test:staged": "npm test -- --findRelatedTests",
"test:ci": "npm test -- --coverage",
"prepare": "husky install"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/module-alias": "^2.0.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"copyfiles": "^2.4.1",
"dotenv": "^16.0.0",
"eslint": "^7.32.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"git-commit-msg-linter": "^4.1.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"nodemon": "^2.0.15",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
},
"dependencies": {
"module-alias": "^2.2.2"
},
"engines": {
"node": "16.x"
}
}