Files
unicorn-utterances/package.json
2023-07-21 22:34:40 -05:00

133 lines
4.4 KiB
JSON

{
"name": "unicorn-utterances-site",
"private": true,
"description": "Learning programming from magically majestic words",
"version": "0.3.0-alpha.1",
"bugs": {
"url": "https://github.com/unicorn-utterances/unicorn-utterances/issues"
},
"homepage": "https://unicorn-utterances.com",
"keywords": [
"blog",
"education",
"programming"
],
"type": "module",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/unicorn-utterances/unicorn-utterances.git"
},
"scripts": {
"debug": "env-cmd -f ./src/environments/debug.env astro dev --experimental-integrations",
"dev": "env-cmd -f ./src/environments/dev.env astro dev --experimental-integrations",
"dev:vercel": "env-cmd -f ./src/environments/dev.env vercel dev",
"start": "astro dev --experimental-integrations",
"build": "npm-run-all --parallel search-index epub social-previews:build && astro build --experimental-integrations",
"build-beta": "env-cmd -f ./src/environments/beta.env npm run build",
"preview": "astro preview --experimental-integrations",
"host:local": "cd dist && ws --http2 --compress",
"format": "prettier -w . --cache --plugin-search-dir=.",
"lint": "eslint . --ext .js,.ts,.astro",
"search-index": "tsx build-scripts/search-index.ts",
"social-previews:build": "tsx --tsconfig tsconfig.script.json build-scripts/social-previews/index.ts",
"social-previews:dev:build": "tsx watch --tsconfig tsconfig.script.json build-scripts/social-previews/live-server.ts",
"social-previews:dev:server": "live-server build-scripts/social-previews/dist",
"social-previews:dev": "npm-run-all --parallel social-previews:dev:build social-previews:dev:server",
"epub": "tsx --tsconfig tsconfig.script.json build-scripts/generate-epubs.ts",
"tsc": "tsc --noEmit && astro check",
"test": "jest",
"prepare": "husky install"
},
"devDependencies": {
"@astrojs/image": "^0.17.1",
"@astrojs/mdx": "^0.19.7",
"@astrojs/preact": "^2.2.1",
"@astrojs/sitemap": "^1.3.3",
"@lesjoursfr/html-to-epub": "^4.0.1",
"@remark-embedder/core": "^3.0.2",
"@remark-embedder/transformer-oembed": "^3.0.0",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/preact": "^3.2.3",
"@types/jest": "^29.5.2",
"@types/json5": "^2.2.0",
"@types/node": "^18.13.0",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vercel/node": "^2.15.3",
"astro": "^2.8.0",
"astro-icon": "^0.8.1",
"autoprefixer": "^10.4.14",
"classnames": "^2.3.2",
"dayjs": "^1.11.9",
"env-cmd": "^10.1.0",
"esbuild": "^0.18.7",
"esbuild-jest": "^0.5.0",
"eslint": "^8.44.0",
"eslint-plugin-astro": "^0.27.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"feed": "^4.2.2",
"fuse.js": "^6.6.2",
"gray-matter": "^4.0.3",
"hast-util-from-html": "^1.0.2",
"hast-util-has-property": "^2.0.1",
"hast-util-heading-rank": "^2.1.1",
"hast-util-to-string": "^2.0.0",
"hastscript": "^7.2.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"image-size": "^1.0.2",
"jest-environment-jsdom": "^29.6.1",
"jest-watch-typeahead": "^2.2.2",
"json5": "^2.2.3",
"junk": "^4.0.1",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"playwright": "^1.36.1",
"postcss": "^8.4.25",
"postcss-csso": "^6.0.1",
"preact-render-to-string": "^6.1.0",
"prettier": "^2.8.8",
"prettier-plugin-astro": "^0.11.0",
"probe-image-size": "^7.2.3",
"rehype-raw": "^6.1.1",
"rehype-retext": "^3.0.2",
"rehype-slug-custom-id": "^1.1.0",
"remark-behead": "^3.1.0",
"remark-gfm": "^3.0.1",
"remark-shiki-twoslash": "^3.1.3",
"remark-unwrap-images": "^3.0.1",
"retext-english": "^4.1.0",
"sass": "^1.63.6",
"sitemap": "^7.1.1",
"symlink-dir": "^5.1.1",
"terser": "^5.18.2",
"tsx": "^3.12.7",
"typescript": "^4.9.5",
"unified": "^10.1.2",
"unist-util-find-all-after": "^4.0.1",
"unist-util-is": "^5.2.1",
"unist-util-replace-all-between": "^0.1.1",
"unist-util-visit": "^4.1.2",
"vercel": "^31.0.1",
"vite-plugin-svgr": "^3.2.0"
},
"lint-staged": {
"*.{js,ts,astro}": "eslint --cache --fix",
"*.{js,ts,astro,jsx}": "prettier --write"
},
"dependencies": {
"@astrojs/vercel": "^3.7.0",
"@floating-ui/react": "^0.24.8",
"@tanstack/react-query": "^4.29.19",
"medium-zoom": "^1.0.8",
"preact": "^10.16.0"
},
"overrides": {
"react": "npm:@preact/compat@latest",
"react-dom": "npm:@preact/compat@latest"
}
}