Move test dependencies to separate package

Move the depenedncies needed to run the tests into test/package.json and
manage it using lerna.  This should make it easier to selectively
install only what's needed to run the software.
This commit is contained in:
Hornwitser committed 2021-05-07 17:39:21 +02:00
1 parent ea645da3cb
commit ef0218ddfe
11 files changed
+62 -31

No files matched your search

+3 -2
View File
@@ -6,7 +6,7 @@
"version": "2.0.0-alpha.5",
"main": "master.js",
"scripts": {
"build": "webpack-cli --env.production",
"build": "webpack-cli --env production",
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
@@ -40,7 +40,8 @@
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"webpack-cli": "^3.3.12",
"webpack": "^5.36.2",
"webpack-cli": "^4.7.0",
"webpack-dev-middleware": "^4.1.0",
"webpack-merge": "^5.2.0"
},
+1 -1
View File
@@ -20,7 +20,7 @@
"dependencies": {
"@clusterio/lib": "^2.0.0-alpha.5",
"fs-extra": "^8.1.0",
"phin": "^3.4.1",
"phin": "^3.5.1",
"pidusage": "^2.0.18",
"set-blocking": "^2.0.0",
"winston": "^3.3.3",
+2 -1
View File
@@ -34,7 +34,8 @@
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"style-loader": "^2.0.0",
"util": "^0.12.3"
"util": "^0.12.3",
"webpack": "^5.36.2"
},
"publishConfig": {
"access": "public"