-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.2 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
{
"name": "odoas",
"version": "0.0.1",
"description": "A powerful Realtime Application Infrastructure",
"main": "dist/apps/server/index.js",
"author": "odo",
"license": "MIT",
"private": false,
"scripts": {
"postinstall": "yarn flow-typed",
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
"clean:dist": "rimraf dist",
"prepare:directories": "sh -c 'mkdir -p ./dist/apps'",
"build:test": "yarn build:prod",
"build:staging": "yarn build:prod",
"build:prod": "cross-env NODE_ENV=production npm-run-all -n -p clean:* -p prepare:* -p build:prod:*",
"build:prod:server": "babel -d ./dist/apps/server ./src/apps/server",
"start:test": "pm2 startOrRestart app.json --env test",
"start:staging": "pm2 startOrRestart app.json --env staging",
"start:prod": "pm2 startOrRestart app.json --env production",
"deploy:test": "npm-run-all -p deploy:test:*",
"deploy:test:apps": "pm2 deploy app.json test",
"deploy:staging": "npm-run-all -p deploy:staging:*",
"deploy:staging:apps": "pm2 deploy app.json staging",
"deploy:prod": "npm-run-all -p deploy:prod:*",
"deploy:prod:apps": "pm2 deploy app.json production",
"try": "babel-node ./test.js"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/node": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"@babel/preset-flow": "^7.0.0-beta.51",
"@babel/preset-stage-0": "^7.0.0-beta.51",
"babel-eslint": "^8.2.5",
"babel-plugin-dynamic-import-node": "^2.0.0",
"babel-plugin-lodash": "^3.3.4",
"cross-env": "^5.2.0",
"eslint": "^5.0.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-promise": "^3.8.0",
"flow-bin": "^0.75.0",
"flow-typed": "^2.4.0",
"npm-run-all": "^4.1.3",
"prettier-eslint": "^8.8.2",
"prettier-eslint-cli": "^4.7.1",
"rimraf": "^2.6.2"
},
"dependencies": {
"dayjs": "^1.6.10",
"fs-extra": "^6.0.1",
"ioredis": "^3.2.2",
"pm2": "^2.10.4",
"pmx": "^1.6.7",
"pubchan": "^1.8.0",
"shortid": "^2.2.8",
"uws": "^10.148.1"
}
}