117 lines
2.5 KiB
JSON
117 lines
2.5 KiB
JSON
{
|
|
"name": "autumn-js",
|
|
"description": "Autumn JS Library",
|
|
"version": "1.0.0-beta.1",
|
|
"repository": "github:useautumn/autumn-js",
|
|
"homepage": "https://docs.useautumn.com",
|
|
"main": "./dist/sdk/index.js",
|
|
"module": "./dist/sdk/index.mjs",
|
|
"types": "./dist/sdk/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE.md"
|
|
],
|
|
"scripts": {
|
|
"ts": "bunx tsgo --noEmit --skipLibCheck",
|
|
"build": "rm -rf dist && tsup",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/sdk/index.d.ts",
|
|
"require": "./dist/sdk/index.js",
|
|
"import": "./dist/sdk/index.mjs"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/react/index.d.ts",
|
|
"require": "./dist/react/index.js",
|
|
"import": "./dist/react/index.mjs"
|
|
},
|
|
"./backend": {
|
|
"types": "./dist/backend/index.d.ts",
|
|
"require": "./dist/backend/index.js",
|
|
"import": "./dist/backend/index.mjs"
|
|
},
|
|
"./backend/hono": {
|
|
"types": "./dist/backend/adapters/hono.d.ts",
|
|
"require": "./dist/backend/adapters/hono.js",
|
|
"import": "./dist/backend/adapters/hono.mjs"
|
|
},
|
|
"./backend/next": {
|
|
"types": "./dist/backend/adapters/next.d.ts",
|
|
"require": "./dist/backend/adapters/next.js",
|
|
"import": "./dist/backend/adapters/next.mjs"
|
|
},
|
|
"./better-auth": {
|
|
"types": "./dist/better-auth/index.d.ts",
|
|
"require": "./dist/better-auth/index.js",
|
|
"import": "./dist/better-auth/index.mjs"
|
|
}
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"react": [
|
|
"./dist/react/index.d.ts"
|
|
],
|
|
"backend": [
|
|
"./dist/backend/index.d.ts"
|
|
],
|
|
"backend/hono": [
|
|
"./dist/backend/adapters/hono.d.ts"
|
|
],
|
|
"backend/next": [
|
|
"./dist/backend/adapters/next.d.ts"
|
|
],
|
|
"better-auth": [
|
|
"./dist/better-auth/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"keywords": [
|
|
"pricing",
|
|
"autumn",
|
|
"js-sdk"
|
|
],
|
|
"author": "John Yeo",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"query-string": "^9.2.2",
|
|
"rou3": "^0.6.1",
|
|
"zod": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@useautumn/sdk": "workspace:*",
|
|
"@tanstack/react-query": "catalog:",
|
|
"@types/node": "^22.15.32",
|
|
"@types/react": "^19",
|
|
"esbuild-plugin-path-alias": "^1.0.7",
|
|
"hono": "^4.7.9",
|
|
"next": "^15.2.3",
|
|
"react-dom": "^19.1.0",
|
|
"tsup": "^8.4.0",
|
|
"tsgo": "catalog:",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@tanstack/react-query": "^5.0.0",
|
|
"better-auth": "^1.3.17",
|
|
"better-call": "^1.0.12",
|
|
"react": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@tanstack/react-query": {
|
|
"optional": true
|
|
},
|
|
"react": {
|
|
"optional": true
|
|
},
|
|
"better-auth": {
|
|
"optional": true
|
|
},
|
|
"better-call": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|