Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
fix: build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 4, 2017
1 parent 4c033a5 commit 0f4aed0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"node": ">=4"
},
"scripts": {
"test": "xo src/*.js",
"test2": "npm run build && npm test",
"test": "xo src/*.js && npm run build",
"build": "bili --format umd --module-name VueTimeago",
"example": "vbuild example --dev --port 5032",
"example:build": "vbuild example -t VueTimeago --dist dist-demo --public-path /vue-timeago/",
"publish:demo": "npm run example:build && gh-pages -d ./dist-demo"
"publish:demo": "npm run example:build && gh-pages -d ./dist-demo",
"prepublish": "npm test"
},
"main": "dist/vue-timeago.js",
"files": [
Expand Down Expand Up @@ -48,8 +48,5 @@
"before"
]
}
},
"kanpai": {
"test": "test2"
}
}
}

0 comments on commit 0f4aed0

Please sign in to comment.