-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.43 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
70
71
72
73
74
75
76
77
{
"name": "template-ts",
"version": "3.0.0",
"description": "TypeScript version of our Node.js template",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"test": "NODE_OPTIONS=--enable-source-maps mocha --exit --file dist/tests/index.test.js",
"test-w": "set NODE_OPTIONS=--enable-source-maps && set CI=true && mocha --exit dist/tests/index.test.js",
"lint": "eslint src/**/*.ts",
"watch": "tsc -w",
"dev": "NODE_OPTIONS=--enable-source-maps nodemon -L -w ./dist -w ./src -w docs/build/docs.yaml dist/index.js",
"dev-w": "set NODE_OPTIONS=--enable-source-maps && nodemon -L -w dist -w src dist/index.js",
"start": "node dist/index.js",
"coverage": "c8 --all --reporter=lcov npm run test",
"coverage-w": "tsc && nyc --reporter=lcov npm run test-w && codecov",
"migration-generate": "typeorm migration:generate -d './dist/datasource.js'",
"migration-create": "typeorm migration:create"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smoke-trees/node-template-ts.git"
},
"keywords": [
"nodejs",
"template",
"typescript"
],
"author": "SmokeTrees",
"license": "MIT",
"bugs": {
"url": "https://github.com/smoke-trees/node-template-ts/issues"
},
"homepage": "https://github.com/smoke-trees/node-template-ts#readme",
"eslintConfig": {
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
}
},
"dependencies": {
"@smoke-trees/postgres-backend": "^2.3.3",
"@smoke-trees/smoke-context": "^1.4.8",
"chai-http": "^4.4.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.1",
"morgan": "^1.10.0",
"pg": "^8.11.3",
"swagger-ui-express": "^5.0.0",
"typeorm": "0.3.20",
"winston": "^3.12.0",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.14",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.6",
"@types/morgan": "^1.9.9",
"@types/pg": "^8.11.4",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.6",
"@types/yamljs": "^0.2.34",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"c8": "^9.1.0",
"chai": "^4.4.1",
"eslint": "^8.57.0",
"mocha": "^10.3.0",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
}
}