-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
81 lines (81 loc) · 2.78 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
{
"name": "@limit0/mongoose-graphql-pagination",
"version": "1.1.4",
"description": "Provides GraphQL cursor pagination for Mongoose models",
"main": "src/index.js",
"repository": "https://github.com/limit-zero/mongoose-graphql-pagination",
"author": "Jacob Bare <[email protected]>",
"license": "MIT",
"scripts": {
"pretest": "yarn run posttest && $npm_package_docker_test_install",
"posttest": "$npm_package_docker_test_down && $npm_package_docker_test_prune",
"test": "$npm_package_docker_test_test",
"precoverage": "yarn run postcoverage && $npm_package_docker_test_install",
"coverage": "$npm_package_docker_test_coverage",
"postcoverage": "$npm_package_docker_test_down && $npm_package_docker_test_prune",
"prelint": "$npm_package_docker_test_install",
"lint": "$npm_package_docker_test_lint",
"postlint": "$npm_package_docker_test_down",
"test:run": "yarn run lint:run && ./node_modules/.bin/mocha --reporter spec",
"lint:run": "./node_modules/.bin/eslint \"src/**/*.js\"",
"coverage:run": "./node_modules/.bin/nyc yarn run test:run"
},
"docker": {
"test": {
"install": "docker-compose -p graphql-pagination -f test/docker-compose.yml run --no-deps --entrypoint yarn test",
"test": "docker-compose -p graphql-pagination -f test/docker-compose.yml run test",
"coverage": "docker-compose -p graphql-pagination -f test/docker-compose.yml run --entrypoint yarn test run coverage:run",
"lint": "docker-compose -p graphql-pagination -f test/docker-compose.yml run --entrypoint yarn test run lint:run",
"down": "docker-compose -p graphql-pagination -f test/docker-compose.yml down",
"prune": "docker volume prune --filter label=io.as3.appname=graphql-pagination --filter label=io.as3.env=test --filter label=io.as3.discard=true --force"
}
},
"dependencies": {
"deepmerge": "^2.1.0",
"escape-string-regexp": "^1.0.5",
"is-plain-object": "^2.0.4"
},
"optionalDependencies": {
"@limit0/graphql-custom-types": "^1.0.1",
"elasticsearch": "^15.0.0"
},
"peerDependencies": {
"mongoose": "^5.0.17"
},
"devDependencies": {
"bluebird": "^3.5.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"elasticsearch": "^15.0.0",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.11.0",
"graphql": "^0.13.2",
"mocha": "^5.1.1",
"mongoose": "^5.0.17",
"nyc": "^11.7.1",
"sinon": "^5.0.7"
},
"keywords": [
"graphql",
"mongoose",
"pagination",
"cursor",
"autocomplete",
"typeahead",
"mongodb",
"apollo"
],
"nyc": {
"check-coverage": false,
"per-file": true,
"reporter": [
"text"
],
"all": true,
"cache": false,
"include": [
"src/**/*.js"
]
}
}