-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
70 lines (70 loc) · 2.09 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
{
"name": "node-kit",
"version": "1.0.0",
"description": "🐢🚀 A Node.js Kit with TypeScript, REST, TypeORM, PostgreSQL and awesome tools.",
"main": "src/index.ts",
"repository": "[email protected]:cuongw/node-kit.git",
"author": "Nguyen Duy Cuong <[email protected]>",
"license": "MIT",
"scripts": {
"start:dev": "NODE_ENV=development nodemon --ignore build/ --exec ts-node src/index.ts",
"build": "rm -rf build && tsc",
"start": "node ./build/index.js",
"migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run",
"migration:revert": "ts-node ./node_modules/typeorm/cli.js migration:revert",
"migration:auto": "ts-node ./node_modules/typeorm/cli.js migration:create -n ",
"lint": "eslint --ext ts src",
"lint:fix": "eslint --fix --ext ts src"
},
"lint-staged": {
"*.ts": [
"npm run lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"axios": "^0.19.2",
"body-parser": "^1.19.0",
"celebrate": "^11.0.1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"giin": "^0.1.2",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"morgan": "^1.9.1",
"nsdk": "^0.2.0",
"pg": "^7.17.1",
"reflect-metadata": "^0.1.13",
"thinid": "^0.5.5",
"typeorm": "^0.2.22",
"yarn": "^1.22.4"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.1",
"@types/hapi__joi": "^16.0.7",
"@types/jsonwebtoken": "^8.3.7",
"@types/morgan": "^1.7.37",
"@types/node": "^12.12.7",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-promise": "^4.2.1",
"husky": "^4.2.1",
"lint-staged": "^10.0.2",
"nodemon": "^1.19.4",
"ts-node": "^8.5.0",
"typescript": "^3.7.2"
}
}