Remove prebuild command and add test:circleci
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
"types": "lib/src/index.d.ts",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
"prebuild": "npm run clean",
|
||||
"clean": "shx rm -rf lib",
|
||||
"build": "tsc",
|
||||
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
|
||||
"run_mocha_unit": "mocha lib/test/unit/**/*_test.js --timeout 10000 --bail --exit",
|
||||
"run_mocha_integration": "mocha lib/test/integration/**/*_test.js --timeout 10000 --bail --exit",
|
||||
"test": "npm run test:unit",
|
||||
"test:circleci": "npm run test:unit",
|
||||
"test:all": "run-s test:unit test:integration",
|
||||
"test:unit": "run-s clean build run_mocha_unit",
|
||||
"test:integration": "run-s clean build run_mocha_integration"
|
||||
|
||||
Reference in New Issue
Block a user