-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
57 lines (57 loc) · 2.04 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
{
"name": "event-analytics-server-open",
"version": "1.0.0",
"description": "自定义时间统计服务",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=dev ./node_modules/.bin/nodemon bin/www",
"prd-dev": "cross-env NODE_ENV=prd_dev pm2 start bin/pm2-prd-dev.config.js",
"prd": "cross-env NODE_ENV=production NODE_LOG_DIR=/tmp/event-server ENABLE_NODE_LOG=YES pm2 start bin/pm2-prd.config.js",
"test:local": "cross-env NODE_ENV=test_local jest --runInBand --passWithNoTests --colors --forceExit",
"test:remote": "cross-env NODE_ENV=test_remote jest --runInBand --passWithNoTests --colors --forceExit",
"lint": "eslint \"src/**/*.{js,ts}\"",
"lint-fix": "eslint --fix \"src/**/*.{js,ts}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/imooc-lego/event-analytics-server.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/imooc-lego/event-analytics-server/issues"
},
"homepage": "https://github.com/imooc-lego/event-analytics-server#readme",
"devDependencies": {
"eslint": "^7.8.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.3.0",
"nodemon": "^1.8.1",
"prettier": "^2.1.1"
},
"dependencies": {
"cron": "^1.8.2",
"cross-env": "^7.0.2",
"date-fns": "^2.16.1",
"debug": "^2.6.3",
"fs-extra": "^9.0.1",
"koa": "^2.2.0",
"koa-bodyparser": "^3.2.0",
"koa-convert": "^1.2.0",
"koa-helmet": "^6.0.0",
"koa-json": "^2.0.2",
"koa-logger": "^2.0.1",
"koa-onerror": "^1.2.1",
"koa-router": "^7.1.1",
"koa2-cors": "^2.0.6",
"lodash": "^4.17.20",
"mongoose": "^5.10.4",
"pm2": "^4.4.1"
}
}