-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.33 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
{
"name": "@alpaca-travel/graphql-docs",
"version": "1.0.0",
"description": "Documentation for the Alpaca Travel GraphQL API",
"main": "index.js",
"scripts": {
"test": "npm run graphql-codegen && npm run test:markdown-graphql && npm run test:markdown-links",
"graphql-codegen": "graphql-codegen",
"graphql-schema-reference": "graphql-markdown https://graphql.withalpaca.travel > reference/README.md && cat reference/_METADATA.md | cat - reference/README.md > temp_file && mv temp_file reference/README.md",
"generate:operations-toc": "cd example-operations && node generate-toc.js && cd -",
"test:markdown-links": "find ./ -not -path \"*/node_modules/*\" -type f -name \"*.md\" -print0 | xargs -0 -n 1 node validate-links.mjs",
"test:markdown-graphql": "find ./ -not -path \"*/node_modules/*\" -type f -name \"*.md\" -print0 | xargs -0 -n 1 node validate-graphql.mjs",
"format": "find ./ -not -path \"*/node_modules/*\" -not -path \"*/reference/*\" -type f -name \"*.md\" -print0 | xargs -0 -n 1 node format.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlpacaTravel/graphql-docs.git"
},
"author": "Tom Manderson <tom@alpaca.travel>",
"license": "ISC",
"bugs": {
"url": "https://github.com/AlpacaTravel/graphql-docs/issues"
},
"homepage": "https://github.com/AlpacaTravel/graphql-docs#readme",
"dependencies": {
"glob": "^7.1.6",
"graphql": "^15.4.0",
"graphql-markdown": "^5.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.20.0",
"@graphql-codegen/fragment-matcher": "1.17.8",
"@graphql-codegen/introspection": "1.17.8",
"@graphql-codegen/typescript": "^1.17.8",
"@graphql-codegen/typescript-graphql-files-modules": "1.17.8",
"@graphql-codegen/typescript-operations": "1.17.8",
"lz-string": "^1.4.4",
"remark": "^14.0.0",
"remark-cli": "^11.0.0",
"remark-preset-lint-consistent": "^5.1.1",
"remark-preset-lint-recommended": "^6.1.2",
"remark-preset-prettier": "^2.0.1",
"remark-prettier": "^2.0.0",
"remark-toc": "^8.0.0",
"unified": "^10.1.0",
"unist-util-remove": "^3.1.0",
"unist-util-visit": "^4.1.2"
},
"remarkConfig": {
"plugins": [],
"settings": {
"bullet": "-",
"listItemIndent": "one",
"tightDefinitions": true
}
},
"engines": {
"node": ">=16"
}
}