Migrate Parcel to v2
This commit is contained in:
13
package.json
13
package.json
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user