Replace install-packages.js with workspaces

This commit is contained in:
ThatOneCalculator 2022-05-29 17:14:52 -07:00
parent 9d1c8b4f00
commit fd8170f1dc

View File

@ -7,9 +7,9 @@
"url": "https://github.com/misskey-dev/misskey.git"
},
"packageManager": "yarn@3.2.1",
"workspaces": ["client", "server", "sw"],
"private": true,
"scripts": {
"postinstall": "node ./scripts/install-packages.js",
"build": "node ./scripts/build.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",