fix: 移除 lint 脚本中的单引号以兼容 Windows
This commit is contained in:
+3
-3
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user