Skip to content

Commit

Permalink
chore: upgraded build process
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Apr 28, 2021
1 parent fc309fc commit 4fa179e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<script src="dist/src.19dfc943.js">
<script src="src.19dfc943.js">
</script>
2 changes: 1 addition & 1 deletion dist/src.19dfc943.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"icon": "icon.svg",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "parcel src/index.html --hmr-hostname localhost --public-url ./dist/ -t browser",
"build": "parcel build src/index.html --public-url ./dist/ -t browser"
"clean": "rimraf dist",
"prestart": "npm run clean",
"start": "parcel src/index.html --hmr-hostname localhost --public-url ./ -t browser",
"build": "tsc && npm run clean && parcel build src/index.html --public-url ./ -t browser"
},
"settings": {
"address": {
Expand Down Expand Up @@ -43,6 +45,7 @@
"eslint-plugin-prettier": "^3.3.1",
"parcel-bundler": "^1.12.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
},
"dependencies": {
Expand Down

0 comments on commit 4fa179e

Please sign in to comment.