forked from join-monster/join-monster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.18 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@sentio/join-monster",
"version": "3.3.4",
"description": "A GraphQL to SQL query execution layer for batch data fetching.",
"main": "dist/index.js",
"engines": {
"node": ">=14.0.0"
},
"files": [
"dist/"
],
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && babel src --no-comments --out-dir dist --copy-files --ignore README.md",
"watch": "rm -rf dist && babel src --watch --source-maps true --out-dir dist",
"test": "bin/test --no-oracle",
"testsqlite3": "NODE_ENV=test ava test/*.js",
"testpg": "NODE_ENV=test DB=PG ava test/*.js",
"testpg-paging": "NODE_ENV=test DB=PG PAGINATE=keyset ava test/pagination/keyset-paging.js && NODE_ENV=test DB=PG PAGINATE=offset ava test/pagination/offset-paging.js",
"testoracle": "NODE_ENV=test DB=ORACLE ava test/*.js",
"testoracle-paging": "NODE_ENV=test DB=ORACLE PAGINATE=offset ava test/pagination/offset-paging.js && NODE_ENV=test DB=ORACLE PAGINATE=keyset ava test/pagination/keyset-paging.js",
"testmysql": "NODE_ENV=test DB=MYSQL ava test/*.js",
"testmysql-paging": "NODE_ENV=test DB=MYSQL PAGINATE=offset ava test/pagination/offset-paging.js && NODE_ENV=test DB=MYSQL PAGINATE=keyset ava test/pagination/keyset-paging.js",
"testtsd": "npm run build && tsd",
"coverage": "nyc --reporter=html npm run test",
"view-coverage": "open coverage/index.html",
"lint": "eslint src test",
"prettier": "prettier --write \"src/**/*.js\" \"test/**/*.js\" \"test-api/**/*.js\"",
"start": "babel-watch ./test-api/server.js",
"docs": "mkdocs serve",
"jsdoc": "babel src/index.js -o temp.js && (jsdoc2md temp.js | sed '/\\*\\*Kind\\*\\*:/d' > docs/API.md) && rm temp.js",
"prepublishOnly": "npm run build",
"preversion": ". ./scripts/checkgit.sh && npm test",
"release": "npm version patch",
"postversion": "git push && git push --tags",
"db-build": "TZ=UTC babel-node test-api/data/build.js",
"db-shell": "sqlite3 --column --header test-api/data/db/demo-data.sl3",
"db-up": "docker-compose -f ./docker/docker-compose.yml up -d",
"db-down": "docker-compose -f ./docker/docker-compose.yml down --remove-orphans -v",
"db-wait": "while ! echo exit | docker inspect --format \"{{json .State.Health.Status }}\" docker_mysql_1 | grep 'healthy'; do sleep 1; done"
},
"ava": {
"verbose": true,
"failFast": true,
"require": [
"@babel/register"
],
"timeout": "20s"
},
"nyc": {
"include": [
"src/**/*.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/join-monster/join-monster.git"
},
"keywords": [
"graphql",
"sql",
"join",
"query",
"batch",
"data",
"schema"
],
"author": "Stem Disintermedia, Inc.",
"contributors": [
"Andrew Carlson <[email protected]>",
"Matthew Elder <[email protected]>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/sentioxyz/join-monster/issues"
},
"homepage": "https://github.com/sentioxyz/join-monster#readme",
"peerDependencies": {
"graphql": "^16.0.0"
},
"devDependencies": {
"@ava/babel-preset-stage-4": "^1.1.0",
"@babel/cli": "^7.9.0",
"@babel/core": "^7.9.6",
"@babel/eslint-parser": "^7.22.5",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-do-expressions": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/register": "^7.9.0",
"ava": "^5.3.1",
"babel-plugin-idx": "^2.4.0",
"babel-watch": "^7.0.0",
"dotenv": "8.2.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.1.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"faker": "^4.1.0",
"graphql": "^16.6.0",
"graphsiql": "0.2.0",
"idx": "^2.5.6",
"jsdoc-to-markdown": "^8.0.0",
"kcors": "^2.2.1",
"knex": "^2.4.2",
"mysql": "^2.14.1",
"nyc": "^15.0.1",
"pg": "^8.2.1",
"sinon": "^9.0.2",
"sqlite3": "^5.1.0",
"tsd": "^0.28.1"
},
"dependencies": {
"@stem/nesthydrationjs": "0.4.0",
"debug": "^4.1.0",
"deprecate": "^1.0.0",
"generatorics": "^1.0.8",
"graphql-relay": "^0.10.0",
"lodash": "^4.17.21"
},
"overrides": {
"@stem/nesthydrationjs": {
"lodash": "^4.17.21"
}
}
}