-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.41 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
{
"name": "serviser-restfulness",
"version": "0.9.0",
"description": "Instant REST API - serviser plugin",
"main": "index.js",
"testFramework": "mocha",
"author": "fogine",
"contributors": [
"fogine"
],
"private": false,
"bin": {},
"engines": {
"node": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/lucid-services/serviser-restfulness"
},
"license": "GPL-3.0",
"files": [
"lib",
"LICENCE",
"README.md",
"CHANGELOG.md",
"index.js"
],
"scripts": {
"coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- --ui bdd -R spec -t 5000 'tests/src/**/*.js'",
"migrate": "sqitch deploy db:pg://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB && sqitch deploy db:mysql://$MYSQL_USER:$MYSQL_PASSWORD@mysql/$MYSQL_DATABASE",
"db:clean": "sqitch revert -y db:pg://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB && sqitch revert -y db:mysql://$MYSQL_USER:$MYSQL_PASSWORD@mysql/$MYSQL_DATABASE",
"test:docker": "cd ./test/src/integration ; docker-compose run --name serviser-restfulness-test --rm test ; exit_code=$? ; docker-compose down -v ; exit $exit_code",
"test:shell": "cd ./test/src/integration ; docker-compose run -v $(pwd)/../../../:/app -v /app/node_modules --name serviser-restfulness-test-shell --rm test bash ; docker-compose down -v",
"test": "mocha --ui bdd --exit --colors --check-leaks -t 5000 --reporter spec 'test/src/unit/index.js'",
"test:integration": "mocha --ui bdd --exit --colors --globals __core-js_shared__ --check-leaks -t 100000 --reporter spec 'test/src/integration/index.js'"
},
"dependencies": {
"ajv": "~6.9.1",
"ajv-keywords": "^3.4.0",
"lodash": "~4.17.4",
"qs": "~6.5.1"
},
"peerDependencies": {
"serviser": "^2.0.0"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"chai-date-string": "^0.1.0",
"istanbul": "^0.4.3",
"mocha": "^6.0.1",
"mysql": "^2.16.0",
"parse-link-header": "^1.0.1",
"pg": "^8.5.1",
"serviser": "^2.1.0",
"serviser-knex": "2.0.1",
"serviser-sdk": "^1.4.0",
"sinon": "^7.2.0",
"sinon-chai": "^2.8.0",
"supertest": "1.1.0",
"tmp": "0.0.29"
}
}