Files
365devnet/package.json
Richard Bergsma db6270438f Enhance development and production scripts in package.json and update README for CSP testing
- Added new npm scripts for production testing with Content Security Policy: `dev:prod` and `preview:prod`.
- Updated README.md to include detailed instructions for development, production testing, and a pre-deployment checklist to ensure security settings are verified before deployment.
2025-11-06 12:54:47 +01:00

103 lines
3.1 KiB
JSON

{
"name": "@onwidget/astrowind",
"version": "1.0.0-beta.50",
"description": "AstroWind: A free template using Astro 5.0 and Tailwind CSS. Astro starter theme.",
"type": "module",
"private": true,
"engines": {
"node": "^18.17.1 || ^20.3.0 || >= 21.0.0"
},
"scripts": {
"dev": "astro dev",
"dev:prod": "npm run build && ENABLE_SSR_CSP=1 npm run start",
"build": "astro build",
"preview": "astro preview",
"preview:prod": "ENABLE_SSR_CSP=1 npm run start",
"start": "node server.js",
"astro": "astro",
"check": "npm run check:astro && npm run check:eslint && npm run check:prettier",
"check:astro": "astro check",
"check:eslint": "npx eslint .",
"check:prettier": "prettier --check .",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:eslint": "npx eslint --fix .",
"fix:prettier": "prettier -w ."
},
"dependencies": {
"@astrojs/node": "^9.5.0",
"@astrojs/prefetch": "^0.4.1",
"@astrojs/react": "^4.4.1",
"@astrojs/rss": "^4.0.13",
"@astrojs/sitemap": "^3.6.0",
"@astrolib/analytics": "^0.6.1",
"@astrolib/seo": "^1.0.0-beta.8",
"@fontsource-variable/inter": "^5.1.1",
"@google/generative-ai": "^0.24.1",
"@tippyjs/react": "^4.2.6",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"astro": "^5.15.3",
"astro-embed": "^0.9.0",
"astro-icon": "^1.1.5",
"compression": "^1.7.4",
"csrf": "^3.1.0",
"dotenv": "^16.4.7",
"express": "^4.19.2",
"form-data": "^4.0.2",
"jsonwebtoken": "^9.0.2",
"limax": "4.1.0",
"lodash.merge": "^4.6.2",
"luxon": "^3.7.2",
"mermaid": "^11.12.0",
"node-fetch": "^3.3.2",
"nodemailer": "^7.0.9",
"rate-limiter-flexible": "^5.0.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.5.0",
"unpic": "^3.22.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.5",
"@astrojs/mdx": "^4.3.9",
"@astrojs/partytown": "^2.1.4",
"@astrojs/tailwind": "^6.0.2",
"@eslint/js": "^9.38.0",
"@iconify-json/circle-flags": "^1.2.6",
"@iconify-json/flat-color-icons": "^1.2.1",
"@iconify-json/tabler": "^1.2.14",
"@tailwindcss/typography": "^0.5.19",
"@types/eslint__js": "^8.42.3",
"@types/js-yaml": "^4.0.9",
"@types/jsonwebtoken": "^9.0.9",
"@types/lodash.merge": "^4.6.9",
"@types/mdx": "^2.0.13",
"@typescript-eslint/eslint-plugin": "8.46.1",
"@typescript-eslint/parser": "8.46.1",
"astro-compress": "2.3.6",
"astro-eslint-parser": "^1.1.0",
"eslint": "^9.38.0",
"eslint-plugin-astro": "^1.3.1",
"globals": "^16.4.0",
"js-yaml": "^4.1.0",
"mdast-util-to-string": "^4.0.0",
"prettier": "^3.6.2",
"prettier-plugin-astro": "^0.14.1",
"reading-time": "^1.5.0",
"rehype-sanitize": "^6.0.0",
"sharp": "0.33.5",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.9.3",
"typescript-eslint": "8.46.1",
"unist-util-visit": "^5.0.0"
},
"overrides": {
"devalue": "^5.3.2",
"ws": "^8.17.1",
"tar-fs": "^2.1.5",
"axios": "^1.12.0",
"typescript-eslint": "8.46.1"
}
}