-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
39 lines (39 loc) · 1.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "webpack-mfe",
"version": "0.0.1",
"description": "Sample webpack5 project / experiment",
"private": true,
"repository": "https://github.com/FormidableLabs/webpack-mfe",
"author": "Ryan Roemer <[email protected]>",
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"_envs": "echo [{\\\"PKG\\\":\\\"homepage\\\"},{\\\"PKG\\\":\\\"item\\\"},{\\\"PKG\\\":\\\"cart\\\"},{\\\"PKG\\\":\\\"checkout\\\"}]",
"lint": "eslint .",
"check": "yarn lint",
"check-ci": "yarn lint",
"build:pkg": "cd packages/${PKG} && yarn build",
"watch:pkg": "cd packages/${PKG} && yarn watch",
"serve:pkg": "cd packages/${PKG} && yarn serve",
"clean": "rm -rf packages/*/dist",
"build": "builder envs -l info build:pkg $(yarn -s _envs)",
"watch-and-serve:pkg": "builder concurrent watch:pkg serve:pkg",
"serve": "builder envs -l info serve:pkg $(yarn -s _envs)",
"deploy": "node scripts/deploy/surge.js",
"start": "builder envs -l info watch-and-serve:pkg $(yarn -s _envs)"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"builder": "^5.0.0",
"chalk": "^4.1.1",
"eslint": "^7.31.0",
"eslint-config-formidable": "^4.0.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-promise": "^5.1.0",
"execa": "^5.1.1",
"surge": "^0.23.0"
}
}