Skip to content

Commit

Permalink
Add npm run dist to prepublish.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 28, 2015
1 parent ece0655 commit f1a50c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -26,13 +26,15 @@
"devDependencies": {
"browserify": "^12.0.1",
"tape": "^4.3.0",
"covert": "^1.1.0"
"covert": "^1.1.0",
"mkdirp": "^0.5.1"
},
"scripts": {
"test": "npm run coverage",
"tests-only": "node test",
"coverage": "covert test",
"dist": "browserify --standalone Qs lib/index.js > dist/qs.js"
"dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js",
"prepublish": "npm run dist"
},
"license": "BSD-3-Clause"
}

0 comments on commit f1a50c0

Please sign in to comment.