diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fad08ab --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8-bom +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore index 2fc2afd..4acf6e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ -# Specifies intentionally untracked files to ignore when using Git -# http://git-scm.com/docs/gitignore - +## temp *~ *.sw[mnpcod] .tmp @@ -13,20 +11,20 @@ Thumbs.db UserInterfaceState.xcuserstate $RECYCLE.BIN/ +## log *.log log.txt npm-debug.log* +logs/ -/.idea -/.ionic -/.sass-cache -/.sourcemaps -/.versions -/.vscode/* -!/.vscode/extensions.json -/coverage -/dist -/node_modules -/platforms -/plugins -/www +## project +.idea/ +.ionic/ +.sass-cache/ +.sourcemaps/ +.versions/ +coverage/ +node_modules/ +dist/ +platforms/ +plugins/ diff --git a/packages/front-desktop/.vscode/extensions.json b/.vscode/extensions.json similarity index 100% rename from packages/front-desktop/.vscode/extensions.json rename to .vscode/extensions.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..fb02d89 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "files.encoding": "utf8bom", + "files.autoGuessEncoding": true +} diff --git a/packages/front-desktop/.gitignore b/packages/front-desktop/.gitignore deleted file mode 100644 index 2fc2afd..0000000 --- a/packages/front-desktop/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Specifies intentionally untracked files to ignore when using Git -# http://git-scm.com/docs/gitignore - -*~ -*.sw[mnpcod] -.tmp -*.tmp -*.tmp.* -*.sublime-project -*.sublime-workspace -.DS_Store -Thumbs.db -UserInterfaceState.xcuserstate -$RECYCLE.BIN/ - -*.log -log.txt -npm-debug.log* - -/.idea -/.ionic -/.sass-cache -/.sourcemaps -/.versions -/.vscode/* -!/.vscode/extensions.json -/coverage -/dist -/node_modules -/platforms -/plugins -/www diff --git a/packages/front-mobile/.gitignore b/packages/front-mobile/.gitignore deleted file mode 100644 index 2fc2afd..0000000 --- a/packages/front-mobile/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Specifies intentionally untracked files to ignore when using Git -# http://git-scm.com/docs/gitignore - -*~ -*.sw[mnpcod] -.tmp -*.tmp -*.tmp.* -*.sublime-project -*.sublime-workspace -.DS_Store -Thumbs.db -UserInterfaceState.xcuserstate -$RECYCLE.BIN/ - -*.log -log.txt -npm-debug.log* - -/.idea -/.ionic -/.sass-cache -/.sourcemaps -/.versions -/.vscode/* -!/.vscode/extensions.json -/coverage -/dist -/node_modules -/platforms -/plugins -/www diff --git a/packages/front-mobile/.vscode/extensions.json b/packages/front-mobile/.vscode/extensions.json deleted file mode 100644 index ffcebbe..0000000 --- a/packages/front-mobile/.vscode/extensions.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "recommendations": [ - "ionic.ionic" - ] -} diff --git a/readme-zh.md b/readme-zh.md index 28f4b61..51dc333 100644 --- a/readme-zh.md +++ b/readme-zh.md @@ -1,4 +1,4 @@ -# 剃刀 - 跨平台的套壳的电棍 +# 剃刀 - 跨平台的套壳的电棍 > 中文 🇨🇳 | [English 🇺🇸](readme.md) > diff --git a/readme.md b/readme.md index 79b4cfc..611aa3e 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# Razor - CrossPlatform Hybrid Starter +# Razor - CrossPlatform Hybrid Starter > English 🇺🇸 | [中文 🇨🇳](readme-zh.md) >