forked from anvilco/spectaql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 5.48 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "spectaql",
"version": "2.0.3",
"description": "A powerful library for autogenerating static GraphQL API documentation",
"author": "Anvil Foundry Inc. <hello@useanvil.com>",
"homepage": "https://github.com/anvilco/spectaql",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/anvilco/spectaql.git"
},
"bugs": {
"url": "https://github.com/anvilco/spectaql/issues"
},
"keywords": [
"graphql",
"docs",
"documentation",
"introspection",
"introspection-query",
"api",
"builder",
"generator"
],
"engines": {
"node": ">=14",
"npm": ">=7"
},
"main": "index.js",
"bin": {
"spectaql": "./bin/spectaql.js"
},
"files": [
"package.json",
"README.md",
"LICENSE.md",
"CHANGELOG.md",
"bin/",
"vendor/",
"dist/",
"examples/",
"!**/.DS_STORE",
"!**/.DS_Store"
],
"scripts": {
"clean:dist": "rimraf ./dist",
"clean:vendor": "rimraf ./vendor",
"clean": "npm run clean:dist && npm run clean:vendor",
"build:with-maps": "npm run build:src --source-maps",
"build:site": "node bin/spectaql",
"build:example": "npm run build:site --target-dir ./examples/output ./examples/config.yml",
"build:src": "babel src --out-dir ./dist --copy-files",
"build:vendor": "node bin/build-vendor.mjs",
"build": "npm run build:vendor && npm run build:src",
"clean-build:src": "npm run clean:dist && npm run build:src",
"clean-build:vendor": "npm run clean:vendor && npm run build:vendor",
"clean-build": "npm run clean && npm run build",
"preinstall": "npm run build:vendor",
"prepack": "husky install && npm run clean-build",
"publish:dry-run": "npm pack --dry-run",
"publish:version": "npm version",
"publish:beta": "npm publish --tag beta",
"test": "NODE_ENV=test npm run build:vendor && npm run clean-build:src && NODE_ENV=test mocha --config ./test/mocha-config.js",
"test:watch": "nodemon -x 'npm test'",
"test:debug": "npm test --node-option inspect=0.0.0.0:9223",
"test:debug:watch": "nodemon -x 'npm run test:debug'",
"develop": "nodemon -x 'npm run clean-build:src && node bin/spectaql' -- -D",
"develop:deep-nesting": "npm run develop --theme-dir ./examples/themes/deep-nesting-data --config ./examples/config.yml",
"develop:echo-directive-sdl": "node dev/echoDirectiveSdl.mjs",
"test-e2e:build": "npm run clean-build && rimraf test/e2e/spectaql.tgz && node dev/build-e2e.mjs",
"test-e2e:install": "npm --prefix test/e2e run prep && npm --prefix test/e2e install",
"test-e2e:test": "npm --prefix test/e2e test",
"test-e2e:build-and-install": "npm run test-e2e:build && npm run test-e2e:install",
"test-e2e:install-and-test": "npm run test-e2e:install && npm run test-e2e:test",
"test-e2e:all": "npm run test-e2e:build && npm run test-e2e:install && npm run test-e2e:test",
"prettify": "prettier 'src/**/*.js' 'bin/**/*.js' 'test/**/*.js'",
"lint": "eslint 'src/**/*.*js' 'bin/**/*.*js' 'test/**/*.*js'",
"lint:fix": "npm run lint --fix",
"lint:quiet": "npm run lint --quiet",
"lint:quiet:fix": "npm run lint:quiet --fix",
"prettify:check": "npm run prettify --check",
"prettify:write": "npm run prettify --write",
"generateExampleData": "node bin/generateExampleData.js"
},
"dependencies": {
"@anvilco/apollo-server-plugin-introspection-metadata": "^2.0.0",
"@graphql-tools/load-files": "^6.3.2",
"@graphql-tools/merge": "^8.1.2",
"@graphql-tools/schema": "^9.0.1",
"@graphql-tools/utils": "^9.1.1",
"cheerio": "^1.0.0-rc.10",
"coffeescript": "^2.6.1",
"commander": "^9.1.0",
"fast-glob": "^3.2.12",
"foundation-sites": "^6.7.2",
"graceful-fs": "~4.2.10",
"graphql": "^16.3.0",
"graphql-scalars": "^1.15.0",
"grunt": "^1.5.3",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^4.0.0",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-sass": "^3.0.2",
"handlebars": "^4.7.7",
"highlight.js": "^11.4.0",
"htmlparser2": "~8.0.1",
"js-beautify": "~1.14.7",
"js-yaml": "^4.1.0",
"json-stringify-pretty-compact": "^3.0.0",
"json5": "^2.2.0",
"lodash": "^4.17.21",
"marked": "^4.0.12",
"microfiber": "^2.0.0",
"postcss": "^8.4.19",
"sass": "^1.32.13",
"sync-request": "^6.1.0",
"tmp": "0.2.1"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/register": "^7.17.0",
"app-module-path": "^2.2.0",
"bdd-lazy-var": "^2.6.0",
"chai": "^4.3.0",
"chai-as-promised": "^7.1.1",
"chai-exclude": "^2.0.2",
"eslint": "^8.10.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-mocha": "10",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-standard": "^5.0.0",
"husky": ">=6",
"lint-staged": ">=10",
"mocha": "^10.1.0",
"nodemon": "^2.0.20",
"prettier": "^2.5.1",
"rewire": "^6.0.0",
"rimraf": "^3.0.2",
"sinon": "^15.0.1",
"sinon-chai": "^3.7.0"
},
"resolutions": {
"grunt-compile-handlebars/lodash.merge": "^4.6.2",
"grunt-prettify/globby": "^11.0.4",
"grunt-prettify/underscore.string": "^3.3.5",
"**/lodash": "^4.17.20",
"**/resolve/path-parse": "^1.0.7"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}