UNPKG

1.92 kBJSONView Raw
1{
2 "name": "@juggle/resize-observer",
3 "version": "3.3.1",
4 "description": "Polyfills the ResizeObserver API and supports box size options from the latest spec",
5 "main": "lib/exports/resize-observer.umd.js",
6 "module": "lib/exports/resize-observer.js",
7 "types": "lib/exports/resize-observer.d.ts",
8 "files": [
9 "lib/**/*.{js,ts}"
10 ],
11 "scripts": {
12 "build": "rm -rf lib && npm run build:esm && npm run build:umd",
13 "build:esm": "tsc",
14 "build:umd": "rollup -c",
15 "build:docs": "rm -f docs/*.* && parcel build docs/src/index.html --out-dir docs --public-url ./",
16 "ci-tests": "npm test -- --ci --runInBand && cat coverage/lcov.info | coveralls",
17 "test": "npm run lint && jest --coverage",
18 "lint": "eslint '{src,test}/**/*.ts'",
19 "preVersion": "npm run build-docs",
20 "prepublishOnly": "npm run build"
21 },
22 "repository": {
23 "type": "git",
24 "url": "git+ssh://git@github.com/juggle/resize-observer.git"
25 },
26 "keywords": [
27 "ResizeObserver",
28 "polyfill",
29 "ponyfill",
30 "event",
31 "resize",
32 "observer",
33 "typescript",
34 "javascript",
35 "element",
36 "component",
37 "container",
38 "queries",
39 "web components",
40 "front-end",
41 "html",
42 "Angular",
43 "React",
44 "Vue"
45 ],
46 "author": "Juggle",
47 "license": "Apache-2.0",
48 "bugs": {
49 "url": "https://github.com/juggle/resize-observer/issues"
50 },
51 "homepage": "https://juggle.studio/resize-observer/",
52 "devDependencies": {
53 "@types/jest": "^26.0.20",
54 "@typescript-eslint/eslint-plugin": "^4.15.2",
55 "@typescript-eslint/parser": "^4.15.2",
56 "core-js": "^3.9.0",
57 "coveralls": "^3.1.0",
58 "cssnano": "^4.1.10",
59 "eslint": "^7.20.0",
60 "jest": "^26.6.3",
61 "jest-cli": "^26.6.3",
62 "jest-junit": "^12.0.0",
63 "jsdom": "^16.4.0",
64 "parcel-bundler": "^1.12.4",
65 "rollup": "^2.39.1",
66 "ts-jest": "^26.5.2",
67 "typescript": "^3.9.9"
68 }
69}