2023-06-08 04:41:20 +03:00
|
|
|
{
|
|
|
|
"name": "@toeverything/infra",
|
2023-07-04 19:43:30 +03:00
|
|
|
"type": "module",
|
2023-07-18 19:53:10 +03:00
|
|
|
"module": "./dist/index.js",
|
|
|
|
"main": "./dist/index.cjs",
|
|
|
|
"types": "./dist/src/index.d.ts",
|
2023-06-08 04:41:20 +03:00
|
|
|
"exports": {
|
2023-07-04 19:43:30 +03:00
|
|
|
".": {
|
2023-07-18 19:53:10 +03:00
|
|
|
"types": "./dist/src/index.d.ts",
|
2023-07-04 19:43:30 +03:00
|
|
|
"import": "./dist/index.js",
|
|
|
|
"require": "./dist/index.cjs"
|
|
|
|
},
|
2023-08-10 22:56:16 +03:00
|
|
|
"./blocksuite": {
|
|
|
|
"types": "./dist/src/blocksuite/index.d.ts",
|
|
|
|
"import": "./dist/blocksuite.js",
|
|
|
|
"require": "./dist/blocksuite.cjs"
|
|
|
|
},
|
2023-09-22 17:31:26 +03:00
|
|
|
"./command": {
|
|
|
|
"types": "./dist/src/command/index.d.ts",
|
|
|
|
"import": "./dist/command.js",
|
|
|
|
"require": "./dist/command.cjs"
|
|
|
|
},
|
2023-07-04 19:43:30 +03:00
|
|
|
"./core/*": {
|
2023-07-18 19:53:10 +03:00
|
|
|
"types": "./dist/src/core/*.d.ts",
|
2023-07-04 19:43:30 +03:00
|
|
|
"import": "./dist/core/*.js",
|
|
|
|
"require": "./dist/core/*.cjs"
|
2023-06-08 04:41:20 +03:00
|
|
|
},
|
2023-07-04 19:43:30 +03:00
|
|
|
"./preload/*": {
|
2023-07-18 19:53:10 +03:00
|
|
|
"types": "./dist/src/preload/*.d.ts",
|
2023-07-04 19:43:30 +03:00
|
|
|
"import": "./dist/preload/*.js",
|
|
|
|
"require": "./dist/preload/*.cjs"
|
2023-08-03 11:48:59 +03:00
|
|
|
},
|
|
|
|
"./atom": {
|
|
|
|
"type": "./dist/src/atom.d.ts",
|
|
|
|
"import": "./dist/atom.js",
|
|
|
|
"require": "./dist/atom.cjs"
|
|
|
|
},
|
|
|
|
"./type": {
|
|
|
|
"type": "./dist/src/type.d.ts",
|
|
|
|
"import": "./dist/type.js",
|
|
|
|
"require": "./dist/type.cjs"
|
|
|
|
},
|
2023-08-08 03:58:31 +03:00
|
|
|
"./__internal__/*": {
|
|
|
|
"type": "./dist/src/__internal__/*.d.ts",
|
|
|
|
"import": "./dist/__internal__/*.js",
|
|
|
|
"require": "./dist/__internal__/*.cjs"
|
2023-07-04 19:43:30 +03:00
|
|
|
}
|
2023-06-08 04:41:20 +03:00
|
|
|
},
|
2023-07-04 19:43:30 +03:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2023-06-08 04:41:20 +03:00
|
|
|
"scripts": {
|
|
|
|
"build": "vite build",
|
|
|
|
"dev": "vite build --watch"
|
|
|
|
},
|
2023-08-03 11:48:59 +03:00
|
|
|
"dependencies": {
|
|
|
|
"@affine/sdk": "workspace:*",
|
2023-11-22 15:51:35 +03:00
|
|
|
"@blocksuite/blocks": "0.0.0-20231122113751-6bf81eb3-nightly",
|
|
|
|
"@blocksuite/global": "0.0.0-20231122113751-6bf81eb3-nightly",
|
|
|
|
"@blocksuite/store": "0.0.0-20231122113751-6bf81eb3-nightly",
|
2023-10-10 20:51:47 +03:00
|
|
|
"jotai": "^2.4.3",
|
2023-11-03 12:42:29 +03:00
|
|
|
"jotai-effect": "^0.2.2",
|
2023-09-22 17:31:26 +03:00
|
|
|
"tinykeys": "^2.1.0",
|
2023-10-10 20:51:47 +03:00
|
|
|
"zod": "^3.22.4"
|
2023-08-03 11:48:59 +03:00
|
|
|
},
|
2023-06-08 04:41:20 +03:00
|
|
|
"devDependencies": {
|
2023-10-10 20:51:47 +03:00
|
|
|
"@affine-test/fixtures": "workspace:*",
|
2023-10-17 09:15:55 +03:00
|
|
|
"@affine/templates": "workspace:*",
|
2023-11-22 15:51:35 +03:00
|
|
|
"@blocksuite/editor": "0.0.0-20231122113751-6bf81eb3-nightly",
|
2023-10-10 20:51:47 +03:00
|
|
|
"@testing-library/react": "^14.0.0",
|
2023-07-04 19:43:30 +03:00
|
|
|
"async-call-rpc": "^6.3.1",
|
2023-10-18 18:30:08 +03:00
|
|
|
"electron": "link:../../frontend/electron/node_modules/electron",
|
2023-10-10 20:51:47 +03:00
|
|
|
"nanoid": "^5.0.1",
|
2023-08-03 11:48:59 +03:00
|
|
|
"react": "^18.2.0",
|
2023-10-10 20:51:47 +03:00
|
|
|
"rxjs": "^7.8.1",
|
|
|
|
"vite": "^4.4.11",
|
2023-10-13 23:40:07 +03:00
|
|
|
"vite-plugin-dts": "3.6.0",
|
2023-10-10 20:51:47 +03:00
|
|
|
"vitest": "0.34.6",
|
2023-09-19 23:16:05 +03:00
|
|
|
"yjs": "^13.6.8"
|
2023-06-08 13:33:14 +03:00
|
|
|
},
|
2023-07-04 19:43:30 +03:00
|
|
|
"peerDependencies": {
|
2023-08-10 22:56:16 +03:00
|
|
|
"@affine/templates": "*",
|
|
|
|
"@blocksuite/editor": "*",
|
2023-07-04 19:43:30 +03:00
|
|
|
"async-call-rpc": "*",
|
2023-08-03 11:48:59 +03:00
|
|
|
"electron": "*",
|
2023-08-28 08:31:56 +03:00
|
|
|
"react": "*",
|
|
|
|
"yjs": "^13"
|
2023-07-04 19:43:30 +03:00
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
2023-08-10 22:56:16 +03:00
|
|
|
"@affine/templates": {
|
|
|
|
"optional": true
|
|
|
|
},
|
2023-08-03 11:48:59 +03:00
|
|
|
"@blocksuite/editor": {
|
|
|
|
"optional": true
|
|
|
|
},
|
2023-07-04 19:43:30 +03:00
|
|
|
"async-call-rpc": {
|
|
|
|
"optional": true
|
|
|
|
},
|
|
|
|
"electron": {
|
|
|
|
"optional": true
|
2023-08-03 11:48:59 +03:00
|
|
|
},
|
|
|
|
"react": {
|
|
|
|
"optional": true
|
2023-08-28 08:31:56 +03:00
|
|
|
},
|
|
|
|
"yjs": {
|
|
|
|
"optional": true
|
2023-07-04 19:43:30 +03:00
|
|
|
}
|
|
|
|
},
|
2023-11-21 05:02:46 +03:00
|
|
|
"version": "0.10.3-canary.0"
|
2023-06-08 04:41:20 +03:00
|
|
|
}
|