-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
155 lines (155 loc) · 4.58 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
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "react-player",
"version": "2.10.1",
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"clean": "rimraf lib lazy demo coverage *.d.ts",
"start": "webpack-dev-server --config webpack/config.babel.js",
"lint": "standard --verbose | snazzy",
"lint:fix": "standard --fix",
"lint:ts": "ts-standard --verbose types/*.d.ts | snazzy",
"lint:ts:fix": "ts-standard --fix types/*.d.ts",
"test": "cross-env NODE_ENV=test ava",
"test:coverage": "cross-env NODE_ENV=test nyc ava",
"test:codecov": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
"build:lib": "cross-env NODE_ENV=production babel src -d lib --ignore src/demo",
"build:lazy": "cross-env NODE_ENV=production LAZY=true babel src -d lazy --ignore src/demo",
"build:demo": "cross-env NODE_ENV=production webpack --config webpack/production.babel.js",
"build:dist": "cross-env NODE_ENV=production webpack --config webpack/dist.babel.js",
"build:standalone": "cross-env NODE_ENV=production webpack --config webpack/standalone.babel.js && node scripts/standalone-es6.js",
"preversion": "npm run lint && npm run test",
"version": "auto-changelog -p && npm run build:dist && npm run build:standalone && git add CHANGELOG.md dist",
"prepublishOnly": "npm run build:lib && npm run build:lazy && npm run build:dist && node scripts/pre-publish.js && cp -r types/* .",
"postpublish": "node scripts/post-publish.js && npm run clean"
},
"repository": {
"type": "git",
"url": "https://github.com/CookPete/react-player.git"
},
"keywords": [
"react",
"media",
"player",
"video",
"audio",
"youtube",
"facebook",
"twitch",
"soundcloud",
"streamable",
"vimeo",
"wistia",
"dailymotion",
"hls",
"dash",
"react-component"
],
"author": "Pete Cook (https://github.com/cookpete)",
"license": "MIT",
"bugs": {
"url": "https://github.com/CookPete/react-player/issues"
},
"homepage": "https://github.com/CookPete/react-player",
"peerDependencies": {
"react": ">=16.6.0"
},
"devDependencies": {
"@ava/babel": "^1.0.1",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/register": "^7.9.0",
"@hot-loader/react-dom": "^16.13.0",
"@types/node": "^14.0.24",
"@types/react": "^17.0.0",
"auto-changelog": "^2.0.0",
"autoprefixer": "^9.7.6",
"ava": "^3.6.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
"codecov": "^3.6.5",
"cross-env": "^7.0.2",
"css-loader": "^3.5.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.2.0",
"mini-css-extract-plugin": "^0.9.0",
"nyc": "^15.0.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-advanced-variables": "^3.0.1",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.1.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.20",
"rimraf": "^3.0.2",
"sanitize.css": "^11.0.0",
"screenfull": "^5.0.2",
"sinon": "^9.0.2",
"snazzy": "^8.0.0",
"standard": "^14.3.3",
"style-loader": "^1.0.0",
"ts-standard": "^9.0.0",
"typescript": "^4.1.2",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"deepmerge": "^4.0.0",
"load-script": "^1.0.0",
"memoize-one": "^5.1.1",
"prop-types": "^15.7.2",
"react-fast-compare": "^3.0.1"
},
"postcss": {
"plugins": {
"autoprefixer": {},
"postcss-advanced-variables": {},
"postcss-nested": {}
}
},
"standard": {
"parser": "babel-eslint",
"ignore": [
"/dist/*"
]
},
"ava": {
"files": [
"test/**/*",
"!test/helpers"
],
"require": [
"@babel/register",
"@babel/polyfill"
],
"babel": {
"compileAsTests": [
"test/helpers/*"
]
}
},
"nyc": {
"all": true,
"include": "src",
"sourceMap": false,
"instrument": false,
"report-dir": "./coverage",
"temp-directory": "./coverage/.nyc_output",
"reporter": [
"text",
"html"
]
},
"auto-changelog": {
"breakingPattern": "Breaking changes:"
}
}