152 lines
4.1 KiB
JSON
152 lines
4.1 KiB
JSON
{
|
|
"name": "@zen/core",
|
|
"version": "1.3.38",
|
|
"description": "Un CMS Next.js construit sur l'essentiel, rien de plus, rien de moins.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.hyko.cx/zen/core.git"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://git.hyko.cx/api/packages/zen/npm/"
|
|
},
|
|
"license": "GPL-3.0-only",
|
|
"author": "Hyko",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"files": [
|
|
"dist",
|
|
".env.example"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup && npm run build:css",
|
|
"build:css": "mkdir -p ./dist/shared/styles ./dist/shared/fonts && cp ./src/shared/styles/zen.css ./dist/shared/styles/zen.css && cp -r ./src/shared/fonts/. ./dist/shared/fonts/",
|
|
"prepublishOnly": "npm run build",
|
|
"release": "npm version patch --no-git-tag-version && npm i && git add package.json package-lock.json && git commit -m \"chore: bump version to $(node -p \"require('./package.json').version\")\" && npm publish"
|
|
},
|
|
"bin": {
|
|
"zen-db": "./dist/core/database/cli.js"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^2.0.0",
|
|
"@react-email/components": "^0.5.6",
|
|
"@react-pdf/renderer": "^4.3.1",
|
|
"dotenv": "^16.4.5",
|
|
"node-cron": "^3.0.3",
|
|
"pg": "^8.11.3",
|
|
"resend": "^3.2.0",
|
|
"stripe": "^14.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^6.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"next": ">=14.0.0",
|
|
"react": "^19.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./features/auth": {
|
|
"import": "./dist/features/auth/index.js"
|
|
},
|
|
"./features/auth/actions": {
|
|
"import": "./dist/features/auth/actions.js"
|
|
},
|
|
"./features/auth/pages": {
|
|
"import": "./dist/features/auth/pages.js"
|
|
},
|
|
"./features/auth/page": {
|
|
"import": "./dist/features/auth/page.js"
|
|
},
|
|
"./features/auth/components": {
|
|
"import": "./dist/features/auth/components/index.js"
|
|
},
|
|
"./features/admin": {
|
|
"import": "./dist/features/admin/index.js"
|
|
},
|
|
"./features/admin/actions": {
|
|
"import": "./dist/features/admin/actions.js"
|
|
},
|
|
"./features/admin/navigation": {
|
|
"import": "./dist/features/admin/navigation.server.js"
|
|
},
|
|
"./features/admin/pages": {
|
|
"import": "./dist/features/admin/pages.js"
|
|
},
|
|
"./features/admin/page": {
|
|
"import": "./dist/features/admin/page.js"
|
|
},
|
|
"./features/provider": {
|
|
"import": "./dist/features/provider/index.js"
|
|
},
|
|
"./users": {
|
|
"import": "./dist/core/users/index.js"
|
|
},
|
|
"./users/constants": {
|
|
"import": "./dist/core/users/constants.js"
|
|
},
|
|
"./api": {
|
|
"import": "./dist/core/api/index.js"
|
|
},
|
|
"./zen/api": {
|
|
"import": "./dist/core/api/route-handler.js"
|
|
},
|
|
"./database": {
|
|
"import": "./dist/core/database/index.js"
|
|
},
|
|
"./storage": {
|
|
"import": "./dist/core/storage/index.js"
|
|
},
|
|
"./email": {
|
|
"import": "./dist/core/email/index.js"
|
|
},
|
|
"./email/templates": {
|
|
"import": "./dist/core/email/templates/index.js"
|
|
},
|
|
"./cron": {
|
|
"import": "./dist/core/cron/index.js"
|
|
},
|
|
"./stripe": {
|
|
"import": "./dist/core/payments/stripe.js"
|
|
},
|
|
"./payments": {
|
|
"import": "./dist/core/payments/index.js"
|
|
},
|
|
"./pdf": {
|
|
"import": "./dist/core/pdf/index.js"
|
|
},
|
|
"./toast": {
|
|
"import": "./dist/core/toast/index.js"
|
|
},
|
|
"./themes": {
|
|
"import": "./dist/core/themes/index.js"
|
|
},
|
|
"./shared/components": {
|
|
"import": "./dist/shared/components/index.js"
|
|
},
|
|
"./shared/icons": {
|
|
"import": "./dist/shared/Icons.js"
|
|
},
|
|
"./shared/lib/metadata": {
|
|
"import": "./dist/shared/lib/metadata/index.js"
|
|
},
|
|
"./shared/logger": {
|
|
"import": "./dist/shared/lib/logger.js"
|
|
},
|
|
"./shared/config": {
|
|
"import": "./dist/shared/lib/appConfig.js"
|
|
},
|
|
"./shared/rate-limit": {
|
|
"import": "./dist/shared/lib/rateLimit.js"
|
|
},
|
|
"./styles/zen.css": {
|
|
"default": "./dist/shared/styles/zen.css"
|
|
}
|
|
}
|
|
}
|