forked from vimeo/player.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.25 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
{
"name": "@vimeo/player",
"version": "2.10.0",
"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.0"
},
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-syntax-export-default-from": "^7.2.0",
"@babel/plugin-transform-classes": "^7.3.3",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"@vimeo/eslint-config-player": "^5.0.1",
"ava": "1.2.1",
"chalk": "^2.4.2",
"chokidar": "^2.1.2",
"chokidar-cli": "^1.2.2",
"codecov": "^3.2.0",
"cross-env": "^5.2.0",
"eslint": "^5.14.1",
"eslint-plugin-ava": "^5.0.0",
"eslint-plugin-compat": "^2.7.0",
"esm": "^3.2.5",
"greenkeeper-postpublish": "^2.0.0",
"jquery": "^3.3.1",
"jsdom": "^13.2.0",
"maxmin": "^2.1.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.3.0",
"rimraf": "^2.6.3",
"rollup": "^1.2.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"sinon": "^7.2.4",
"uglify-js": "^3.4.9",
"xhr2": "0.1.4"
},
"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"
]
}