Skip to content

Commit

Permalink
chore: 添加windows环境下开发配置和cross-env依赖 (#1347)
Browse files Browse the repository at this point in the history
代码更新需要重新install一次
  • Loading branch information
王锦辉 authored Jul 27, 2020
1 parent ad2684b commit 3d760b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"trailingComma": "es5",
"bracketSpacing": true,
"printWidth": 120,
"arrowParens": "always"
"arrowParens": "always",
"endOfLine": "auto"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"lint": "eslint --ext .ts ./src ./__tests__",
"lint-staged": "lint-staged",
"test": "jest",
"test-live": "DEBUG_MODE=1 jest --watch ./__tests__",
"test-live": "cross-env DEBUG_MODE=1 jest --watch ./__tests__",
"coverage": "jest --coverage",
"ci": "run-s lint build coverage",
"changelog": "conventional-changelog -i CHANGELOG.md -a -s",
Expand Down Expand Up @@ -63,6 +63,7 @@
"@typescript-eslint/parser": "^2.0.0",
"babel-loader": "^8.1.0",
"conventional-changelog-cli": "^2.0.28",
"cross-env": "^7.0.2",
"dumi": "^1.0.33",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
Expand Down

0 comments on commit 3d760b6

Please sign in to comment.