Files
halo-theme-WarmIsland/package.json
T
Ryan Wang e85fbd62f4 Add nodemon, nodemon.json and update dev script
Add a nodemon.json config to watch src and public (ext: astro, ts, html), add nodemon as a devDependency, and change the package.json "dev" script to run nodemon --config nodemon.json --exec 'astro build' (replacing the previous "astro dev"). Also remove the preview script.
2026-04-09 14:42:08 +08:00

43 lines
873 B
JSON

{
"type": "module",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "nodemon --config nodemon.json --exec 'astro build'",
"build": "astro build",
"astro": "astro",
"format": "prettier --write ."
},
"prettier": {
"plugins": [
"prettier-plugin-astro"
],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
},
"dependencies": {
"@astrojs/mdx": "^5.0.3",
"@astrojs/rss": "^4.0.18",
"@astrojs/vue": "^6.0.1",
"@halo-dev/api-client": "^2.23.0",
"astro": "^6.1.4",
"ky": "^2.0.0",
"sharp": "^0.34.5",
"vue": "^3.5.32"
},
"devDependencies": {
"@iconify-json/mingcute": "^1.2.7",
"nodemon": "^3.1.14",
"prettier": "3.8.1",
"prettier-plugin-astro": "0.14.1",
"unplugin-icons": "^23.0.1"
}
}