-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.96 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@ahmic/minimon",
"version": "0.0.1",
"description": "Simple system monitor",
"author": {
"name": "Kasim Ahmić",
"email": "[email protected]",
"url": "https://kasimahmic.com/"
},
"private": true,
"license": "AGPL-3.0-or-later",
"workspaces": {
"packages": [
"packages/minimon-core",
"packages/minimon-server",
"packages/minimon-client"
]
},
"scripts": {
"init": "yarn && lerna bootstrap && lerna link && yarn prepare && yarn build:core",
"init:ci": "yarn --frozen-lockfile && lerna bootstrap && lerna link",
"prepare": "husky install",
"start:core": "yarn workspace @ahmic/minimon-core start:dev",
"start:server": "yarn workspace @ahmic/minimon-server start:dev",
"start:client": "yarn workspace @ahmic/minimon-client start:dev",
"start": "concurrently \"yarn start:core\" \"yarn start:server\" \"yarn start:client\" -n \" Core , Server , Client \" -c \"yellow,green,cyan\"",
"lint:core": "yarn workspace @ahmic/minimon-core lint",
"lint:server": "yarn workspace @ahmic/minimon-server lint",
"lint:client": "yarn workspace @ahmic/minimon-client lint",
"lint": "",
"test:core": "yarn workspace @ahmic/minimon-core test --watchAll=false --coverage",
"test:server": "yarn workspace @ahmic/minimon-server test --watchAll=false --coverage",
"test:client": "yarn workspace @ahmic/minimon-client test --watchAll=false --coverage",
"test": "yarn test:core && yarn test:server && yarn test:client",
"build:core": "yarn workspace @ahmic/minimon-core build",
"build:server": "yarn workspace @ahmic/minimon-server build",
"build:server:ci": "yarn workspace @ahmic/minimon-server build:ci",
"build:client": "yarn workspace @ahmic/minimon-client build",
"build": "yarn build:core && yarn build:client && yarn build:server",
"build:ci": "yarn build:core && yarn build:client && yarn build:server:ci",
"reset:core": "yarn workspace @ahmic/minimon-core reset",
"reset:server": "yarn workspace @ahmic/minimon-server reset",
"reset:client": "yarn workspace @ahmic/minimon-client reset",
"reset": "concurrently \"yarn reset:core\" \"yarn reset:server\" \"yarn reset:client\" -n \" Core , Server , Client \" -c \"yellow,green,cyan\" && rimraf ./node_modules && yarn run init",
"pre-commit": "lint-staged",
"commit-msg": "commitlint --edit"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"concurrently": "^7.2.2",
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"lerna": "^5.1.6",
"lint-staged": "^13.0.3",
"pkg": "^5.8.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"always",
[
"sentence-case"
]
]
}
},
"lint-staged": {
"packages/**/src/**/*.{js,css,md,ts,tsx}": "prettier --write"
}
}