-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
50 lines (50 loc) · 1.57 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
40
41
42
43
44
45
46
47
48
49
50
{
"name": "react-monorepo-starter",
"version": "0.1.0",
"description": "Monorepo to bootstrap React app with module federation and shared components",
"author": "Bohdan Koval <bohkoval@gmail.com>",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"packages/@config/*",
"e2e",
"infra"
],
"scripts": {
"analyze": "turbo analyze",
"build": "turbo build",
"build:local": "cross-env HOST_BASE_URL=\"http://localhost:3333/\" turbo build",
"serve:local:remotes": "serve -l 3333 -s --cors",
"serve:local:main": "serve apps/main/dist -l 80 -s --cors",
"serve:local:start": "npm-run-all --parallel serve:local:remotes serve:local:main",
"serve:local": "npm-run-all build:local serve:local:start",
"dev": "turbo dev",
"lint": "turbo lint",
"lint:fix": "turbo lint:fix",
"test": "turbo test",
"test:ci": "turbo test:ci",
"test:watch": "turbo test:watch",
"e2e:start": "turbo e2e",
"e2e": "npm-run-all build:local e2e:start",
"e2e:show-report": "turbo e2e:show-report",
"format": "prettier --config ./.prettierrc.json --write .",
"clean": "rimraf apps/*/node_modules packages/*/node_modules pnpm-lock.yaml node_modules"
},
"devDependencies": {
"@config/eslint-config": "workspace:*",
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"rimraf": "^4.0.7",
"serve": "^14.1.2",
"turbo": "^1.7.0"
},
"engines": {
"node": ">=16.0.0",
"pnpm": ">=7.25.0"
},
"packageManager": "pnpm@7.25.0"
}