-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
138 lines (138 loc) · 3.86 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
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
{
"name": "macaca-datahub",
"version": "4.2.2",
"description": "Continuous data provider for development, testing, staging and production.",
"bin": {
"datahub": "./bin/datahub.js",
"macaca-datahub": "./bin/datahub.js",
"macaca-datahub-server": "./bin/datahub-server.js"
},
"files": [
"app/**/*.js",
"bin/**/*.js",
"config/**/*.js",
"database/**/*.js",
"lib/**/*.js",
"view/*.html",
"view/lib/**/*.js",
"view/dist/**/*.js",
"view/dist/**/*.css",
"view/dist/**/*.ttf",
"agent.js",
"app.js",
"index.js",
"macaca-datahub.config.js",
".sequelizerc"
],
"scripts": {
"start": "npm run db:migrate && eggctl start --port=9200 --title=egg-server-datahub --workers=1",
"stop": "eggctl stop --title=egg-server-datahub",
"start:use-config": "./bin/datahub.js server -c ./macaca-datahub.config.js --verbose",
"dev:server": "npm run db:migrate && cross-env ENABLE_JAVASCRIPT=Y ENABLE_REQUEST_PROXY=Y egg-bin dev",
"dev:view": "cd view && npm run dev",
"dev": "concurrently \"npm run dev:view\" \"npm run dev:server\"",
"prepublishOnly": "cd view && npm run build",
"debug": "egg-bin debug",
"test": "npm run lint && npm run db:migrate && npm run test-local",
"test-local": "egg-bin test",
"cov": "npm run db:migrate && egg-bin cov",
"translate": "easy-i18n-cli -c ./i18n.config.js",
"lint:server": "eslint . --fix",
"lint:web": "cd view && npm run lint",
"lint": "npm run lint:server && npm run lint:web",
"autod": "autod",
"contributor": "git-contributor",
"build:docker": "docker build --pull -t=macacajs/macaca-datahub .",
"db:migrate": "sequelize db:migrate",
"db:migrate:undo": "sequelize db:migrate:undo",
"migration:create": "sequelize migration:create --name",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
},
"main": "./index.js",
"dependencies": {
"ajv": "^6.4.0",
"commander": "^2.12.2",
"cookie": "^0.3.1",
"egg": "2",
"egg-i18n": "^2.0.0",
"egg-scripts": "^2.4.0",
"egg-sequelize": "^4.1.0",
"execa": "^0.10.0",
"faker": "^5.1.0",
"filesize": "^4.2.0",
"get-stream": "^4.1.0",
"koa-compose": "^4.0.0",
"lodash": "^4.17.21",
"macaca-circular-json": "^0.5.10",
"macaca-logo": "1",
"mockjs": "^1.1.0",
"mz": "^2.7.0",
"npm-update": "^2.0.0",
"path-to-regexp": "^2.2.1",
"request": "^2.85.0",
"rimraf": "^2.6.2",
"semver": "^5.5.0",
"sequelize-cli": "^5.4.0",
"socket.io": "^2.0.4",
"sqlite3": "^5.1.4",
"stream-wormhole": "^1.1.0",
"uuid": "^3.3.2",
"xutil": "^1.0.11",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"autod": "^3.0.1",
"autod-egg": "^1.0.0",
"concurrently": "4.0.1",
"cross-env": "^7.0.3",
"deep-diff": "^0.3.8",
"easy-i18n-cli": "1",
"egg-bin": "^4.3.6",
"egg-mock": "^3.13.1",
"eslint": "7",
"eslint-config-egg": "^7.1.0",
"eslint-config-prettier": "^4.1.0",
"git-contributor": "1",
"husky": "^7.0.4",
"lint-staged": "^12.0.2",
"macaca-ecosystem": "*",
"prettier": "^2.0.5",
"vuepress": "^1.5.2",
"webstorm-disable-index": "^1.2.0"
},
"engines": {
"node": ">=8.9.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.less": [
"prettier --write"
],
"*.js?(x)": [
"prettier --write",
"eslint --fix"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"repository": {
"type": "git",
"url": "git://github.com/macacajs/macaca-datahub.git"
},
"homepage": "https://macacajs.github.io/macaca-datahub",
"license": "MIT"
}