mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 20:19:33 +01:00
82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"name": "trpc-nuxt",
|
|
"description": "End-to-end typesafe APIs in Nuxt applications.",
|
|
"type": "module",
|
|
"packageManager": "pnpm@8.6.9",
|
|
"version": "0.10.11",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.mjs"
|
|
},
|
|
"./client": {
|
|
"types": "./dist/client/index.d.ts",
|
|
"require": "./dist/client/index.cjs",
|
|
"import": "./dist/client/index.mjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"client.d.ts"
|
|
],
|
|
"scripts": {
|
|
"dev": "tsup --watch --onSuccess \"pnpm --filter playground dev\"",
|
|
"dev:prepare": "pnpm build && nuxt prepare playground",
|
|
"prepublishOnly": "pnpm build",
|
|
"build": "tsup",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"release": "changelogen --release && npm publish && git push --follow-tags",
|
|
"update-deps": "taze -w && pnpm i"
|
|
},
|
|
"peerDependencies": {
|
|
"@trpc/client": "^10.26.0",
|
|
"@trpc/server": "^10.26.0"
|
|
},
|
|
"dependencies": {
|
|
"h3": "^1.8.0",
|
|
"ofetch": "^1.2.0",
|
|
"ohash": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@nuxt/eslint-config": "^0.1.1",
|
|
"@trpc/client": "^10.37.1",
|
|
"@trpc/server": "^10.37.1",
|
|
"changelogen": "^0.5.5",
|
|
"eslint": "^8.45.0",
|
|
"taze": "^0.11.2",
|
|
"tsup": "7.2.0",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"@nuxt/eslint-config"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"off"
|
|
],
|
|
"vue/multi-word-component-names": "off",
|
|
"vue/no-multiple-template-root": "off"
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"*.json",
|
|
"node_modules",
|
|
"*.md",
|
|
"dist",
|
|
".output"
|
|
],
|
|
"pnpm": {
|
|
"overrides": {
|
|
"nuxt": "3.6.5",
|
|
"@trpc/client": "10.37.1",
|
|
"@trpc/server": "10.37.1"
|
|
}
|
|
}
|
|
} |