AFFiNE/package.json
2023-02-19 08:40:39 +00:00

69 lines
2.3 KiB
JSON

{
"name": "AFFiNE",
"version": "0.3.0",
"private": true,
"author": "toeverything",
"license": "MPL-2.0",
"scripts": {
"dev": "pnpm --filter @affine/app dev",
"dev:ac": "cross-env NODE_API_SERVER=ac pnpm --filter @affine/app dev",
"dev:local": "cross-env NODE_API_SERVER=local pnpm --filter @affine/app dev",
"build": "pnpm --filter @affine/app build",
"build:client": " pnpm --filter=@affine/client-app build:app",
"build:storybook": " pnpm -r build-storybook",
"export": "pnpm --filter @affine/app export",
"start": "pnpm --filter @affine/app start",
"lint": "eslint . --ext .js,.ts,.mts,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.mts,.tsx --fix",
"test": "playwright test",
"test:coverage": "cross-env COVERAGE=true pnpm test -- --forbid-only",
"test:unit": "vitest --run",
"test:unit:coverage": "vitest run --coverage",
"postinstall": "husky install",
"notify": "node --experimental-modules scripts/notify.mjs",
"update:core": "pnpm up @blocksuite/*@nightly !@blocksuite/icons -r"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
"*.{ts,tsx,js,jsx}": "npx eslint --cache --fix"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@playwright/test": "^1.30.0",
"@testing-library/react": "^14.0.0",
"@types/eslint": "^8.21.1",
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-istanbul": "^0.28.5",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"fake-indexeddb": "4.0.1",
"got": "^12.5.3",
"happy-dom": "^8.5.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.5",
"vite": "^4.1.2",
"vitest": "^0.28.5"
},
"pnpm": {
"patchedDependencies": {
"@tauri-apps/api@1.2.0": "patches/@tauri-apps__api@1.2.0.patch",
"next@13.1.6": "patches/next@13.1.0.patch"
}
}
}