feat: Setup eslint and prettier
This commit is contained in:
18
package.json
18
package.json
@@ -5,14 +5,26 @@
|
||||
"start": "lerna run --stream --scope=@*/{web,backend,docs} dev",
|
||||
"start:web": "lerna run --stream --scope @*/web dev",
|
||||
"start:backend": "lerna run --stream --scope @*/backend dev",
|
||||
"lint": "eslint \"**/*.js\" \"**/*.ts\" \"**/*.tsx\"",
|
||||
"build:docs": "cd ./packages/docs && yarn install && yarn build"
|
||||
},
|
||||
"workspaces": {
|
||||
"packages": ["packages/*"],
|
||||
"nohoist": ["**/babel-loader", "**/webpack"]
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"nohoist": [
|
||||
"**/babel-loader",
|
||||
"**/webpack"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"lerna": "^4.0.0"
|
||||
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
||||
"@typescript-eslint/parser": "^5.9.1",
|
||||
"eslint": "^8.6.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"lerna": "^4.0.0",
|
||||
"prettier": "^2.5.1"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "http://localhost:5000"
|
||||
|
||||
Reference in New Issue
Block a user