Skip to content

Commit

Permalink
Add prepack script to package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed May 8, 2020
1 parent db74e85 commit fdcfa2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"build": "npx parcel build --public-url ./ src/index.ts",
"dev": "npx parcel serve test/index.html src/index.ts",
"clean": "rm -rf dist .parcel-cache"
"clean": "rm -rf dist .parcel-cache",
"prepack": "npm run clean && npm run build"
},
"author": "Lucas Garron <[email protected]>",
"license": "GPL-3.0-or-later",
Expand Down

0 comments on commit fdcfa2a

Please sign in to comment.