-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.14 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.14 KB
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
{
"name": "resize-observer",
"version": "1.0.4",
"description": "An implementation and polyfill of the Resize Observer draft.",
"main": "lib/ResizeObserver.js",
"unpkg": "dist/resize-observer.min.js",
"typings": "lib/ResizeObserver.d.ts",
"scripts": {
"browserify:dev": "browserify lib/index.js -o dist/resize-observer.js",
"browserify:prod": "browserify lib/index.js | uglifyjs -c --mangle --safari10 --ecma 5 -o dist/resize-observer.min.js",
"build": "yarn clean && tsc && yarn browserify:dev && yarn browserify:prod",
"clean": "rm -rf coverage dist lib",
"coveralls": "yarn test-cov -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.js' && echo Lint passed.",
"test": "yarn lint && yarn build && mocha",
"test-cov": "istanbul cover _mocha",
"prepack": "yarn test",
"preversion": "yarn test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pelotoncycle/resize-observer.git"
},
"keywords": [
"ResizeObserver",
"polyfill",
"ponyfill",
"element-resize"
],
"author": "Mike Deverell <mike@onepeloton.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/pelotoncycle/resize-observer/issues"
},
"homepage": "https://github.com/pelotoncycle/resize-observer#readme",
"browserify": {
"standalone": "ResizeObserver",
"transform": [
[
"babelify",
{
"presets": [
[
"env",
{
"targets": {
"browsers": [
"last 3 versions"
]
}
}
]
]
}
]
]
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^16.1.1",
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"istanbul": "^0.4.3",
"jsdom": "^18.1.0",
"mocha": "^2.5.3",
"mocha-lcov-reporter": "^1.2.0",
"mock-raf": "^1.0.0",
"sinon": "^1.17.4",
"tslint": "^5.11.0",
"typescript": "^3.0.1",
"uglify-es": "^3.3.9"
}
}