From e050f295aed6f304177bde828a5d2f55ebf7f2fb Mon Sep 17 00:00:00 2001 From: sorrelbri Date: Wed, 5 Feb 2020 17:14:16 -0800 Subject: [PATCH] collect dev dependencies in root package.json --- deployment.md | 4 ++-- package.json | 8 +++++++- packages/play-node-go/package.json | 5 ----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/deployment.md b/deployment.md index c82ff05..71a4cb6 100644 --- a/deployment.md +++ b/deployment.md @@ -2,7 +2,7 @@ `hk-play=https://git.heroku.com/play-node-go.git` ### Server -`$ git subtree push --prefix server hk-api master` +`$ git subtree push --prefix packages/server hk-api master` ### React -`$ git subtree push --prefix play-node-go hk-play master` +`$ git subtree push --prefix packages/play-node-go hk-play master` diff --git a/package.json b/package.json index 8503365..ab24ba3 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,12 @@ "name": "root", "private": true, "devDependencies": { - "lerna": "^3.20.2" + "lerna": "^3.20.2", + "chai": "^4.2.0", + "chai-http": "^4.3.0", + "mocha": "^7.0.0", + "@testing-library/jest-dom": "^4.2.4", + "@testing-library/react": "^9.4.0", + "react-test-renderer": "^16.12.0" } } diff --git a/packages/play-node-go/package.json b/packages/play-node-go/package.json index 93b8554..9010179 100644 --- a/packages/play-node-go/package.json +++ b/packages/play-node-go/package.json @@ -36,10 +36,5 @@ "last 1 firefox version", "last 1 safari version" ] - }, - "devDependencies": { - "@testing-library/jest-dom": "^4.2.4", - "@testing-library/react": "^9.4.0", - "react-test-renderer": "^16.12.0" } }