-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.29 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
{
"name": "get-media-size",
"version": "2.0.1",
"description": "Get the real size of an <img>, <video>, or <canvas> in the browser.",
"keywords": [
"browser",
"canvas",
"context",
"dom",
"image",
"img",
"media",
"video"
],
"repository": "fregante/get-media-size",
"license": "MIT",
"author": "Federico Brigante <[email protected]> (bfred.it)",
"files": [
"dist/get-media-size.common-js.js",
"dist/get-media-size.es-modules.js"
],
"main": "dist/get-media-size.common-js.js",
"module": "dist/get-media-size.es-modules.js",
"jsnext:main": "dist/get-media-size.es-modules.js",
"scripts": {
"build": "npm-run-all --silent jsfix build:*",
"build:js": "bfred-npm-bundler get-media-size getMediaSize",
"jsfix": "xo --fix",
"prepublish": "npm run build",
"test": "xo && ava; npm run build",
"watch": "npm-run-all --parallel --silent watch:*",
"watch:build": "onchange 'index.js' --initial -- npm run build -- --continue-on-error",
"watch:test": "ava --watch"
},
"xo": {
"env": [
"browser"
],
"esnext": true
},
"devDependencies": {
"ava": "*",
"bfred-npm-bundler": "^7.1.2",
"npm-run-all": "^3.1.0",
"onchange": "^3.0.0",
"xo": "^0.16.0"
},
"ava": {
"timeout": "2s"
}
}