mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-27 02:44:49 +03:00
6645e98a1b
Conflicts: package.json packages/app/src/components/create-workspace/index.tsx packages/app/src/components/workspace-modal/index.tsx packages/app/src/components/workspace-modal/languageMenu.tsx packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx packages/app/src/components/workspace-slider-bar/index.tsx packages/app/src/pages/_app.tsx pnpm-lock.yaml
78 lines
2.5 KiB
JSON
78 lines
2.5 KiB
JSON
{
|
|
"name": "AFFiNE",
|
|
"version": "0.3.0",
|
|
"private": true,
|
|
"author": "toeverything",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development pnpm --filter=!@affine/app build && pnpm --filter @affine/app dev",
|
|
"dev:ac": "pnpm --filter=!@affine/app build && cross-env NODE_API_SERVER=ac pnpm --filter @affine/app dev",
|
|
"dev:local": "pnpm --filter=!@affine/app build && cross-env NODE_API_SERVER=local pnpm --filter @affine/app dev",
|
|
"build": " pnpm --filter=!@affine/app build && pnpm --filter!=@affine/datacenter -r build",
|
|
"build:client": " pnpm --filter=@affine/client-app build:app",
|
|
"export": "pnpm --filter @affine/app export",
|
|
"start": "pnpm --filter @affine/app start",
|
|
"lint": "pnpm --filter @affine/app lint",
|
|
"test": "playwright test",
|
|
"test:dc": "pnpm --filter @affine/datacenter test",
|
|
"test:e2e:codegen": "npx playwright codegen http://localhost:8080",
|
|
"test:unit": "playwright test --config=playwright.config.unit.ts",
|
|
"postinstall": "husky install",
|
|
"notify": "node --experimental-modules scripts/notify.mjs",
|
|
"check:ci": "pnpm lint & pnpm test"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --write --ignore-unknown",
|
|
"*.{ts,tsx,js,jsx}": "npx eslint --cache --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.26.0",
|
|
"@jest/globals": "^29.3.1",
|
|
"@playwright/test": "^1.29.1",
|
|
"@types/eslint": "^8.4.10",
|
|
"@types/node": "^18.11.17",
|
|
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
|
"@typescript-eslint/parser": "^5.47.0",
|
|
"concurrently": "^7.6.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.30.0",
|
|
"eslint-config-next": "12.3.1",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"fake-indexeddb": "4.0.1",
|
|
"got": "^12.5.3",
|
|
"husky": "^8.0.2",
|
|
"jest": "^29.3.1",
|
|
"lint-staged": "^13.1.0",
|
|
"prettier": "^2.7.1",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": [
|
|
"./tsconfig.json"
|
|
]
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": "warn"
|
|
},
|
|
"reportUnusedDisableDirectives": true,
|
|
"ignorePatterns": [
|
|
"src/**/*.test.ts",
|
|
"package/**/dist/*",
|
|
"package/**/sync.js"
|
|
]
|
|
}
|
|
}
|