Skip to content

Commit

Permalink
use format-check for ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgoli committed Jun 8, 2022
1 parent 3b125ff commit 2bb6bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
}
},
"scripts": {
"build": "yarn lint && yarn format && tsc && webpack && tsc dist/esm/**/*.d.ts",
"build": "yarn lint && yarn format-check && tsc && webpack && tsc dist/esm/**/*.d.ts",
"lint": "yarn eslint --ext .ts,.js --fix --config .eslintrc.js",
"format": "yarn prettier --write .",
"format-check": "yarn prettier --check .",
"test": "TS_NODE_PROJECT=tsconfig.test.json mocha **/*.test.ts",
"test-ci": "TS_NODE_PROJECT=tsconfig.test.json nyc mocha **/*.test.ts"
},
Expand Down

0 comments on commit 2bb6bf6

Please sign in to comment.