generated from polymech/site-template
134 lines
5.1 KiB
JSON
134 lines
5.1 KiB
JSON
{
|
|
"name": "@polymech/library",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"generate:config": "pm-astro build:config",
|
|
"dev": "npm run generate:config && astro dev --mode dev --host=0.0.0.0",
|
|
"dev:libs": "cd ../polymech-astro && npm run dev",
|
|
"dev:all": "concurrently \"npm run dev\" \"npm run serve:products\" \"npm run dev:libs\"",
|
|
"start": "astro dev",
|
|
"build": "pm-astro build -- --logLevel=info --branch=site-dev",
|
|
"build:clear": "sh scripts/clear.sh",
|
|
"test:build": "astro build ; cd dist ; serve",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"serve:products": "npx vite-node scripts/serve-products.ts",
|
|
"generate-pwa-assets": "pwa-assets-generator --preset minimal-2023 public/logo.svg",
|
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
"lint": "eslint . --ext .ts,.tsx --fix",
|
|
"lint:check": "eslint . --ext .ts,.tsx",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
"test:lighthouse": "lighthouse https://polymech.info/en --output json --output html --output-path ./dist/reports/report.html --save-assets --chrome-flags=\"--window-size=1440,700 --headless\"",
|
|
"test:debug": "playwright test",
|
|
"test:ui": "playwright test --ui",
|
|
"clean": "rm -rf dist",
|
|
"test:base": "vitest run src/base",
|
|
"test:base:watch": "vitest watch src/base",
|
|
"test:model": "vitest run src/model",
|
|
"test:model:watch": "vitest watch src/model",
|
|
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
|
|
"test:url": "vitest run src/base/url.test.ts",
|
|
"report": "node scripts/profile-build.js",
|
|
"build:profile": "node --trace-warnings ./node_modules/astro/dist/cli/index.js build"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/compiler": "^2.10.4",
|
|
"@astrojs/mdx": "^4.1.0",
|
|
"@astrojs/react": "^4.2.1",
|
|
"@astrojs/rss": "^4.0.10",
|
|
"@astrojs/sitemap": "^3.2.1",
|
|
"@astrolib/seo": "^1.0.0-beta.8",
|
|
"@jsdevtools/rehype-toc": "^3.0.2",
|
|
"@playwright/test": "^1.50.1",
|
|
"@polymech/astro-base": "file:../polymech-astro/packages/polymech",
|
|
"@polymech/cache": "file:../polymech-mono/packages/cache",
|
|
"@polymech/cad": "file:../polymech-mono/packages/cad",
|
|
"@polymech/commons": "file:../polymech-mono/packages/commons",
|
|
"@polymech/core": "file:../polymech-mono/packages/core",
|
|
"@polymech/fs": "file:../polymech-mono/packages/fs",
|
|
"@polymech/i18n": "file:../polymech-mono/packages/i18n",
|
|
"@polymech/kbot-d": "file:../polymech-mono/packages/kbot",
|
|
"@polymech/log": "file:../polymech-mono/packages/log",
|
|
"@tailwindcss/forms": "^0.5.10",
|
|
"@tailwindcss/postcss": "^4.0.7",
|
|
"@tailwindcss/typography": "^0.5.12",
|
|
"@tailwindcss/vite": "^4.0.7",
|
|
"astro": "^5.4.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"axios": "^1.7.9",
|
|
"cacache": "^19.0.1",
|
|
"concurrently": "^9.2.1",
|
|
"env-var": "^7.5.0",
|
|
"exifreader": "^4.26.1",
|
|
"file-type": "^20.0.0",
|
|
"find-cache-dir": "^5.0.0",
|
|
"find-up": "^7.0.0",
|
|
"flowbite": "^3.1.2",
|
|
"github-slugger": "^2.0.0",
|
|
"glob": "^11.0.1",
|
|
"got": "^14.4.6",
|
|
"html-entities": "^2.5.2",
|
|
"imagetools": "file:../polymech-astro/packages/imagetools_3",
|
|
"jsonpath-plus": "^10.3.0",
|
|
"lighthouse": "^12.3.0",
|
|
"link-preview-js": "^3.0.14",
|
|
"linkinator": "^6.1.2",
|
|
"markdown-it": "^14.1.0",
|
|
"marked": "^15.0.7",
|
|
"mdast": "^2.3.2",
|
|
"mdast-util-from-markdown": "^2.0.2",
|
|
"mdast-util-to-markdown": "^2.1.2",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"mkdirp": "^3.0.1",
|
|
"node-xlsx": "^0.24.0",
|
|
"object-hash": "^3.0.0",
|
|
"p-map": "^7.0.3",
|
|
"picomatch": "^4.0.2",
|
|
"potrace": "^2.1.8",
|
|
"puppeteer": "^22.3.0",
|
|
"quicktype-core": "^23.2.6",
|
|
"react-jsx-parser": "^2.3.0",
|
|
"reading-time": "^1.5.0",
|
|
"rehype-accessible-emojis": "^0.3.2",
|
|
"rehype-stringify": "^10.0.1",
|
|
"remark": "^15.0.1",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-rehype": "^11.1.1",
|
|
"remark-toc": "^9.0.0",
|
|
"sanitize-html": "^2.14.0",
|
|
"schema-dts": "^1.1.2",
|
|
"serve": "^14.2.5",
|
|
"serve-handler": "^6.1.6",
|
|
"sharp": "^0.34.5",
|
|
"showdown": "^2.1.0",
|
|
"tailwindcss": "^4.0.7",
|
|
"type-fest": "^4.34.1",
|
|
"vite": "^6.1.1",
|
|
"vite-node": "^5.2.0",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"write-file-atomic": "^6.0.0",
|
|
"xlsx": "^0.18.5",
|
|
"yargs": "^17.7.2",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/google-publisher-tag": "^1.20250210.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
"@typescript-eslint/parser": "^7.1.0",
|
|
"@vitest/coverage-v8": "^1.3.1",
|
|
"chrome-remote-interface": "^0.33.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.0",
|
|
"jest": "^29.7.0",
|
|
"micromark-util-sanitize-uri": "^2.0.1",
|
|
"normalize-url": "^8.0.1",
|
|
"prettier": "^3.2.5",
|
|
"sass-embedded": "^1.83.4",
|
|
"ts-jest": "^29.3.0",
|
|
"vitest": "^1.3.1"
|
|
}
|
|
} |