package.json 920 B

12345678910111213141516171819202122232425262728
  1. {
  2. "name": "dialog-polyfill",
  3. "version": "0.5.6",
  4. "description": "Polyfill for the dialog element",
  5. "main": "dist/dialog-polyfill.js",
  6. "module": "dist/dialog-polyfill.esm.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/GoogleChrome/dialog-polyfill.git"
  10. },
  11. "author": "The Chromium Authors",
  12. "license": "BSD",
  13. "homepage": "https://github.com/GoogleChrome/dialog-polyfill",
  14. "devDependencies": {
  15. "chai": "^4.2.0",
  16. "mocha": "^6.0.2",
  17. "npm-run-all": "^4.1.5",
  18. "rollup": "^1.3.0"
  19. },
  20. "scripts": {
  21. "build": "npm-run-all -p build:*",
  22. "build:css": "cp dialog-polyfill.css dist/dialog-polyfill.css",
  23. "build:esm": "rollup index.js --file dist/dialog-polyfill.esm.js --format esm",
  24. "build:umd": "rollup index.js --file dist/dialog-polyfill.js --format umd --name dialogPolyfill",
  25. "prepublishOnly": "npm run build",
  26. "test": "open test.html"
  27. }
  28. }