We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1573998 commit 455a49cCopy full SHA for 455a49c
.npmignore
@@ -1,2 +1,3 @@
1
src
2
-dist/*.spec.*
+dist/*.spec.*
3
+coverage
.travis.yml
@@ -4,4 +4,4 @@ node_js:
4
- node
5
script:
6
- npm test
7
- - npx prettier --check src/**/*.ts{,x}
+ - npm run prettier-check
package.json
@@ -5,10 +5,11 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
8
- "prepare": "npm run build && npm run test",
+ "prepare": "npm run prettier-check && npm run build && npm run test",
9
"prebuild": "prettier --write src/**/*.ts{,x}",
10
"build": "tsc -p tsconfig.json",
11
- "test": "jest --coverage src"
+ "test": "jest --coverage src",
12
+ "prettier-check": "prettier --check src/**/*.ts{,x}"
13
},
14
"repository": {
15
"type": "git",
0 commit comments