fix: 移除 lint 脚本中的单引号以兼容 Windows
CI / test (18.x) (push) Successful in 9m59s
CI / test (20.x) (push) Successful in 10m0s
CI / test (22.x) (push) Successful in 9m58s
CI / test (24.x) (push) Successful in 9m56s

This commit is contained in:
thzxx
2026-07-25 13:02:30 +08:00
parent b5c670ece3
commit 62a94b8b1d
+3 -3
View File
@@ -26,9 +26,9 @@
"dev": "rollup -c -w", "dev": "rollup -c -w",
"test": "jest --coverage", "test": "jest --coverage",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"lint": "eslint 'src/**/*.ts'", "lint": "eslint src/**/*.ts",
"lint:fix": "eslint 'src/**/*.ts' --fix", "lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'", "format": "prettier --write src/**/*.ts tests/**/*.ts",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"prepublishOnly": "npm run typecheck && npm run lint && npm test && npm run build", "prepublishOnly": "npm run typecheck && npm run lint && npm test && npm run build",
"docs": "typedoc src/ --out docs", "docs": "typedoc src/ --out docs",