Skip to content

Commit

Permalink
mkdir -p for dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Boutell committed Oct 30, 2019
1 parent 8b8e763 commit 1c43280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist/"
],
"scripts": {
"build": "browserify src/index.js > dist/sanitize-html-es2015.js --standalone 'sanitizeHtml' && babel dist/sanitize-html-es2015.js --out-file dist/sanitize-html.js --presets=@babel/preset-env",
"build": "mkdir -p dist && browserify src/index.js > dist/sanitize-html-es2015.js --standalone 'sanitizeHtml' && babel dist/sanitize-html-es2015.js --out-file dist/sanitize-html.js --presets=@babel/preset-env",
"minify": "npm run build && uglifyjs dist/sanitize-html.js > dist/sanitize-html.min.js",
"prepublishOnly": "npm run minify",
"test": "npm run prepublishOnly && mocha test/test.js"
Expand Down

0 comments on commit 1c43280

Please sign in to comment.