mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 18:16:15 +08:00
chore: update lint script to include the .mjs (#1267)
This commit is contained in:
+5
-6
@@ -9,19 +9,18 @@
|
||||
"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",
|
||||
"build:client": "pnpm --filter @affine/client-app build:app",
|
||||
"build:storybook": "pnpm -r build-storybook",
|
||||
"export": "pnpm --filter @affine/app export",
|
||||
"export:rem": "pnpm --filter @affine/rem export",
|
||||
"start": "pnpm --filter @affine/app start",
|
||||
"lint": "eslint . --ext .js,.ts,.mts,.tsx",
|
||||
"lint:fix": "eslint . --ext .js,.ts,.mts,.tsx --fix",
|
||||
"lint": "eslint . --ext .js,mjs,.ts,.tsx",
|
||||
"lint:fix": "pnpm lint --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",
|
||||
"notify": "node scripts/notify.mjs",
|
||||
"update:core": "pnpm up @blocksuite/*@nightly !@blocksuite/icons -r"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
Reference in New Issue
Block a user