chore: adjust parameters

This commit is contained in:
chenos 2021-03-21 21:37:11 +08:00
parent 81399f6037
commit 613acb2652
7 changed files with 7 additions and 24 deletions

View File

@ -1,3 +1,3 @@
node_modules
node_modules/
.env
packages/app/.env

View File

@ -1,19 +1,10 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*]
charset = utf-8
# Indentation override for all JS under lib directory
[*.{js,ts,json}]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2

View File

@ -10,8 +10,5 @@
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
// "quotes": ["error", "single"]
}
}

View File

@ -10,7 +10,7 @@
]
},
"publish": {
"allowBranch": ["master", "develop"],
"allowBranch": "master",
"ignoreChanges": [
"*.md"
]

View File

@ -1,5 +0,0 @@
{
"watch": ["packages", ".env"],
"ext": "ts",
"exec": "ts-node ./packages/server/example/index.ts"
}

View File

@ -3,12 +3,11 @@
"private": true,
"scripts": {
"start": "cd packages/app && npm start",
"db-migrate": "cd packages/app && npm run db-migrate",
"start:app:server": "cd packages/app && nodemon",
"start-server": "yarn nodemon",
"start-server": "cd packages/app && nodemon",
"bootstrap": "lerna bootstrap --no-ci",
"build": "father-build",
"clean": "lerna clean",
"db-migrate": "cd packages/app && npm run db-migrate",
"db:start": "docker-compose up -d",
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
"test": "npm run lint && jest",

View File

@ -10,6 +10,7 @@
"resolveJsonModule": true,
"esModuleInterop": true,
"sourceMap": true,
"removeComments": false,
"baseUrl": "./",
"paths": {
}