AstralHalo/package.json
HPCesia ae84b5c2cc feat: add useful scripts
Add scripts for creating and publishing drafts, and update package.json
2025-02-01 18:01:24 +08:00

52 lines
1.6 KiB
JSON

{
"name": "astral-halo",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"lint": "eslint ./src --fix && stylelint ./src/**/*.{scss,css,astro} --fix && astro check",
"format": "prettier --write ./src",
"new": "node scripts/new.mjs",
"pub": "node scripts/pub.mjs"
},
"dependencies": {
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.5",
"@iconify-json/material-symbols": "^1.2.13",
"@iconify-json/mdi": "^1.2.3",
"astro": "^5.2.3",
"astro-compress": "2.3.5",
"astro-icon": "^1.1.5",
"astro-pagefind": "^1.8.0",
"autoprefixer": "^10.4.20",
"postcss-load-config": "^6.0.1",
"sass": "^1.83.4",
"sharp": "^0.33.5",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/ts-plugin": "^1.10.4",
"@eslint/js": "^9.19.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@typescript-eslint/parser": "^8.22.0",
"astro-eslint-parser": "^1.2.1",
"eslint": "^9.19.0",
"eslint-plugin-astro": "^1.3.1",
"globals": "^15.14.0",
"postcss-html": "^1.8.0",
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-astro-organize-imports": "^0.4.11",
"prettier-plugin-tailwindcss": "^0.6.11",
"stylelint": "^16.14.1",
"stylelint-config-html": "^1.1.0",
"stylelint-config-standard-scss": "^14.0.0",
"typescript-eslint": "^8.22.0"
}
}