-
Notifications
You must be signed in to change notification settings - Fork 263
/
package.json
135 lines (135 loc) · 3.36 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
{
"name": "@vimeo/player",
"version": "2.23.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",
"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",
"prepublishOnly": "npm run build && git add -A dist"
},
"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",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"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.4"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.21.8",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-export-default-from": "^7.18.6",
"@babel/plugin-transform-classes": "^7.21.0",
"@babel/plugin-transform-object-assign": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.5",
"@babel/register": "^7.21.0",
"@vimeo/eslint-config-player": "^5.0.1",
"ava": "^3.15.0",
"chalk": "^4.1.0",
"chokidar": "^3.5.2",
"chokidar-cli": "^3.0.0",
"codecov": "^3.7.2",
"cross-env": "^7.0.0",
"eslint": "^7.7.0",
"eslint-plugin-ava": "^11.0.0",
"eslint-plugin-compat": "^3.5.1",
"jquery": "^3.4.1",
"jsdom": "^22.0.0",
"maxmin": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.26.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.0.0",
"sinon": "^9.0.3",
"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": [
"@babel/register",
"./test/helpers/browser-env.js"
],
"ignoredByWatcher": [
"!dist/**/*"
]
},
"nyc": {
"require": [
"@babel/register"
],
"exclude": [
"node_modules",
"src/lib/compatibility-check.js",
"test"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"Firefox ESR",
"not ie < 11"
]
}