Migrate Parcel to v2

This commit is contained in:
2022-04-13 23:13:27 +00:00
parent f50edd12fe
commit 9cfa0c215b
5 changed files with 2077 additions and 7371 deletions

View File

@@ -11,24 +11,25 @@
},
"scripts": {
"preinit": "npx npm-force-resolutions",
"Dev": "npm run Cleanup && npm run Init && parcel dev src/index.pug -d build",
"Cleanup": "rm -Rf build/ .cache/",
"Dev": "npm run Cleanup && npm run Init && parcel serve src/index.pug --port 9999 --dist-dir build --detailed-report",
"Cleanup": "rm -Rf build/ .parcel-cache/",
"Init": "mkdir build && cp -R src/assets/* build/",
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug -d build"
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build"
},
"devDependencies": {
"parcel-bundler": "^1.12.4",
"@parcel/transformer-pug": "^2.4.1",
"@parcel/transformer-sass": "2.4.1",
"parcel": "^2.4.1",
"pug": "^2.0.4",
"sass": "^1.30.0"
},
"engines": {
"node": "14.*"
"node": "16.*"
},
"resolutions": {
"node-forge": "0.10.0"
},
"dependencies": {},
"main": "index.js",
"bugs": {
"url": "https://github.com/hotarublaze/Fluttershub/issues"
},