Add prettier plugin and update index.pug file

This commit is contained in:
2023-07-17 15:23:17 +07:00
parent edc6112282
commit 2fdac2662a
4 changed files with 45 additions and 1 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Practice 02",
"scripts": {
"start": "rm -rf dist && rm -rf .parcel-cache && parcel ./src/*.pug --no-cache --no-source-maps",
"start": "del -rf dist && del -rf .parcel-cache && parcel ./src/*.pug --no-cache --no-source-maps",
"build": "rm -rf build && rm -rf .parcel-cache && parcel build ./src/*.pug --no-cache --no-source-maps --dist-dir dist",
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -13,6 +13,7 @@
"devDependencies": {
"@parcel/transformer-pug": "^2.9.3",
"@parcel/transformer-sass": "^2.9.3",
"@prettier/plugin-pug": "^2.5.1",
"parcel": "^2.9.3"
},
"dependencies": {