forked from module-federation/module-federation-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
21 lines (21 loc) · 846 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "dynamic-remotes-node",
"description": "Dynamic Remotes on server side with Node Federation",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"serve": "concurrently 'serve -s app1/dist -l 3001' 'serve -s app2/dist -l 3002'",
"build": "rimraf dist/server && concurrently 'cd app1; webpack --config ./webpack.config.js' 'cd runtime-container; webpack --config ./webpack.config.js' 'cd app2; webpack --config ./webpack.config.js'",
"start": "pnpm build && concurrently 'pnpm serve' 'sleep 5 && node app1/dist/main.js'",
"import-remote": "node import-remote.js"
},
"dependencies": {
"@module-federation/node": "^0.16.0",
"@module-federation/utilities": "^1.5.0",
"concurrently": "^8.0.1",
"webpack": "5.89.0",
"rimraf": "^5.0.5",
"webpack-cli": "^5.1.4"
}
}