From aa34d994872cee926418d7e7d35ba8fffca07527 Mon Sep 17 00:00:00 2001 From: samwx Date: Thu, 10 Jun 2021 14:30:23 -0300 Subject: [PATCH] fix(build): add prebuild command before build project feature/add-localstorage-cache --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a55e77b..baca890 100644 --- a/package.json +++ b/package.json @@ -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",