From 6a89b265146edf689b83e2f0bf2d3d6d70eb538a Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 7 Jun 2021 20:49:55 +0200 Subject: Organized, switched from Lerna to Yarn workspaces & improved gitignore --- package.json | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'package.json') 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" } } -- cgit v1.2.3-18-g5258