-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.48 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
85
{
"name": "blog-server",
"version": "1.0.0",
"description": "this is a personal blog api server written by node and typescript",
"main": "dist/server.js",
"keywords": [
"typescript",
"node",
"koa"
],
"author": "cixiu",
"license": "GPL-3.0",
"scripts": {
"start": "npm run serve",
"build": "npm run build-ts && npm run tslint",
"serve": "node dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"watch-node": "nodemon dist/server.js",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"watch-test": "cross-env NODE_ENV=test npm run test -- --watchAll",
"test": "jest --runInBand --forceExit --coverage --verbose",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"connect-mongodb-local": "mongod --dbpath=./db --port 43996",
"connect-mongodb-test": "mongod --dbpath=./db-test --port 43997",
"commit": "git-cz",
"changelog": "standard-version"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@types/supertest": "^2.0.5",
"axios": "^0.18.0",
"bluebird": "^3.5.1",
"dotenv": "^6.0.0",
"koa": "^2.5.2",
"koa-body": "^4.0.4",
"koa-compress": "^3.0.0",
"koa-router": "^7.4.0",
"koa-session": "^5.8.2",
"md5": "^2.2.1",
"mongoose": "^5.2.7",
"qiniu": "^7.2.1",
"winston": "^3.0.0"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"@types/bluebird": "^3.5.23",
"@types/dateformat": "^1.0.1",
"@types/dotenv": "^4.0.3",
"@types/jest": "^23.3.1",
"@types/koa": "^2.0.46",
"@types/koa-compress": "^2.0.8",
"@types/koa-router": "^7.0.31",
"@types/koa-session": "^5.7.4",
"@types/md5": "^2.1.32",
"@types/mongoose": "^5.2.5",
"@types/shelljs": "^0.8.0",
"@types/winston": "^2.3.9",
"commitizen": "^2.10.1",
"concurrently": "^3.6.1",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.0.0-rc.13",
"jest": "^23.5.0",
"nodemon": "^1.18.3",
"shelljs": "^0.8.2",
"standard-version": "^4.4.0",
"supertest": "^3.1.0",
"ts-jest": "^23.1.3",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
}
}