diff --git a/package.json b/package.json index 5d4d26053..1b2d95937 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,19 @@ "preview": "astro preview", "astro": "astro", "lint": "eslint --ext .js,.ts,.astro src", + "lint:fix": "eslint --fix src", "format": "npx prettier --write .", "cache:fetch": "node scripts/blog-contents-cache.cjs", "cache:purge": "nx reset && rm -f tmp/*", - "_fetch-notion-blocks": "node scripts/retrieve-block-children.cjs" + "_fetch-notion-blocks": "node scripts/retrieve-block-children.cjs", + "clean": "rm -rf dist/* && rm -rf public/notion/*" }, "dependencies": { "@astrojs/react": "^3.0.3", "@astrojs/rss": "^3.0.0", + "@astrojs/tailwind": "^5.1.0", + "@fontsource/ma-shan-zheng": "^5.0.11", + "@fontsource/shippori-mincho-b1": "^5.0.16", "@notionhq/client": "^2.2.5", "@supercharge/promise-pool": "^2.4.0", "astro": "^3.3.1", @@ -26,32 +31,41 @@ "async-retry": "^1.3.3", "axios": "^1.4.0", "exif-be-gone": "^1.3.2", + "gsap": "^3.12.5", "katex": "^0.16.7", "mermaid": "^10.1.0", "metascraper": "^5.34.4", "metascraper-description": "^5.34.4", "metascraper-image": "^5.34.4", "metascraper-title": "^5.34.4", + "node-fetch": "^3.3.2", + "preline": "^2.0.3", "prismjs": "^1.29.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "sharp": "^0.32.4" + "sharp": "^0.32.4", + "tailwindcss": "^3.4.1" }, "devDependencies": { - "@nrwl/nx-cloud": "^15.0.2", + "@nrwl/nx-cloud": "^18.0.0", "@types/async-retry": "^1.4.5", "@types/js-base64": "^3.3.1", + "@types/katex": "^0.16.7", "@types/metascraper": "^5.14.1", "@types/metascraper-description": "^5.14.1", "@types/metascraper-image": "^5.14.0", "@types/metascraper-title": "^5.14.0", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", + "@types/prismjs": "^1.26.3", + "@typescript-eslint/eslint-plugin": "^7.2.0", + "@typescript-eslint/parser": "^7.2.0", "@typescript-eslint/typescript-estree": "^6.8.0", "cli-progress": "^3.12.0", "eslint": "^8.51.0", + "eslint-config-airbnb-base": "^15.0.0", + "eslint-config-airbnb-typescript": "^18.0.0", "eslint-plugin-astro": "^0.27.0", - "nx": "15.5.3" + "nx": "^15.9.7", + "prettier": "^3.2.5" }, "nx": { "targets": {