-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.31 KB
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
{
"name": "learn-node",
"version": "1.0.0",
"description": "从零开始系统学习node",
"main": "index.js",
"scripts": {
"issue": "node tools/issue-readme",
"log": "conventional-changelog --config ./node_modules/vue-cli-plugin-commitlint/lib/log -i CHANGELOG.md -s -r 0",
"docs": "node tools/create-readme",
"cz": "npm run build && git add . && git cz && git push",
"fix": "webpack-box eslint",
"build": "npm run docs && npm run issue && npm run log",
"start": "nodemon --ext js,ts --exec ts-node app/index.ts",
"demo-koa": "nodemon --ext js,ts --exec ts-node demo/koa/run.ts",
"demo-koa-router": "nodemon --ext js,ts --exec ts-node demo/koa-router/run.ts",
"debug": "nodemon --ext js,ts --exec node -r ts-node/register --inspect app/run.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/luoxue-victor/learn-node.git"
},
"config": {
"commitizen": {
"path": "./node_modules/vue-cli-plugin-commitlint/lib/cz"
}
},
"author": "",
"bugs": {
"url": "https://github.com/luoxue-victor/learn-node/issues"
},
"homepage": "https://github.com/luoxue-victor/learn-node#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"license": "ISC",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"webpack-box eslint",
"git add"
]
},
"devDependencies": {
"@commitlint/config-conventional": "^8.2.0",
"@pkb/cli": "^1.2.10",
"@pkb/plugin-eslint": "^1.2.10",
"@pkb/webpack-box": "^1.2.13",
"@types/koa": "^2.11.3",
"@types/koa-router": "^7.4.0",
"@types/node": "^13.13.2",
"@typescript-eslint/parser": "^2.29.0",
"commitizen": "^4.0.3",
"commitlint": "^8.2.0",
"compatible-require": "^1.0.3",
"conventional-changelog-cli": "^2.0.28",
"husky": "^3.1.0",
"koa": "^2.11.0",
"koa-jwt": "^3.6.0",
"koa-router": "^8.0.8",
"lint-staged": "^9.5.0",
"nodemon": "^2.0.3",
"request": "^2.88.2",
"ts-node": "^8.9.0",
"vue-cli-plugin-commitlint": "^1.0.10"
},
"dependencies": {
"extend2": "^1.0.0",
"http-errors": "^1.7.3",
"is-type-of": "^1.2.1",
"methods": "^1.1.2",
"path-to-regexp": "^6.1.0",
"ts-events": "^3.4.0",
"urijs": "^1.19.2",
"winston": "^3.2.1"
}
}