Ei kuvausta

package.json 954B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "paper-css",
  3. "version": "0.4.1",
  4. "description": "Paper CSS for happy printing",
  5. "files": [
  6. "paper.css",
  7. "paper.min.css"
  8. ],
  9. "repository": {
  10. "type": "git",
  11. "url": "git+https://github.com/cognitom/paper-css.git"
  12. },
  13. "keywords": [
  14. "css",
  15. "print",
  16. "pdf",
  17. "cli"
  18. ],
  19. "author": "Tsutomu Kawamura",
  20. "license": "MIT",
  21. "bugs": {
  22. "url": "https://github.com/cognitom/paper-css/issues"
  23. },
  24. "homepage": "https://github.com/cognitom/paper-css",
  25. "devDependencies": {
  26. "chrome-headless-render-pdf": "^1.7.1",
  27. "clean-css-cli": "^4.1.11",
  28. "live-server": "^1.2.0"
  29. },
  30. "scripts": {
  31. "build": "npm run minify && npm run export",
  32. "minify": "cleancss paper.css -o paper.min.css",
  33. "preview": "live-server examples/receipt.html",
  34. "export": "chrome-headless-render-pdf --url file://$PWD/examples/receipt.html --pdf images/receipt.pdf --paper-width 8.27 --paper-height 5.83"
  35. }
  36. }