adding npm workspaces

This commit is contained in:
2024-05-21 18:18:27 -05:00
parent 4fc0401ddf
commit dd51e144a6
14 changed files with 14109 additions and 37 deletions

27
package.json Normal file
View File

@@ -0,0 +1,27 @@
{
"name": "@noahspan/flying",
"version": "1.0.0",
"workspaces": [
"api",
"client"
],
"scripts": {
"format": "prettier --write \"**/src/**/*.ts\" \"**/test/**/*.ts\"",
"lint": "npm run lint -w api && npm run lint -w client",
"prepare": "husky"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "3.2.5"
},
"lint-staged": {
"**/*": "prettier --write \"**/src/**/*.ts\" \"**/test/**/*.ts\" --ignore-unknown"
}
}