mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that.
28 lines
754 B
JSON
28 lines
754 B
JSON
{
|
|
"name": "@affine/web",
|
|
"version": "0.0.0",
|
|
"description": "AFFiNE Desktop Web application",
|
|
"private": true,
|
|
"browser": "src/index.tsx",
|
|
"scripts": {
|
|
"build": "yarn workspace @affine/cli build",
|
|
"dev": "yarn workspace @affine/cli dev",
|
|
"static-server": "yarn workspace @affine/cli dev --static"
|
|
},
|
|
"dependencies": {
|
|
"@affine/component": "workspace:*",
|
|
"@affine/core": "workspace:*",
|
|
"@affine/env": "workspace:*",
|
|
"@juggle/resize-observer": "^3.4.0",
|
|
"intl-segmenter-polyfill-rs": "^0.1.7",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@affine/cli": "workspace:*",
|
|
"@types/react": "^18.2.60",
|
|
"@types/react-dom": "^18.2.19",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|