Skip to content

Commit

Permalink
Adding prepublishOnly to force build before publishing new version
Browse files Browse the repository at this point in the history
  • Loading branch information
kazzkiq committed May 6, 2018
1 parent aa0b369 commit 245ad4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeflask",
"version": "1.0.2",
"version": "1.0.3",
"description": "A micro code-editor for awesome web pages",
"main": "build/codeflask.min.js",
"files": [
Expand All @@ -13,7 +13,8 @@
"dev": "serve build & rollup -c -w",
"start": "serve public",
"pretest": "npm run build && node test/script-load.js",
"test": "wdio test/wdio.conf.js"
"test": "wdio test/wdio.conf.js",
"prepublishOnly": "npm run build"
},
"dependencies": {
"prismjs": "^1.14.0"
Expand Down

0 comments on commit 245ad4d

Please sign in to comment.