add readline-sync, shelljs, shx to package.json

This commit is contained in:
Luk 2024-11-01 13:24:05 +08:00
parent 7a8d57a276
commit cc1b942db8
3 changed files with 145 additions and 1 deletions

125
.gitignore vendored Executable file
View File

@ -0,0 +1,125 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# how to include another gitignore?
# https://stackoverflow.com/questions/7005142/can-i-include-other-gitignore-file-in-a-gitignore-file-like-include-in-c-li
# https://github.com/github/gitignore
# https://github.com/SlideWave/gitignore-include?tab=readme-ov-file#examples
# https://gitignore.io
### .gitignore.global.txt ###
# Self defined pattern to ignore
?*.gitignore
?*.gitignore/
?*.gitignore.*
?*.gitignore.*/
*.gitomit
*.gitomit.*
*.gitomit/
*.gitomit.*/
*.nogit
*.nogit.*
*.nogit/
*.nogit.*/
# 保留
!.gitignore
!.gitignore.*
!.gitkeep
# 通用
.svn/
.deploy_git/
.idea/
.sass-cache/
.wrangler/
/test/unit/coverage/
/test/e2e/reports/
node_modules/
*.aab
*.apk
*.ipa
*.rar
*.tgz
*.zip
*.min.js
*.min.css
*.min.html
*.iml
*.njsproj
*.ntvs*
*.sw*
*.sln
*.suo
.gitattributes
.umi
.umi-production
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
selenium-debug.log
Thumbs.db
thumbs.db
_desktop.ini
# vue-cli 项目
/dist/
# 来自 vue-cli 创建项目的 .gitignore
.project
# hexo
/public/
# Hardhat
/artifacts/
/cache/
# seafile 临时文件
._*
.$*
# office 暂存文件
~$*
# 用户shell配置脚本
.bashrc_custom
# 苹果系统临时文件
.DS_Store
# 安卓缓存文件夹
.thumbnails
# local env files
.env.local
.env.*.local
# hexo
/db.json
# wo
# 服务端
/_archive/*
/_datastore/*
/_filestore/*
/_logstore/*
/_webroot/*
/_ssl/*
# uniapp 客户端
/unpackage/*
!/unpackage/res/
package-lock.json
pages4loader.json5
### .gitignore.local.txt ###
# 被自动复制的文件:
/androidPrivacy.json
/App.html
/App.theme.scss
/cli-pack-config.json
/appenv.json
/manifest.json
/pages.json
*/root/tencent*.txt

14
.prettierrc.js Executable file
View File

@ -0,0 +1,14 @@
/* VSCode Prettier Prettier TrailingComma
VSCode Prettier Standard 无效似乎是集成了不能修改的配置 */
module.exports = {
printWidth: 160, // default 80
tabWidth: 2, // default 2
useTabs: false,
semi: false, // default true
singleQuote: true, // default false
trailingComma: "es5", // none (default in v 1.*), es5 (default in v2.0.0), all
bracketSpacing: true, // default true
bracketSameLine: true, // default false
arrowParens: "always", // avoid (default in v1.9.0), always (default since v2.0.0)
quoteProps: "as-needed" // as-needed (default), consistent, preserve
};

View File

@ -12,5 +12,10 @@
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC" "license": "ISC",
"devDependencies": {
"readline-sync": "^1.4.10",
"shelljs": "^0.8.5",
"shx": "^0.3.4"
}
} }