-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpackage.json
56 lines (56 loc) · 1.82 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
{
"name": "youzanpayportal",
"version": "1.0.0",
"description": "",
"main": "index.js",
"repository": "[email protected]:thundernet8/YouzanPayPortal.git",
"author": "WuXueqian <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc",
"start":
"mkdirp logs && npm run build && cross-env NODE_ENV=production forever start dist/app.js",
"start:o": "cross-env NODE_ENV=production forever start dist/app.js",
"stop": "forever stop dist/app.js",
"start:dev": "mkdirp logs && cross-env NODE_ENV=development node dist/app.js",
"list": "forever list",
"lint": "npm run lint:ts",
"lint:ts": "tslint -e node_modules typings -c .tslintrc.json src/**/*.tsx",
"lint-staged": "lint-staged",
"lint-staged:ts": "tslint --fix -c .tslintrc.json",
"format": "prettier --write"
},
"lint-staged": {
"src/**/*.{ts,tsx}": ["format", "lint-staged:ts", "git add"]
},
"pre-commit": "lint-staged",
"devDependencies": {
"@types/koa": "^2.0.43",
"@types/node": "^9.4.0",
"cross-env": "^5.1.3",
"lint-staged": "^6.1.0",
"mkdirp": "^0.5.1",
"pre-commit": "^1.2.2",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"tslint": "^5.9.1",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.6.2"
},
"dependencies": {
"@koa/cors": "^2.2.1",
"axios": "^0.17.1",
"dotenv": "^5.0.0",
"koa": "^2.4.1",
"koa-bodyparser": "^4.2.0",
"koa-compress": "^2.0.0",
"koa-router": "^7.3.0",
"moment": "^2.20.1",
"sqlite3": "^3.1.13",
"winston": "^3.0.0-rc1",
"yz-open-sdk-nodejs": "^1.0.2"
},
"engines": {
"node": ">=8.0.0"
}
}