-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 5.25 KB
/
package.json
File metadata and controls
157 lines (157 loc) · 5.25 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "my-blog-server",
"version": "0.0.2",
"description": "my blog server system",
"keywords": [],
"main": "dist/myBlogServer.umd.js",
"module": "dist/myBlogServer.es5.js",
"typings": "dist/types/myBlogServer.d.ts",
"files": [
"dist",
"src/types"
],
"author": "hblvsjtu <hblvsjtu@163.com>",
"repository": {
"type": "git",
"url": "https://github.com/hblvsjtu/MyBlogServer.git"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"build": "cross-env NODE_ENV=production && tsc --module umd && rollup -c rollup.config.ts && typedoc --out docs --target es5 --theme minimal --mode file src",
"server": "cross-env NODE_ENV=production && && node ./dist/myBlogServer.es5.js",
"start": "nodemon ./dist/myBlogServer.es5.js",
"redis": "redis-server",
"pretty": "pretty-quick",
"genlog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md docs && git commit --amend --no-edit",
"precommit": "lint-staged",
"online": "pm2 restart ecosystem.config.js",
"commit": "git-cz",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"travis-deploy-once": "travis-deploy-once"
},
"dependencies": {
"@types/lodash": "^4.14.155",
"@types/mysql": "^2.15.14",
"lodash": "^4.17.15",
"mysql": "^2.18.1",
"pm2": "^4.4.0",
"redis": "^3.0.2",
"tspexpress": "0.0.10"
},
"devDependencies": {
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@types/jest": "^23.3.2",
"@types/node": "^10.11.0",
"body-parse": "^0.1.0",
"colors": "^1.3.2",
"commitizen": "^3.0.0",
"conventional-changelog-cli": "^2.0.34",
"coveralls": "^3.1.0",
"cross-env": "^5.2.1",
"cz-conventional-changelog": "^2.1.0",
"express": "^4.17.1",
"husky": "^1.0.1",
"jest": "^23.6.0",
"jest-config": "^23.6.0",
"lint-staged": "^8.2.1",
"lodash.camelcase": "^4.3.0",
"nodemon": "^2.0.4",
"prettier": "^1.14.3",
"pretty-quick": "^2.0.1",
"prompt": "^1.0.0",
"replace-in-file": "^3.4.2",
"rimraf": "^2.7.1",
"rollup": "^0.67.0",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.18.0",
"semantic-release": "^15.9.16",
"shelljs": "^0.8.4",
"travis-deploy-once": "^5.0.11",
"ts-jest": "^23.10.2",
"ts-loader": "^7.0.5",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"tslint-loader": "^3.5.4",
"typedoc": "^0.12.0",
"typescript": "^3.0.3"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"maxHeaderWidth": 100,
"maxLineWidth": 100,
"defaultType": "",
"defaultScope": "",
"defaultSubject": "",
"defaultBody": "",
"defaultIssues": "",
"types": {
"feat": {
"description": "A new feature",
"title": "Features"
},
"fix": {
"description": "A new fix",
"title": "Features"
},
"docs": {
"description": "A new docs",
"title": "Features"
},
"style": {
"description": "A new style",
"title": "Features"
},
"refactor": {
"description": "A new refactor",
"title": "refactor"
},
"test": {
"description": "A new test",
"title": "test"
},
"revert": {
"description": "A new revert",
"title": "revert"
},
"config": {
"description": "A new config",
"title": "config"
},
"chore": {
"description": "A new chore",
"title": "chore"
}
}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && pretty-quick --staged",
"pre-push": "jest"
}
}
}