-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.7 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
78
79
80
81
82
83
84
{
"name": "nodejs-express-typescript-typeorm-template",
"version": "1.0.0",
"description": "NodeJS Express TypeScript and Typeorm",
"main": "src/index.ts",
"scripts": {
"tsc": "tsc",
"start:dev": "nodemon",
"start": "npm run build && node build/index.js",
"build": "rimraf ./build && tsc",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"test": "cross-env ENV=test nyc -r text-summary mocha -r ts-node/register -r dotenv/config 'test/**/*.spec.ts' --exit",
"coverage": "nyc -r text -r text-summary -r html npm run test",
"db:sync": "npx typeorm schema:sync",
"db:drop": "npx typeorm schema:drop",
"migrations:run": "npx typeorm migration:run",
"migrations:revert": "npx typeorm migration:revert"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vaughan189/nodejs-express-typescript-typeorm-template.git"
},
"author": "Vaughan Po <vaughan188@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/vaughan189/nodejs-express-typescript-typeorm-template/issues"
},
"homepage": "https://github.com/vaughan189/nodejs-express-typescript-typeorm-template#readme",
"dependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.7",
"@types/express": "^4.17.7",
"@types/helmet": "0.0.47",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14.0.27",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"class-validator": "^0.12.2",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"helmet": "^4.0.0",
"jsonwebtoken": "^8.5.1",
"pg": "^8.3.0",
"typeorm": "^0.2.25",
"winston": "^3.3.3"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.12",
"@types/mocha": "^8.0.3",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-no-loops": "^0.3.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-shopify": "^35.1.0",
"husky": "^4.2.5",
"mocha": "^8.1.3",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.19",
"ts-node": "^8.10.2",
"ts-node-dev": "^1.0.0-pre.56",
"typescript": "^3.9.7"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier-format && npm run lint",
"pre-push": "",
"...": "..."
}
}
}