2023-01-04 12:16:26 +03:00
|
|
|
{
|
|
|
|
"name": "@affine/client-app",
|
|
|
|
"private": true,
|
|
|
|
"version": "0.0.0",
|
|
|
|
"type": "module",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"module": "true",
|
|
|
|
"scripts": {
|
2023-02-09 13:08:31 +03:00
|
|
|
"dev:app": "pnpm build:preload && cross-env NODE_ENV=development tauri dev",
|
2023-02-01 03:55:13 +03:00
|
|
|
"dev:prerequisite": "concurrently \"cd ../packages/data-center && pnpm dev\" \"cd ../packages/app && pnpm dev\"",
|
2023-01-05 09:57:40 +03:00
|
|
|
"build:prerequisite": "pnpm build:submodules && pnpm build:rs-types && pnpm build:affine && pnpm build:preload",
|
2023-01-04 12:16:26 +03:00
|
|
|
"dev:web": "vite",
|
|
|
|
"build:rs-types": "zx scripts/generateTsTypingsFromJsonSchema.mjs",
|
|
|
|
"build:web": "tsc && vite build",
|
|
|
|
"build:submodules": "zx scripts/buildSubModules.mjs",
|
2023-01-04 12:54:19 +03:00
|
|
|
"build:affine": "zx scripts/buildAffine.mjs",
|
2023-01-04 12:16:26 +03:00
|
|
|
"build:preload": "esbuild src/preload/index.ts --outdir=public/preload",
|
|
|
|
"build:app": "tauri build",
|
|
|
|
"preview": "vite preview"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-01-04 16:04:06 +03:00
|
|
|
"@blocksuite/store": "^0.3.1",
|
2023-01-04 12:16:26 +03:00
|
|
|
"@emotion/react": "^11.10.5",
|
|
|
|
"@emotion/styled": "^11.10.5",
|
|
|
|
"@tauri-apps/api": "^1.2.0",
|
|
|
|
"json-schema-to-typescript": "^11.0.2",
|
|
|
|
"lib0": "^0.2.58",
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
"react-is": "^18.2.0",
|
|
|
|
"react-router": "^6.5.0",
|
|
|
|
"react-router-dom": "^6.5.0",
|
|
|
|
"y-protocols": "^1.0.5",
|
|
|
|
"yjs": "^13.5.43"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@tauri-apps/cli": "^1.2.2",
|
|
|
|
"@types/node": "^18.11.17",
|
|
|
|
"@types/react": "^18.0.26",
|
|
|
|
"@types/react-dom": "^18.0.9",
|
|
|
|
"@typescript-eslint/eslint-plugin": "5.47.0",
|
|
|
|
"@typescript-eslint/parser": "5.47.0",
|
2023-02-01 03:55:13 +03:00
|
|
|
"concurrently": "^7.6.0",
|
2023-01-04 12:16:26 +03:00
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"esbuild": "^0.16.10",
|
|
|
|
"eslint": "8.30.0",
|
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-config-standard": "^17.0.0",
|
|
|
|
"eslint-config-standard-with-typescript": "24.0.0",
|
|
|
|
"eslint-import-resolver-alias": "1.1.2",
|
|
|
|
"eslint-import-resolver-typescript": "3.5.2",
|
|
|
|
"eslint-plugin-autofix": "1.1.0",
|
|
|
|
"eslint-plugin-html": "7.1.0",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-n": "^15.6.0",
|
|
|
|
"eslint-plugin-node": "11.1.0",
|
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-react": "7.31.11",
|
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
|
|
"eslint-plugin-security": "1.5.0",
|
|
|
|
"eslint-plugin-security-node": "1.1.1",
|
|
|
|
"eslint-plugin-typescript-sort-keys": "2.1.0",
|
|
|
|
"eslint-plugin-unicorn": "45.0.2",
|
|
|
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
|
|
"prettier": "2.8.1",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"typescript": "^4.9.4",
|
|
|
|
"typesync": "^0.9.2",
|
|
|
|
"vite": "^4.0.2",
|
|
|
|
"zx": "^7.1.1"
|
|
|
|
}
|
|
|
|
}
|