-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
142 lines (142 loc) · 4.12 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "agora-rtc-react-mono",
"private": true,
"description": "Agora RTC React SDK",
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"scripts": {
"prepare": "husky install",
"build": "pnpm -r run build",
"start": "pnpm run example",
"storybook": "pnpm -F agora-rtc-react run storybook",
"build-storybook": "pnpm -F agora-rtc-react run build-storybook",
"test": "pnpm -r run test",
"lint": "eslint --ext .ts,.tsx . && prettier --check .",
"lint:fix": "eslint --fix --ext .ts,.tsx . && prettier --write .",
"example": "pnpm -F agora-rtc-react-example run start",
"renew": "pnpm -r run renew",
"copy-docs": "esbuild-dev ./scripts/copy-docs.ts",
"gene-docs": "pnpm -r run gene-docs",
"typedoc": "pnpm -r run typedoc",
"release": "release-it"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.6.7",
"@hyrious/esbuild-dev": "^0.10.4",
"@release-it/conventional-changelog": "^7.0.1",
"@testing-library/react": "^14.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@types/minimist": "^1.2.2",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"agora-token": "^2.0.3",
"commitlint": "^17.6.7",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"lint-staged": "^14.0.0",
"markdown-it": "^13.0.1",
"minimist": "^1.2.8",
"prettier": "^2.8.8",
"release-it": "^16.1.3",
"vite": "^4.5.3",
"vitest": "^0.34.6",
"vitest-canvas-mock": "^0.3.3",
"@ngneat/falso": "^6.4.0",
"@storybook/addon-actions": "7.0.26",
"@storybook/addon-essentials": "^7.0.26",
"@storybook/addon-interactions": "^7.0.26",
"@storybook/addon-links": "^7.0.26",
"@storybook/blocks": "^7.0.26",
"@storybook/builder-vite": "^7.0.26",
"@storybook/preview-api": "7.0.26",
"@storybook/react": "^7.0.26",
"@storybook/react-vite": "^7.0.26",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.7",
"@types/testing-library__jest-dom": "^5.14.8",
"agora-rtc-sdk-ng": "4.22.0",
"agora-rtc-sdk-ng-fake": "github:AgoraIO-Extensions/agora-rtc-sdk-ng-fake#semver:^1.0.4",
"react-test-renderer": "^18.2.0",
"storybook": "^7.0.26",
"tsup": "^7.1.0",
"typedoc": "^0.25.13",
"typescript": "^5.1.6"
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run test",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup",
"esbuild"
]
},
"//": "https://github.com/AgoraIO/Tools/issues/304",
"overrides": {
"nodeunit": "npm:noop-package@1.0.0"
},
"patchedDependencies": {
"seedrandom@3.0.5": "patches/seedrandom@3.0.5.patch"
}
},
"release-it": {
"git": {
"commitMessage": "docs: update CHANGELOG.md",
"requireCleanWorkingDir": false
},
"npm": false,
"github": {
"release": false
},
"hooks": {
"before:git:release": "git reset HEAD package.json"
},
"plugins": {
"@release-it/conventional-changelog": {
"header": "# agora-rtc-react",
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
}