package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "file-saver",
  3. "version": "2.0.5",
  4. "description": "An HTML5 saveAs() FileSaver implementation",
  5. "main": "dist/FileSaver.min.js",
  6. "files": [
  7. "dist/FileSaver.js",
  8. "dist/FileSaver.min.js",
  9. "dist/FileSaver.min.js.map",
  10. "src/FileSaver.js"
  11. ],
  12. "scripts": {
  13. "test": "echo \"Error: no test specified\" && exit 0",
  14. "build:development": "babel -o dist/FileSaver.js --plugins @babel/plugin-transform-modules-umd src/FileSaver.js",
  15. "build:production": "babel -o dist/FileSaver.min.js -s --plugins @babel/plugin-transform-modules-umd --presets minify src/FileSaver.js",
  16. "build": "npm run build:development && npm run build:production",
  17. "prepublishOnly": "npm run build"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/eligrey/FileSaver.js"
  22. },
  23. "keywords": [
  24. "filesaver",
  25. "saveas",
  26. "blob"
  27. ],
  28. "author": "Eli Grey <me@eligrey.com>",
  29. "license": "MIT",
  30. "bugs": {
  31. "url": "https://github.com/eligrey/FileSaver.js/issues"
  32. },
  33. "homepage": "https://github.com/eligrey/FileSaver.js#readme",
  34. "devDependencies": {
  35. "@babel/cli": "^7.1.0",
  36. "@babel/core": "^7.1.0",
  37. "@babel/plugin-transform-modules-umd": "^7.1.0",
  38. "babel-preset-minify": "^0.4.3"
  39. }
  40. }