-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
20 lines (20 loc) · 849 Bytes
/
Copy pathpackage.json
File metadata and controls
20 lines (20 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "starter-kit",
"dependencies": {},
"devDependencies": {
"babel-core": "^6.24.0",
"babel-preset-latest": "^6.24.1",
"dotenv": "4.0.0",
"mocha": "^3.2.0",
"should": "^11.2.0",
"supertest": "^3.0.0"
},
"scripts": {
"test_graphql": "mocha --compilers js:babel-core/register ./tests/graphql/",
"test_rest": "mocha --compilers js:babel-core/register ./tests/rest/",
"test_db": "( set -a && . ./.env && set +a && docker run -i -t --rm --name pgtap --net ${COMPOSE_PROJECT_NAME}_default --link ${COMPOSE_PROJECT_NAME}_db_1:db -v $(pwd)/tests/db/:/test -e HOST=$DB_HOST -e DATABASE=$DB_NAME -e USER=$SUPER_USER -e PASSWORD=$SUPER_USER_PASSWORD lren/pgtap )",
"test": "npm run test_db && npm run test_rest && npm run test_graphql"
},
"author": "ruslan.talpa@subzero.cloud",
"license": "ISC"
}