package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "resize-observer-polyfill",
  3. "author": "Denis Rul <que.etc@gmail.com>",
  4. "version": "1.5.1",
  5. "description": "A polyfill for the Resize Observer API",
  6. "main": "dist/ResizeObserver.js",
  7. "module": "dist/ResizeObserver.es.js",
  8. "scripts": {
  9. "build": "rollup -c && cpy src/index.js.flow dist --rename=ResizeObserver.js.flow",
  10. "test": "npm run test:lint && npm run test:spec",
  11. "test:ci": "npm run test:lint && npm run test:spec:sauce && npm run test:spec:node",
  12. "test:ci:pull": "npm run test:lint && karma start --browsers Firefox && npm run test:spec:node",
  13. "test:lint": "node ./node_modules/eslint/bin/eslint.js \"**/*.js\" --ignore-pattern \"/dist/\"",
  14. "test:spec": "karma start --browsers Chrome && npm run test:spec:node",
  15. "test:spec:sauce": "karma start --sauce=windows && karma start --sauce=linux && karma start --sauce=osx",
  16. "test:spec:node": "npm run build && node tests/node/index.js",
  17. "test:spec:custom": "karma start --no-browsers",
  18. "test:spec:native": "karma start --no-browsers --native"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "https://github.com/que-etc/resize-observer-polyfill.git"
  23. },
  24. "license": "MIT",
  25. "bugs": {
  26. "url": "https://github.com/que-etc/resize-observer-polyfill/issues"
  27. },
  28. "types": "src/index.d.ts",
  29. "files": [
  30. "src/",
  31. "dist/"
  32. ],
  33. "keywords": [
  34. "ResizeObserver",
  35. "resize",
  36. "observer",
  37. "util",
  38. "client",
  39. "browser",
  40. "polyfill",
  41. "ponyfill"
  42. ],
  43. "homepage": "https://github.com/que-etc/resize-observer-polyfill",
  44. "devDependencies": {
  45. "babel-eslint": "10.0.1",
  46. "cpy-cli": "2.0.0",
  47. "eslint": "5.10.0",
  48. "jasmine": "2.8.0",
  49. "jasmine-core": "2.8.0",
  50. "karma": "3.1.3",
  51. "karma-chrome-launcher": "2.2.0",
  52. "karma-firefox-launcher": "1.1.0",
  53. "karma-jasmine": "1.1.2",
  54. "karma-jasmine-html-reporter": "0.2.2",
  55. "karma-rollup-preprocessor": "6.1.1",
  56. "karma-sauce-launcher": "1.2.0",
  57. "karma-sourcemap-loader": "0.3.7",
  58. "karma-spec-reporter": "0.0.32",
  59. "promise-polyfill": "8.1.0",
  60. "rollup": "0.67.4",
  61. "rollup-plugin-typescript": "1.0.0",
  62. "typescript": "3.2.2"
  63. }
  64. }