-
Notifications
You must be signed in to change notification settings - Fork 226
/
package.json
98 lines (98 loc) · 2.63 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
{
"description": "Zhihu Video Player",
"homepage": "https://github.com/zhihu/griffith#readme",
"repository": {
"type": "git",
"url": "https://github.com/zhihu/griffith.git"
},
"private": true,
"license": "MIT",
"workspaces": {
"packages": [
"packages/*",
"example",
"website"
]
},
"keywords": [
"zhihu",
"mp4",
"fmp4",
"hls",
"react",
"video",
"dash",
"player",
"mp4box",
"component",
"hls-player",
"html5-video",
"html5-video-player",
"react-component",
"zhihu-video-player"
],
"scripts": {
"yarn:afterAllInstalled": "husky",
"lint": "eslint --cache . ",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:coverage": "yarn test --coverage",
"test:watch": "yarn test --watch --notify",
"build:lib": "lerna run build --scope 'griffith*' -- --bundleConfigAsCjs",
"deploy:website": "lerna run --scope website deploy",
"build": "yarn build:lib",
"build:watch": "lerna run build --parallel --scope 'griffith*' --ignore griffith-standalone -- --watch",
"release": "yarn build && lerna publish",
"start-server": "yarn workspace example run start",
"start": "yarn start-server"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.1.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/react": "^14.2.1",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"commitlint": "^19.2.0",
"es-jest": "^2.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup": "^4.13.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.4.2"
},
"lint-staged": {
"*.{json,md,css}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"packageManager": "[email protected]"
}