-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
118 lines (118 loc) · 3.13 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "iris-web-mono",
"private": true,
"description": "iris web",
"scripts": {
"prepare": "husky install",
"build": "pnpm -F iris-web-rtc run build && pnpm -F iris-web-rtc-fake run build",
"test": "pnpm -F iris-web-rtc run test",
"lint": "eslint --ext .ts,.tsx . && prettier --check .",
"lint:fix": "eslint --fix --ext .ts,.tsx . && prettier --write .",
"typecheck": "pnpm -F iris-web-rtc run typecheck",
"terra": "cd scripts/terra &&yarn terra",
"start": "sh ./scripts/build_local_dev.sh",
"release": "release-it"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup",
"esbuild"
]
},
"overrides": {
"nodeunit": "npm:[email protected]"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
}
},
"devDependencies": {
"@commitlint/config-conventional": "^17.6.7",
"@release-it/conventional-changelog": "^7.0.1",
"@types/eslint": "^8.44.2",
"@types/node": "^18.17.9",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"commitlint": "^17.6.7",
"cross-env": "^7.0.3",
"eslint": "8.4.1",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-auto-import": "0.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^3.0.0",
"husky": "^8.0.3",
"prettier": "2.0.5",
"release-it": "^16.1.3",
"lint-staged": "^14.0.0",
"tsup": "^7.1.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"cross-env NODE_ENV=development eslint --cache"
],
"*.json,.{eslintrc,prettierrc}": [
"prettier --ignore-path .eslintignore --parser json --write"
],
"*.{css,scss}": [
"prettier --ignore-path .eslintignore --write"
],
"*.{html,md,mdx,yml}": [
"prettier --ignore-path .eslintignore --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"requireCleanWorkingDir": false,
"tagName": "v${version}"
},
"npm": {
"publish": false,
"allowSameVersion": true
},
"github": {
"release": true
},
"hooks": {
"before:init": "git fetch --prune --prune-tags origin",
"before:git:release": "git reset HEAD package.json"
},
"plugins": {
"@release-it/conventional-changelog": {
"header": "# IRIS_WEB",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "docs",
"section": "Documentation"
}
]
},
"infile": "CHANGELOG.md"
}
}
}
}