generated from xiaokyo/lerna-packages-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
60 lines (60 loc) · 1.7 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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "git@github.com:xiaokyo/xiaokyo-packages.git"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"@vercel/node": "^2.14.3",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-customizable": "^6.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"lerna": "^4.0.0",
"lerna-changelog": "^2.1.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"typescript": "^4.3.5"
},
"scripts": {
"release": "lerna publish patch --yes",
"release:minor": "lerna publish minor --yes",
"release:majoy": "lerna publish majoy --yes",
"release:beta": "lerna publish --canary --preid beta --yes",
"release:package": "lerna publish from-package --yes",
"release:version": "git pull && lerna version patch --yes",
"dev": "lerna run --stream --sort dev",
"build": "lerna run --stream --sort build",
"clean": "lerna clean --yes",
"lint": "eslint \"packages/**/*.+(ts|tsx)\"",
"lint:fix": "eslint \"packages/**/*.+(ts|tsx)\" --fix",
"prepare": "husky install",
"precommit": "lint-staged",
"c": "git add . && git-cz",
"commit-msg": "commitlint -e -V"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --ext .ts,tsx --fix",
"prettier --write",
"git add ."
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"version": "0.0.0"
}