-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.09 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
{
"name": "astral",
"version": "7.11.6",
"description": "The realm of EC2 Auto-scaling and Provisioning",
"main": "index.js",
"scripts": {
"lint": "standard --verbose",
"test": "npm run lint && ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -v -c -a code test",
"init-db": "createuser -s -d astral; createdb astral; createdb astral-test",
"drop-db": "dropdb astral && dropdb astral-test",
"migrate": "npm run migrate-dev && npm run migrate-test",
"rollback": "npm run rollback-dev && npm run rollback-test",
"migrate-dev": "knex migrate:latest",
"rollback-dev": "knex migrate:rollback",
"migrate-test": "NODE_ENV=test knex migrate:latest",
"rollback-test": "NODE_ENV=test knex migrate:rollback",
"queues": "while true; do OP=$(rabbitmqctl list_queues); OP=$(node -e \"var l = process.argv[1].split('\\n'); l.shift(); console.log(l.map(function(s) { var m=s.split(/\\s+/); return m[1] + ' ' + m[0]; }).join('\\n'));\" \"$OP\"); clear; echo \"$OP\"; sleep 0.5; done;",
"common-test": "ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -v -c -a code test/common",
"common-unit": "ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -v -c -a code test/common/unit",
"common-functional": "ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -v -c -a code test/common/functional",
"shiva-start": "node lib/shiva/index.js",
"shiva-eslint": "eslint lib/shiva/",
"shiva-test": "npm run shiva-eslint && ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -m 1000 -v -c -a code test/shiva/unit",
"shiva-unit": "ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -v -c -a code test/shiva/unit",
"shiva-integration": "ASTRAL_ROOT=\"$(pwd)/lib/\" LOG_LEVEL=trace NODE_ENV=test lab -a code -v -m 300000 integration/shiva/tasks integration/shiva/models",
"shiva-integration-models": "ASTRAL_ROOT=\"$(pwd)/lib/\" NODE_ENV=test lab -a code -v -m 300000 integration/shiva/models",
"shiva-integration-tasks": "ASTRAL_ROOT=\"$(pwd)/lib/\" LOG_LEVEL=trace NODE_ENV=test lab -a code -v -m 300000 integration/shiva/tasks | bunyan"
},
"repository": {
"type": "git",
"url": "https://github.com/CodeNow/astral.git"
},
"author": "Ryan Sandor Richards <[email protected]> (http://www.runnable.com)",
"bugs": {
"url": "https://github.com/CodeNow/astral/issues"
},
"homepage": "https://github.com/CodeNow/astral",
"standard": {
"globals": [
"describe",
"it",
"before",
"after",
"beforeEach",
"afterEach"
]
},
"devDependencies": {
"code": "^1.4.1",
"eslint": "^4.1.1",
"github-webhook-fixtures": "^1.0.1",
"lab": "^6.2.0",
"sinon": "^1.15.4",
"sinon-as-promised": "^4.0.0",
"standard": "^7.1.0"
},
"dependencies": {
"101": "^1.0.0",
"aws-sdk": "^2.1.43",
"bluebird": "^3.0.6",
"bunyan": "^1.4.0",
"debug": "^2.2.0",
"error-cat": "^3.0.0",
"github-api": "0.10.6",
"ip": "^1.1.0",
"joi": "^9.1.1",
"keypather": "^1.10.1",
"knex": "^0.8.6",
"loadenv": "^2.1.0",
"moment": "^2.17.1",
"pg": "^4.4.0",
"ponos": "^5.7.1",
"redis": "2.6.0-2",
"trim": "0.0.1"
}
}