-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 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
47
48
49
50
51
52
{
"name": "projectsjobs",
"version": "1.0.0",
"description": "Simple rest API to handle projects and jobs on mysql db",
"main": "index.js",
"scripts": {
"build": "del-cli dist && ttsc",
"start-local": "npm run build && node dist/src/index.js",
"start-docker": "npm run build && docker-compose up -d",
"start-test-env": "docker compose -f 'test/scripts/docker-compose.yaml' up -d",
"stop-test-env": "docker compose -f 'test/scripts/docker-compose.yaml' down",
"restart-test-env": "npm run stop-test-env && npm run start-test-env",
"test-entities": "jest ./test/entities --forceExit --detectOpenHandles --maxWorkers=10",
"test-endpoints": "jest ./test/routes --forceExit --detectOpenHandles --maxWorkers=10",
"test": "jest ./test --forceExit --detectOpenHandles --runInBand"
},
"pre-commit": [
"test-entities",
"test-endpoints"
],
"repository": {
"type": "git",
"url": "git+https://github.com/f4b1ux/projectsjobs.git"
},
"author": "Fabio Fioramonti",
"license": "ISC",
"bugs": {
"url": "https://github.com/f4b1ux/projectsjobs/issues"
},
"homepage": "https://github.com/f4b1ux/projectsjobs#readme",
"devDependencies": {
"@types/jest": "^27.4.1",
"del-cli": "^4.0.1",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"pre-commit": "^1.2.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"typescript": "^4.6.3",
"typescript-transform-paths": "^3.3.1"
},
"dependencies": {
"body-parser": "^1.20.0",
"express": "^4.17.3",
"logform": "^2.4.0",
"moment": "^2.29.2",
"mysql2": "^2.3.3",
"winston": "^3.7.2"
}
}