added npm run build

This commit is contained in:
jhalitaksoy 2021-06-30 22:35:41 +03:00
parent aab0782252
commit c85041b78c

View File

@ -5,7 +5,10 @@
"main": "index.js",
"scripts": {
"dev": "parcel src/index.html",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build:parcel": "parcel build ./src/index.html --public-url ./ --no-source-maps",
"build": "npm run clean && npm run build:parcel",
"clean": "rm -rf dist/*"
},
"keywords": [],
"author": "",