We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9fad9b commit 45ffddbCopy full SHA for 45ffddb
1 file changed
package.json
@@ -16,7 +16,8 @@
16
"test": "npm run test:spelling && npm run test:format && npm run test:build",
17
"test:spelling": "cspell \"spec/**/*.md\" README.md",
18
"format": "prettier --write \"**/*.{md,yml,yaml,json}\"",
19
- "test:format": "prettier --check \"**/*.{md,yml,yaml,json}\" || echo \"\nTo resolve this, run: $(tput bold)npm run format$(tput sgr0)\" && exit 1",
+ "test:format": "prettier --check \"**/*.{md,yml,yaml,json}\" || npm run suggest:format",
20
+ "suggest:format": "echo \"\nTo resolve this, run: $(tput bold)npm run format$(tput sgr0)\" && exit 1",
21
"build": "./build.sh",
22
"test:build": "spec-md --metadata spec/metadata.json spec/GraphQL.md > /dev/null",
23
"watch": "nodemon -e json,md --exec \"npm run build\""
0 commit comments