-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.3 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "@naturaily/node-api-template",
"version": "1.0.0",
"description": "",
"main": "build/index.js",
"scripts": {
"start": "node dist/server.js",
"start:dev": "nodemon --watch 'src/**/*.ts' --exec node --inspect=0.0.0.0:9229 -r ts-node/register src/",
"start:dev:docker": "docker-compose -f docker-compose.dev.yaml up --exit-code-from api-dev --remove-orphans",
"test": "npm run test:lint && npm run test:integration",
"test:integration": "jest --verbose --runInBand tests/integration/**/*.test.ts",
"test:lint": "eslint src --fix",
"build": "rm -rf build && tsc --project tsconfig.build.json",
"migrate": "NODE_ENV=development ts-node src/database/migrate.ts",
"migrate:docker": "docker-compose -f ./docker-compose.dev.yaml exec api-dev npm run migrate"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Naturaily/node-api-template.git"
},
"author": "Kacper Polak <[email protected]> (github.com/kacepe)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Naturaily/node-api-template/issues"
},
"homepage": "https://github.com/Naturaily/node-api-template#readme",
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"bail": true,
"globalSetup": "./tests/api-server/setup.ts",
"globalTeardown": "./tests/api-server/cleanUp.ts",
"setupFilesAfterEnv": [
"./tests/integration/smoke.ts"
]
},
"devDependencies": {
"@types/jest": "^26.0.12",
"@types/node": "^14.6.2",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"faker": "^5.1.0",
"jest": "^26.4.2",
"nodemon": "^2.0.4",
"prettier": "^2.1.1",
"supertest": "^4.0.2",
"ts-jest": "^26.3.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"dependencies": {
"ajv": "^6.12.4",
"fastify": "^3.3.0",
"fluent-schema": "^1.0.4",
"nconf": "^0.10.0",
"nconf-yaml": "^1.0.2",
"node-tcp-proxy": "0.0.18",
"pg": "^8.4.0",
"reflect-metadata": "^0.1.13",
"sequelize": "^5.21.8",
"sequelize-typescript": "^1.1.0",
"umzug": "^2.3.0"
}
}