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

Commit

Permalink
Run prettier when anything changes; remove build before packing since…
Browse files Browse the repository at this point in the history
… it's already done on CI
  • Loading branch information
mmiller42 committed Jul 23, 2017
1 parent 1f68e25 commit 42ff13e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@
"name": "html-webpack-externals-plugin",
"version": "3.3.5",
"description": "Webpack plugin that works alongside html-webpack-plugin to use pre-packaged vendor bundles.",
"keywords": [
"htmlwebpackplugin",
"webpack",
"html",
"externals"
],
"keywords": ["htmlwebpackplugin", "webpack", "html", "externals"],
"main": "lib/index.js",
"scripts": {
"prepack": "npm run build",
"precommit": "lint-staged",
"test": "mocha --require babel-register",
"build": "rm -rf lib && babel src --out-dir lib --source-maps --copy-files",
"watch": "npm run build -- --watch"
},
"lint-staged": {
"*.js": [
"*": [
"prettier --write --no-semi --single-quote --trailing-comma es5 '{src/**/*.{js,json},test/**/*.js,*.json}'",
"git add"
]
Expand Down

0 comments on commit 42ff13e

Please sign in to comment.