switch to parcel-plugin-clean-dist

This commit is contained in:
Jeremy Danyow 2018-10-07 10:53:30 -07:00
parent acff8edf79
commit 350e2d6aee
No known key found for this signature in database
GPG Key ID: 50404A1CEB6B5250
2 changed files with 6 additions and 3 deletions

View File

@ -17,10 +17,7 @@
"url": "https://github.com/utterance/utterances.git"
},
"scripts": {
"clean": "rm -rf .cache & rm -rf dist",
"prestart": "yarn run clean",
"start": "parcel serve src/*.html src/client.ts src/stylesheets/themes/*/{index,utterances}.scss --no-hmr --port 4000",
"prebuild": "yarn run clean",
"build": "parcel build src/*.html src/client.ts src/stylesheets/themes/*/{index,utterances}.scss --experimental-scope-hoisting",
"lint": "tslint --project tsconfig.json",
"predeploy": "yarn run build && touch dist/.nojekyll && echo 'utteranc.es' > dist/CNAME",
@ -32,6 +29,7 @@
"github-syntax-dark": "^0.5.0",
"github-syntax-light": "^0.5.0",
"parcel-bundler": "^1.10.2",
"parcel-plugin-clean-dist": "^0.0.6",
"posthtml-expressions": "^1.1.0",
"posthtml-include": "^1.2.0",
"posthtml-md": "^1.1.0",

View File

@ -3400,6 +3400,11 @@ parcel-bundler@^1.10.2:
v8-compile-cache "^2.0.0"
ws "^5.1.1"
parcel-plugin-clean-dist@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/parcel-plugin-clean-dist/-/parcel-plugin-clean-dist-0.0.6.tgz#e3da68aaadc19b258c111fc114fe68e7866bf4fb"
integrity sha512-zzPY/ORCzkV+V7nfyYlONLrBithrx6orJjepdBoqqb9myeV9zQZUoBY41i3QkSSnQX7ilGmWDALX2XlxC6z7Fw==
parse-asn1@^5.0.0:
version "5.1.1"
resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8"