AFFiNE/packages/infra/package.json
2023-07-27 14:42:44 -07:00

51 lines
1.1 KiB
JSON

{
"name": "@toeverything/infra",
"type": "module",
"module": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./core/*": {
"types": "./dist/src/core/*.d.ts",
"import": "./dist/core/*.js",
"require": "./dist/core/*.cjs"
},
"./preload/*": {
"types": "./dist/src/preload/*.d.ts",
"import": "./dist/preload/*.js",
"require": "./dist/preload/*.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch"
},
"devDependencies": {
"async-call-rpc": "^6.3.1",
"electron": "link:../../apps/electron/node_modules/electron",
"vite": "^4.4.7",
"vite-plugin-dts": "3.3.1"
},
"peerDependencies": {
"async-call-rpc": "*",
"electron": "*"
},
"peerDependenciesMeta": {
"async-call-rpc": {
"optional": true
},
"electron": {
"optional": true
}
},
"version": "0.7.0-canary.56"
}