first commit:
- 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
This commit is contained in:
61
packages/integration/package.json
Normal file
61
packages/integration/package.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"name": "@gouvfr-lasuite/integration",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"main": "./dist/index.umd.cjs",
|
||||
"module": "./dist/index.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.umd.cjs"
|
||||
},
|
||||
"./dist/css/*.css": {
|
||||
"import": "./dist/css/*.css",
|
||||
"require": "./dist/css/*.css"
|
||||
},
|
||||
"./dist/html/*.html": {
|
||||
"import": "./dist/html/*.html",
|
||||
"require": "./dist/html/*.html"
|
||||
},
|
||||
"./dist/logos/*.svg": {
|
||||
"import": "./dist/logos/*.svg",
|
||||
"require": "./dist/logos/*.svg"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "patch-package && tsc && vite build && concurrently \"vite build -c vite.css-config.ts\" \"vite build -c vite.html-config.ts\"",
|
||||
"prepack": "npm run build"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
"@types/react-dom": "*",
|
||||
"react": "*",
|
||||
"react-dom": "*",
|
||||
"typescript": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-syntax-import-attributes": "^7.24.1",
|
||||
"@fullhuman/postcss-purgecss": "^6.0.0",
|
||||
"@gouvfr/dsfr": "^1.11.2",
|
||||
"@types/react": "^18.2.66",
|
||||
"@types/react-dom": "^18.2.22",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"concurrently": "^8.2.2",
|
||||
"dotenv": "^16.4.5",
|
||||
"import-single-ts": "^1.0.3",
|
||||
"patch-package": "^8.0.0",
|
||||
"postcss": "^8.4.38",
|
||||
"prettier": "^3.2.5",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.0",
|
||||
"vite-plugin-dts": "^3.9.0",
|
||||
"wouter": "^3.1.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user