forked from mediaelement/mediaelement-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 10.8 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
{
"name": "mediaelement-plugins",
"version": "2.2.2",
"repository": {
"type": "git",
"url": "https://github.com/mediaelement/mediaelement-plugins.git"
},
"bugs": {
"url": "https://github.com/mediaelement/mediaelement-plugins/issues"
},
"private": false,
"devDependencies": {
"autoprefixer": "^6.5.1",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-preset-env": "^1.4.0",
"babel-register": "^6.18.0",
"babelify": "^7.3.0",
"browserify": "^13.1.1",
"browserify-derequire": "^0.9.4",
"browserify-versionify": "^1.0.6",
"bundle-collapser": "^1.2.1",
"cssnano": "^3.8.0",
"cssnano-cli": "^1.0.5",
"eslint": "^3.16.0",
"postcss": "^5.2.17",
"postcss-cli": "^3.1.1",
"uglify-js": "^2.4.21"
},
"scripts": {
"ads": "eslint src/ads && postcss --no-map -u autoprefixer -r src/ads/ads.css && cp src/ads/ads.css dist/ads/ads.css && cssnano dist/ads/ads.css dist/ads/ads.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/ads/ads.js > dist/ads/ads.js && uglifyjs dist/ads/ads.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/ads/ads.min.js && cp src/ads/ads-i18n.js dist/ads",
"vast": "eslint src/ads-vast-vpaid && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/ads-vast-vpaid/ads-vast-vpaid.js > dist/ads-vast-vpaid/ads-vast-vpaid.js && uglifyjs dist/ads-vast-vpaid/ads-vast-vpaid.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/ads-vast-vpaid/ads-vast-vpaid.min.js",
"context": "eslint src/context && postcss --no-map -u autoprefixer -r src/context-menu/context-menu.css && cp src/context-menu/context-menu.css dist/context-menu/context-menu.css && cssnano dist/context-menu/context-menu.css dist/context-menu/context-menu.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/context-menu/context-menu.js > dist/context-menu/context-menu.js && uglifyjs dist/context-menu/context-menu.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/context-menu/context-menu.min.js",
"ga": "eslint src/google-analytics && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/google-analytics/google-analytics.js > dist/google-analytics/google-analytics.js && uglifyjs dist/google-analytics/google-analytics.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/google-analytics/google-analytics.min.js",
"fbpixel": "eslint src/facebook-pixel && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/facebook-pixel/facebook-pixel.js > dist/facebook-pixel/facebook-pixel.js && uglifyjs dist/facebook-pixel/facebook-pixel.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/facebook-pixel/facebook-pixel.min.js",
"cast": "eslint src/chromecast && postcss --no-map -u autoprefixer -r src/chromecast/chromecast.css && cp src/chromecast/chromecast.css dist/chromecast/chromecast.css && cssnano dist/chromecast/chromecast.css dist/chromecast/chromecast.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/chromecast/chromecast.js > dist/chromecast/chromecast.js && uglifyjs dist/chromecast/chromecast.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/chromecast/chromecast.min.js",
"jump": "eslint src/jump-forward && postcss --no-map -u autoprefixer -r src/jump-forward/jump-forward.css && cp src/jump-forward/jump-forward.css dist/jump-forward/jump-forward.css && cssnano dist/jump-forward/jump-forward.css dist/jump-forward/jump-forward.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/jump-forward/jump-forward.js > dist/jump-forward/jump-forward.js && uglifyjs dist/jump-forward/jump-forward.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/jump-forward/jump-forward.min.js && cp src/jump-forward/jump-forward-i18n.js dist/jump-forward",
"loop": "eslint src/loop && postcss --no-map -u autoprefixer -r src/loop/loop.css && cp src/loop/loop.css dist/loop/loop.css && cssnano dist/loop/loop.css dist/loop/loop.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/loop/loop.js > dist/loop/loop.js && uglifyjs dist/loop/loop.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/loop/loop.min.js && cp src/loop/loop-i18n.js dist/loop",
"markers": "eslint src/markers && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/markers/markers.js > dist/markers/markers.js && uglifyjs dist/markers/markers.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/markers/markers.min.js",
"postroll": "eslint src/postroll && postcss --no-map -u autoprefixer -r src/postroll/postroll.css && cp src/postroll/postroll.css dist/postroll/postroll.css && cssnano dist/postroll/postroll.css dist/postroll/postroll.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/postroll/postroll.js > dist/postroll/postroll.js && uglifyjs dist/postroll/postroll.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/postroll/postroll.min.js && cp src/postroll/postroll-i18n.js dist/postroll",
"skip": "eslint src/skip-back && postcss --no-map -u autoprefixer -r src/skip-back/skip-back.css && cp src/skip-back/skip-back.css dist/skip-back/skip-back.css && cssnano dist/skip-back/skip-back.css dist/skip-back/skip-back.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/skip-back/skip-back.js > dist/skip-back/skip-back.js && uglifyjs dist/skip-back/skip-back.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/skip-back/skip-back.min.js && cp src/skip-back/skip-back-i18n.js dist/skip-back",
"chooser": "eslint src/source-chooser && postcss --no-map -u autoprefixer -r src/source-chooser/source-chooser.css && cp src/source-chooser/source-chooser.css dist/source-chooser/source-chooser.css && cssnano dist/source-chooser/source-chooser.css dist/source-chooser/source-chooser.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/source-chooser/source-chooser.js > dist/source-chooser/source-chooser.js && uglifyjs dist/source-chooser/source-chooser.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/source-chooser/source-chooser.min.js && cp src/source-chooser/source-chooser-i18n.js dist/source-chooser",
"speed": "eslint src/speed && postcss --no-map -u autoprefixer -r src/speed/speed.css && cp src/speed/speed.css dist/speed/speed.css && cssnano dist/speed/speed.css dist/speed/speed.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/speed/speed.js > dist/speed/speed.js && uglifyjs dist/speed/speed.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/speed/speed.min.js && cp src/speed/speed-i18n.js dist/speed",
"stop": "eslint src/stop && postcss --no-map -u autoprefixer -r src/stop/stop.css && cp src/stop/stop.css dist/stop/stop.css && cssnano dist/stop/stop.css dist/stop/stop.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/stop/stop.js > dist/stop/stop.js && uglifyjs dist/stop/stop.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/stop/stop.min.js && cp src/stop/stop-i18n.js dist/stop",
"preview": "eslint src/preview && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/preview/preview.js > dist/preview/preview.js && uglifyjs dist/preview/preview.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/preview/preview.min.js",
"airplay": "eslint src/airplay && postcss --no-map -u autoprefixer -r src/airplay/airplay.css && cp src/airplay/airplay.css dist/airplay/airplay.css && cssnano dist/airplay/airplay.css dist/airplay/airplay.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/airplay/airplay.js > dist/airplay/airplay.js && uglifyjs dist/airplay/airplay.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/airplay/airplay.min.js",
"quality": "eslint src/quality && postcss --no-map -u autoprefixer -r src/quality/quality.css && cp src/quality/quality.css dist/quality/quality.css && cssnano dist/quality/quality.css dist/quality/quality.min.css && browserify -t browserify-versionify -t [babelify] -p browserify-derequire -p bundle-collapser/plugin src/quality/quality.js > dist/quality/quality.js && uglifyjs dist/quality/quality.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,pure_funcs=['console.log'] -m --screw-ie8 > dist/quality/quality.min.js"
},
"dependencies": {
"global": "^4.3.1",
"mediaelement": "^4.0.7"
},
"browserify": {
"extensions": [
".js"
],
"transform": [
[
"babelify",
{
"presets": [
["env", {
"targets": {
"browsers": ["last 5 versions", "ie >= 9", "ios >= 8", "android >= 4"]
}
}]
]
}
]
]
}
}