|
10 | 10 | "scripts": { |
11 | 11 | "clean": "rimraf dist/", |
12 | 12 | "clean-all": "rimraf dist/ node_modules/ package-lock.json", |
| 13 | + "lint": "tslint --fix './src/**/*.ts'", |
13 | 14 | "docker": "docker-compose up --force-recreate &", |
14 | 15 | "docker:kill": "docker-compose kill", |
15 | | - "prebuild": "npm run clean", |
| 16 | + "prebuild": "npm run clean && npm run lint", |
16 | 17 | "build": "tsc", |
17 | 18 | "precopy-test-config": "rimraf dist/tests/integration/config", |
18 | 19 | "copy-test-config": "cp -r src/tests/integration/config dist/tests/integration/config", |
19 | 20 | "pretest": "npm run docker:kill && npm run build && npm run copy-test-config", |
20 | 21 | "test": "npm run test:integration", |
21 | 22 | "pretest:integration": "npm run docker", |
22 | 23 | "test:integration": "wait-on --timeout 20000 http://localhost:8510 && node dist/tests/integration/bootstrap.js && CONSUL_ADDRESS='http://localhost:8510' CONSUL_DC='dc1' CONFIG_PATH='dist/tests/integration/config' lab --timeout 15000 --verbose -l -S -P spec dist/tests/integration", |
23 | | - "posttest:integration": "npm run docker:kill" |
| 24 | + "posttest:integration": "npm run docker:kill", |
| 25 | + "release:patch": "npm version patch && npm run release:publish", |
| 26 | + "release:minor": "npm version minor && npm run release:publish", |
| 27 | + "release:major": "npm version major && npm run release:publish", |
| 28 | + "release:publish": "git push --follow-tags" |
24 | 29 | }, |
25 | 30 | "author": "Credit Karma", |
26 | 31 | "license": "Apache-2.0", |
|
0 commit comments