Skip to content

Commit

Permalink
build: have lerna install things into individual folders again
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Aug 15, 2020
1 parent 1054686 commit 9b142a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"name": "u-wave-hub",
"dependencies": {
"u-wave-announce": "file:plugin",
"u-wave-hub-client": "file:client",
"u-wave-hub-server": "file:server"
},
"devDependencies": {
"@babel/eslint-parser": "^7.11.3",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.0",
"eslint": "^7.6.0",
"eslint-config-airbnb": "^18.2.0",
Expand All @@ -16,13 +10,13 @@
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"lerna": "^3.19.0",
"micro-dev": "^3.0.0"
"lerna": "^3.19.0"
},
"private": true,
"scripts": {
"build": "lerna run --stream build",
"start": "cross-env HUB_SERVER=http://localhost:6451 lerna run --no-prefix --stream --scope u-wave-hub-client dev & micro-dev server/src/index.js -p 6451",
"postinstall": "lerna bootstrap",
"start": "cross-env HUB_SERVER=http://localhost:6451 lerna run --no-prefix --stream dev",
"test": "eslint ."
},
"workspaces": [
Expand Down
5 changes: 4 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
"sodium-signatures": "^2.0.0",
"sse-writer": "^3.0.0"
},
"devDependencies": {
"micro-dev": "^3.0.0"
},
"scripts": {
"start": "node bin/u-wave-hub.js",
"dev": "npm start"
"dev": "micro-dev src/index.js -p 6451"
}
}

0 comments on commit 9b142a8

Please sign in to comment.