-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.23 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "x-oasis",
"version": "0.1.35",
"description": "A collection of utility libraries",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ryuever/x-oasis.git"
},
"scripts": {
"clean": "turbo clean",
"build": "turbo build",
"test": "CI=true pnpm run -r test",
"alpha": "bump --branch",
"lint": "eslint --ext js,ts,tsx .",
"prepare": "husky install",
"version": "changeset version && pnpm install --no-frozen-lockfile",
"preinstall": "npx only-allow pnpm"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"private": true,
"bump": {
"changelog": {
"enable": true,
"skipUnstable": true
},
"before": [
"git pull --rebase",
"pnpm i",
"npm run build"
],
"publish": true,
"allowed_branches": [
{
"name": ".*?-alpha",
"disallowTypes": [
"premajor",
"preminor",
"prepatch",
"prerelease",
"patch",
"minor",
"major"
]
},
{
"name": "main",
"disallowTypes": [
"premajor",
"preminor",
"prepatch",
"prerelease"
]
}
],
"mode": "monorepo",
"packages": [
"packages/**"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --ignore-path ./.gitignore --write "
]
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"packageManager": "[email protected]",
"author": "youchao liu",
"license": "ISC",
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@innei/bump-version": "1.5.10",
"@innei/eslint-config-ts": "^0.9.8",
"@testing-library/jest-dom": "^5.11.10",
"@types/node": "^16",
"@vitest/coverage-istanbul": "^0.29.2",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.8.4",
"rimraf": "^3.0.2",
"tslib": "^2.3.1",
"turbo": "^2.0.6",
"typescript": "4.8.3",
"vite": "^4.1.4",
"vitest": "^0.29.2"
},
"bugs": {
"url": "https://github.com/ryuever/x-oasis/issues"
},
"homepage": "https://github.com/ryuever/x-oasis#readme"
}