package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "name": "jspdf-autotable",
  3. "version": "2.0.17",
  4. "description": "Generate PDF tables with jsPDF",
  5. "main": "dist/jspdf.plugin.autotable.js",
  6. "directories": {
  7. "example": "examples"
  8. },
  9. "dependencies": {
  10. "jspdf": "^1.0.272"
  11. },
  12. "devDependencies": {
  13. "babel": "^5.8.23",
  14. "uglify-js": "^2.4.24"
  15. },
  16. "scripts": {
  17. "build": "babel src/main.js | uglifyjs -o dist/jspdf.plugin.autotable.js --comments && babel src/main.js > dist/jspdf.plugin.autotable.src.js && node build updateVersion",
  18. "version": "npm run build && git add -A dist",
  19. "hosted": "git checkout gh-pages && npm run build && git add -A && git commit -m \"Updated to latest version\" && git push && git checkout master && git clean -f -d",
  20. "deploy": "git push && git push --tags && npm publish && npm run hosted",
  21. "test": "echo 'To test, manually open the examples.html and check that all examples looks good.'"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/simonbengtsson/jsPDF-AutoTable.git"
  26. },
  27. "keywords": [
  28. "pdf",
  29. "table",
  30. "jspdf"
  31. ],
  32. "author": "Simon Bengtsson <simongbe@gmail.com> (simonbengtsson.com)",
  33. "license": "MIT",
  34. "bugs": {
  35. "url": "https://github.com/simonbengtsson/jsPDF-AutoTable/issues"
  36. },
  37. "homepage": "https://github.com/simonbengtsson/jsPDF-AutoTable#readme"
  38. }