-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"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": "pnpm --filter @affine/app lint",
"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:blocksuite": "pnpm i --filter @affine/app --filter @affine/datacenter @blocksuite/blocks@nightly @blocksuite/store@nightly && pnpm i --filter @affine/app @blocksuite/editor@nightly"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
"*.{ts,tsx,js,jsx}": "npx eslint --cache --fix"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@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",
"@vitest/coverage-istanbul": "^0.28.5",
"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",
"lint-staged": "^13.1.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"typescript": "^4.9.5",
"vitest": "^0.28.5"
},
"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": [
"package/**/dist/*",
"package/**/.babelrc.js",
"package/**/sync.js",
"src/**/*.test.ts",
"**/webpack.config.js",
"**/scripts/*.js",
"**/node_modules/**",
".github/**",
"**/__tests__/**",
"**/tests/**"
]
},
"pnpm": {
"patchedDependencies": {
"@tauri-apps/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]"
}
}
}