-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
package.json
36 lines (36 loc) · 1.22 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
{
"name": "graphql-spec",
"private": true,
"contributors": [
"Lee Byron <lee@leebyron.com> (http://leebyron.com/)",
"Nicholas Schrock <schrockn@fb.com>",
"Daniel Schafer <dschafer@fb.com>"
],
"license": "OWFa-1.0",
"homepage": "https://spec.graphql.org/",
"repository": {
"type": "git",
"url": "http://github.com/graphql/graphql-spec.git"
},
"scripts": {
"test": "npm run test:spelling && npm run test:format && npm run test:build",
"test:spelling": "cspell \"spec/**/*.md\" README.md",
"format": "prettier --write \"**/*.{md,yml,yaml,json}\"",
"test:format": "prettier --check \"**/*.{md,yml,yaml,json}\" || npm run suggest:format",
"test:algorithm-format": "node .github/algorithm-format-check.mjs",
"suggest:format": "echo \"\nTo resolve this, run: $(tput bold)npm run format$(tput sgr0)\" && exit 1",
"build": "./build.sh",
"test:build": "spec-md --metadata spec/metadata.json spec/GraphQL.md > /dev/null",
"watch": "nodemon -e json,md --exec \"npm run build\""
},
"devDependencies": {
"cspell": "5.9.1",
"nodemon": "2.0.20",
"prettier": "2.8.2",
"spec-md": "3.1.0"
},
"prettier": {
"proseWrap": "always",
"trailingComma": "none"
}
}