-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.41 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 2.41 KB
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
61
62
63
{
"name": "node-typescript-boilerplate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"types": "./types/global.d.ts",
"scripts": {
"start": "NODE_ENV=test nodemon index.js",
"build": "npm run lint && tsc -p . && cp .env ./build/.env && cp .env.local ./build/.env.local",
"build:test": "npm run lint && tsc -p . && cp .env ./build/.env && cp .env.test ./build/.env.test",
"build:prod": "npm run lint && tsc -p . && cp .env ./build/.env && cp .env.prod ./build/.env.prod",
"build:stag": "npm run lint && tsc -p . && cp .env ./build/.env && cp .env.stag ./build/.env.stag",
"start:local": "npm run lint && NODE_ENV=local nodemon index.js",
"start:test": "npm run lint && NODE_ENV=test node build/src/server.js",
"start:staging": "npm run lint && NODE_ENV=staging node build/src/server.js",
"start:production": "npm run lint && NODE_ENV=production node build/src/server.js",
"lint": "eslint src/**/*.ts",
"lint-fix": "eslint --fix src/**/*.ts",
"pretty": "prettier --write \"src/**/*.ts\"",
"prepare": "husky install",
"test:custom": "npm test -- tests/unit-tests/environments/environment.spec.ts",
"precommit": "npm run lint-fix && npm run pretty",
"prepush": "npm run lint ",
"test": "NODE_ENV=test jest --coverage",
"test:watch": "jest --watch"
},
"author": "Santosh Shinde",
"license": "Apache-2.0",
"dependencies": {
"@types/express": "^4.17.14",
"@types/node": "^18.11.0",
"@types/winston": "^2.4.4",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"helmet": "^6.0.0",
"http-status-codes": "^2.2.0",
"typescript": "^4.8.4",
"winston": "^3.8.2"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/jest": "^29.1.2",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^29.2.0",
"jest-sonar-reporter": "^2.0.0",
"nodemon": "^2.0.20",
"prettier": "^2.7.1",
"supertest": "^6.3.0",
"swagger-ui-express": "^4.5.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1"
}
}