-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 3.01 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
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "root",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"configs/*"
],
"scripts": {
"app:server": "lerna run --scope=@apps/server start --stream",
"app:server-dev": "lerna run --scope=@apps/server dev --stream",
"app:test": "lerna run --scope=@apps/expo-app-1 start --stream",
"app:web": "lerna run --scope=@apps/web-admin start --stream",
"expo:app": "lerna run --scope=@apps/app start --stream",
"expo:inventory": "lerna run --scope=@apps/app-inventory start --stream",
"expo:bc-movement": "lerna run --scope=@apps/bc-movement start --stream",
"expo:fp-movement": "lerna run --scope=@apps/fp-movement start --stream",
"expo:gd-movement": "lerna run --scope=@apps/gd-movement start --stream",
"expo:sales-representative": "lerna run --scope=@apps/sales-representative start --stream",
"lint": "lerna run --scope=@lib/* --scope=@apps/* lint --stream",
"lint:fix": "lerna run --scope=@lib/* --scope=@apps/* lint:fix --stream",
"prettier:fix": "lerna run --scope=@lib/* --scope=@apps/* prettier:fix --stream",
"lerna": "lerna bootstrap",
"build": "yarn build:lib && yarn build:web-admin && yarn build:server",
"build:lib": "lerna run --scope=@lib/* build --stream",
"build:server": "lerna run --scope=@apps/server build --stream",
"build:web-admin": "lerna run --scope=@apps/web-admin build --stream",
"build:web-admin-prod": "lerna run --scope=@apps/web-admin build-prod-docker --stream",
"build:web-admin-linux": "lerna run --scope=@apps/web-admin build-linux --stream",
"clean": "lerna clean",
"clean:all": "yarn clean:node-modules && yarn clean:expo-cache && yarn clean:dist",
"clean:dist": "rimraf packages/*/dist && rimraf apps/*/dist && rimraf configs/*/dist",
"clean:node-modules": "rimraf node_modules && rimraf apps/*/node_modules",
"clean:expo-cache": "rimraf apps/*/.expo packages/*/.expo",
"update": "yarn upgrade-interactive --latest",
"lint-staged-project": "lerna run --scope=@lib/* --scope=@apps/* --concurrency 1 --stream precommit --since HEAD --exclude-dependents",
"docker-compose: build&up": "sudo docker-compose up --remove-orphans --build",
"docker-compose: build": "sudo docker-compose build",
"docker-compose: up": "sudo docker-compose up --remove-orphans",
"postinstall": "node -e \"process.env.NODE_ENV != 'production' && process.exit(1)\" || husky install",
"prepare": "node -e \"process.env.NODE_ENV != 'production' && process.exit(1)\" || husky install"
},
"lint-staged": {
"package.json": [
"yarn prettier --write",
"yarn sort-package-json"
]
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@config/prettier-config": "*",
"concurrently": "^7.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.0.3",
"patch-package": "^6.5.1",
"rimraf": "^3.0.2",
"sort-package-json": "2.4.1",
"typescript": "~4.8.4",
"lerna": "^7.0.1"
},
"prettier": "@config/prettier-config"
}