forked from vimeo/player.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 3.21 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
{
"name": "@vimeo/player",
"version": "2.12.1",
"description": "Interact with and control an embedded Vimeo Player.",
"license": "MIT",
"author": "Vimeo <https://vimeo.com>",
"scripts": {
"clean": "rimraf dist/*",
"prebuild": "npm run clean -s",
"build": "cross-env BABEL_ENV=production node rollup.js",
"lint": "eslint src/ test/",
"test": "nyc --cache --reporter=text --reporter=html ava",
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"watch:build": "npm run build -- --watch",
"watch:lint": "chokidar 'src/**/*.js' 'test/**/*.js' -c 'eslint {path}'",
"watch:test": "ava --watch",
"watch": "run-s watch:**",
"preversion": "npm test",
"version": "npm run build && git add -A dist",
"postversion": "git branch -f latest master",
"push-release": "git push origin master latest && git push --tags"
},
"main": "dist/player.js",
"module": "dist/player.es.js",
"jsnext:main": "dist/player.es.js",
"directories": {
"lib": "src/"
},
"files": [
"src",
"dist"
],
"repository": "vimeo/player.js",
"bugs": "https://github.com/vimeo/player.js/issues",
"keywords": [
"vimeo",
"player",
"api",
"iframe",
"embed",
"video",
"javascript",
"postMessage"
],
"dependencies": {
"native-promise-only": "0.8.1",
"weakmap-polyfill": "2.0.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-export-default-from": "^7.8.3",
"@babel/plugin-transform-classes": "^7.8.3",
"@babel/plugin-transform-object-assign": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.3",
"@vimeo/eslint-config-player": "^5.0.1",
"ava": "1.3.0",
"chalk": "^3.0.0",
"chokidar": "^3.3.1",
"chokidar-cli": "^2.1.0",
"codecov": "^3.6.5",
"cross-env": "^7.0.0",
"eslint": "^6.8.0",
"eslint-plugin-ava": "^6.0.0",
"eslint-plugin-compat": "^3.5.1",
"esm": "^3.2.25",
"jquery": "^3.4.1",
"jsdom": "^15.2.1",
"maxmin": "^2.1.0",
"npm-run-all": "^4.1.5",
"nyc": "^14.0.0",
"rimraf": "^3.0.2",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.0.0",
"sinon": "^7.2.4",
"uglify-js": "^3.7.7",
"xhr2": "0.2.0"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"shippedProposals": true
}
]
],
"env": {
"test": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/transform-runtime"
],
"sourceMaps": "inline"
}
}
},
"ava": {
"require": [
"esm",
"@babel/register",
"./test/helpers/browser-env.js"
],
"sources": [
"!dist/**/*"
]
},
"nyc": {
"require": [
"esm",
"@babel/register"
],
"exclude": [
"node_modules",
"src/lib/compatibility-check.js",
"test"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"Firefox ESR",
"not ie < 11"
]
}