45 lines
1.8 KiB
JSON
45 lines
1.8 KiB
JSON
{
|
|
"name": "site",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "node scripts/write-dev-whoami.mjs && astro dev",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"clean": "rm -rf dist",
|
|
"build": "astro build",
|
|
"build:clean": "npm run clean && npm run build",
|
|
"postbuild": "node scripts/inject-anchor-aliases.mjs && node scripts/dedupe-ids-dist.mjs && node scripts/build-para-index.mjs && node scripts/build-annotations-index.mjs && node scripts/purge-dist-dev-whoami.mjs && npx pagefind --site dist",
|
|
"import": "node scripts/import-docx.mjs",
|
|
"apply:ticket": "node scripts/apply-ticket.mjs",
|
|
"audit:dist": "node scripts/audit-dist.mjs",
|
|
"build:para-index": "node scripts/build-para-index.mjs",
|
|
"build:annotations-index": "node scripts/build-annotations-index.mjs",
|
|
"test:aliases": "node scripts/check-anchor-aliases.mjs",
|
|
"test:anchors": "node scripts/check-anchors.mjs",
|
|
"test:anchors:update": "node scripts/check-anchors.mjs --update",
|
|
"test:annotations": "node scripts/check-annotations.mjs",
|
|
"test:annotations:media": "node scripts/check-annotations-media.mjs",
|
|
"test": "npm run test:aliases && npm run build:clean && npm run audit:dist && node scripts/verify-anchor-aliases-in-dist.mjs && npm run test:anchors && npm run test:annotations && npm run test:annotations:media && node scripts/check-inline-js.mjs",
|
|
"ci": "CI=1 npm test"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/mdx": "^4.3.13",
|
|
"astro": "^5.17.3"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/sitemap": "^3.7.0",
|
|
"mammoth": "^1.11.0",
|
|
"pagefind": "^1.4.0",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"unist-util-visit": "^5.0.0",
|
|
"yaml": "^2.8.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=22 <23",
|
|
"npm": ">=10 <11"
|
|
}
|
|
}
|