Skip to content

Commit

Permalink
fix(build): add prebuild command before build project
Browse files Browse the repository at this point in the history
feature/add-localstorage-cache
  • Loading branch information
samwx committed Jun 10, 2021
1 parent 6dc2630 commit aa34d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"commit": "./node_modules/.bin/git-cz",
"clean": "rimraf lib && rimraf coverage",
"format": "prettier --write \"{src,__tests__}/**/*.ts\" --single-quote es5",
"lint": "tslint --force --format verbose \"src/**/*.ts\"",
"lint": "tslint --format verbose \"src/**/*.ts\"",
"prepublishOnly": "npm run build",
"prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
"build": "tsc --pretty",
"build": "npm run prebuild && tsc --pretty",
"test": "jest",
"coverage": "jest --coverage --coverageReporters=text-lcov | coveralls",
"coverage-local": "jest --coverage",
Expand Down

0 comments on commit aa34d99

Please sign in to comment.