- API: `pnpm build` bundles dist/ into apps/api/.output (esbuild), with Linux musl native packages for sharp and argon2 kept alongside - docker/api.Dockerfile copies that output; no pnpm install on the server - add dist/migrate.js (prisma migrate deploy equivalent, same _prisma_migrations table and lock) so the Prisma CLI is not needed at runtime - pnpm-workspace: supportedArchitectures for linux/x64/musl - admin: apps/admin/.env.production sets VITE_SITE_URL for the production build - drop NPM_REGISTRY / SITE_URL build args from compose and .env.example - gitignore: anchor node_modules rules so pre-built node_modules are committed - README: describe the pre-built deploy flow Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"name": "motion-v",
|
|
"type": "module",
|
|
"version": "2.8.0",
|
|
"description": "",
|
|
"author": "",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/motiondivision/motion-vue",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/motiondivision/motion-vue.git"
|
|
},
|
|
"keywords": [
|
|
"vue",
|
|
"motion",
|
|
"motionone",
|
|
"framer-motion"
|
|
],
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/es/index.d.ts",
|
|
"import": "./dist/es/index.mjs"
|
|
},
|
|
"./nuxt": {
|
|
"types": "./dist/nuxt/index.d.mts",
|
|
"import": "./dist/nuxt/index.mjs"
|
|
},
|
|
"./resolver": {
|
|
"types": "./dist/resolver/index.d.mts",
|
|
"import": "./dist/resolver/index.mjs"
|
|
}
|
|
},
|
|
"main": "./dist/es/index.mjs",
|
|
"module": "./dist/es/index.mjs",
|
|
"types": "./dist/es/index.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"./dist/es/index.d.ts"
|
|
],
|
|
"nuxt": [
|
|
"./dist/nuxt/index.d.mts",
|
|
"./dist/nuxt/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"./LICENSE",
|
|
"./README.md",
|
|
"./dist"
|
|
],
|
|
"peerDependencies": {
|
|
"@vueuse/core": ">=10.0.0",
|
|
"vue": ">=3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"framer-motion": "~14.3.0",
|
|
"hey-listen": "^1.0.8",
|
|
"motion-dom": "~14.3.0",
|
|
"motion-utils": "~14.1.1"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"prebuild": "cp ../../README.md ./README.md || true",
|
|
"build": "rimraf dist && vite build",
|
|
"test": "vitest --dom",
|
|
"coverage": "vitest run --coverage",
|
|
"pub:release": "pnpm publish --access public"
|
|
}
|
|
} |