-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
39 lines (39 loc) · 1.28 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
{
"name": "node_api",
"description": "nodejs api with express",
"author": "Nicácio O.",
"license": "MIT",
"repository": {
"url": "https://github.com/nicacioliveira/gactions-cicd-boilerplate",
"directory": "node_api"
},
"scripts": {
"dev": "ts-node-dev src/index.ts",
"build": "rm -rf dist/ && tsc",
"start": "node dist/src/index.js",
"test:functional": "export NODE_ENV=test && jest --config=src/__tests__/functional/jest.config.js --runInBand --detectOpenHandles --forceExit",
"test:unit": "export NODE_ENV=test && jest --config=src/__tests__/unit/jest.config.js --detectOpenHandles --forceExit",
"test:unit:coverage": "export NODE_ENV=test && jest --config=src/__tests__/unit/jest.config.js --coverage",
"test": "yarn run test:unit && yarn run test:functional"
},
"dependencies": {
"dotenv": "^10.0.0",
"express": "^4.17.1",
"jest": "^27.2.5",
"pg": "^8.7.1",
"typeorm": "^0.2.37",
"typescript": "^4.4.3"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@types/supertest": "^2.0.11",
"supertest": "^6.1.6",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.11.0"
},
"version": "1.0.5"
}