Skip to content

Commit 2f00171

Browse files
committed
build(build-script): update build script, only lint in prebuild
1 parent dcae27e commit 2f00171

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ before_install:
1515
before_script:
1616
- npm prune
1717
script:
18+
- npm run test
1819
- npm run build
1920
after_success:
2021
- bash <(curl -s https://codecov.io/bash)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-router-middleware-plugin",
3-
"version": "1.0.2",
3+
"version": "0.0.0-development",
44
"description": "A vue.js plugin to implement a middleware pipeline between your routes.",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"type-check": "tslint-config-prettier-check ./tslint.json",
1212
"type-check:watch": "tsc --noEmit --watch",
13-
"prebuild": "npm run precommit",
13+
"prebuild": "npm run lint",
1414
"build": "npm run build:types && npm run build:js",
1515
"build:types": "tsc --emitDeclarationOnly",
1616
"build:js": "babel src --out-dir build --extensions \".ts,.tsx\" --source-maps inline",

0 commit comments

Comments
 (0)