diff options
author | HampusM <hampus@hampusmat.com> | 2021-06-07 20:49:55 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-06-07 20:49:55 +0200 |
commit | 6a89b265146edf689b83e2f0bf2d3d6d70eb538a (patch) | |
tree | 603778c01cd067a98ffb341f1f22e2b7e0f42845 /package.json | |
parent | 833c48b9ec5f5b9aa0302c557c6bf5163841100b (diff) |
Organized, switched from Lerna to Yarn workspaces & improved gitignore
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/package.json b/package.json index 3a72ebb..87dd2a1 100644 --- a/package.json +++ b/package.json @@ -5,15 +5,20 @@ "author": "HampusMat", "private": true, "scripts": { - "postinstall": "lerna bootstrap", - "clean": "lerna clean && rm -rf node_modules && rm -rf dist", - "dev": "concurrently -k --kill-others-on-fail \"cd packages/client && yarn serve\" \"cd packages/server && nodemon --exitcrash src/app.js\"", - "build": "cd packages/client && yarn build", - "start": "node packages/server/src/app.js" + "clean": "rm -rf node_modules dist packages/*/node_modules packages/*/dist", + "dev": "concurrently -k --kill-others-on-fail \"cd packages/client && yarn serve\" \"cd packages/server && yarn dev\"", + "build": "cd packages/client && yarn build && cd ../server && yarn tsc", + "start": "node packages/server/dist/app.js" }, + "workspaces": [ + "packages/*" + ], "devDependencies": { "concurrently": "^6.2.0", - "lerna": "^4.0.0", - "nodemon": "^2.0.7" + "eslint": "^7.28.0", + "eslint-config-standard": "^16.0.3", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-promise": "^5.1.0", + "eslint-plugin-standard": "^5.0.0" } } |