forked from zhihu/griffith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.55 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
{
"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": {
"lint": "eslint --cache . ",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch --notify",
"build:lib": "lerna run build --scope griffith*",
"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": "^7.5.0",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-typescript": "^8.2.5",
"@testing-library/react": "^12.1.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"commitlint": "^7.5.2",
"es-jest": "^1.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^1.3.1",
"jest": "^27.1.0",
"lerna": "^3.13.1",
"lint-staged": "^8.1.5",
"prettier": "^2.3.2",
"react-test-renderer": "^17.0.2",
"rollup": "^2.48.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.4.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{json,md,css}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}