Skip to content

Commit

Permalink
Add a script to build and watch for changes
Browse files Browse the repository at this point in the history
Useful for testing in other environments without having to run build on every change.
  • Loading branch information
mejiaj committed Dec 27, 2024
1 parent 81b7578 commit 47efcdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"./core/*": "./src/core/*"
},
"scripts": {
"build": "npm run clean && vite build && npm run manifest:build",
"clean": "node ./scripts/rmrf.js dist",
"build": "vite build && npm run manifest:build",
"build:watch": "vite build --watch",

"dev": "vite",
"prepare": "npm run build",
"prettier:js": "npx prettier --check './src/components/**/*.js'",
"prettier:js:fix": "npx prettier --write './src/components/**/*.js'",
"prettier:md": "npx prettier --check '**/*.{md,mdx}'",
Expand Down

0 comments on commit 47efcdb

Please sign in to comment.