- we have a static astro website under /website. It has the implementation docs of the homepage/gaufre templates, and it handles the few API endpoints (the gaufre js, backgrounds, logos) - we have a vite app under /packages/integration. It has the react components generating the homepage and the gaufre button, and their css. Its used to generate an npm package
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "lasuite-integration-website",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build-backgrounds": "node ./bin/build-services-backgrounds.mjs",
|
|
"build": "astro check && npm run build-backgrounds && astro build",
|
|
"copy-logos": "cp -r ./node_modules/@gouvfr-lasuite/integration/dist/logos/* ./src/assets/logos",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"postinstall": "npm run copy-logos"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/check": "^0.5.10",
|
|
"@astrojs/markdown-remark": "^5.1.0",
|
|
"@astrojs/react": "^3.3.1",
|
|
"@astrojs/starlight": "^0.21.5",
|
|
"@gouvfr-lasuite/integration": "file:../packages/integration",
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/react-syntax-highlighter": "^15.5.11",
|
|
"astro": "^4.3.5",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-astro": "^0.13.0",
|
|
"prismjs": "^1.29.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-hook-form": "^7.51.3",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"remark-textr": "^6.1.0",
|
|
"sharp": "^0.33.3",
|
|
"svg-gradient": "^1.0.3",
|
|
"typescript": "^5.4.5"
|
|
}
|
|
}
|