Replace install-packages.js with workspaces

This commit is contained in:
ThatOneCalculator 2022-05-29 17:14:52 -07:00
parent eb9fbc99e1
commit 30396139bc

View file

@ -7,9 +7,9 @@
"url": "https://github.com/misskey-dev/misskey.git" "url": "https://github.com/misskey-dev/misskey.git"
}, },
"packageManager": "yarn@3.2.1", "packageManager": "yarn@3.2.1",
"workspaces": ["client", "server", "sw"],
"private": true, "private": true,
"scripts": { "scripts": {
"postinstall": "node ./scripts/install-packages.js",
"build": "node ./scripts/build.js", "build": "node ./scripts/build.js",
"start": "cd packages/backend && node --experimental-json-modules ./built/index.js", "start": "cd packages/backend && node --experimental-json-modules ./built/index.js",
"start:test": "cd packages/backend && cross-env NODE_ENV=test node --experimental-json-modules ./built/index.js", "start:test": "cd packages/backend && cross-env NODE_ENV=test node --experimental-json-modules ./built/index.js",