package.json 991 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "colorette",
  3. "version": "2.0.16",
  4. "type": "module",
  5. "main": "index.cjs",
  6. "module": "index.js",
  7. "types": "index.d.ts",
  8. "description": "🌈Easily set your terminal text color & styles.",
  9. "repository": "jorgebucaran/colorette",
  10. "license": "MIT",
  11. "exports": {
  12. "./package.json": "./package.json",
  13. ".": {
  14. "require": "./index.cjs",
  15. "import": "./index.js"
  16. }
  17. },
  18. "files": [
  19. "*.*(c)[tj]s*"
  20. ],
  21. "author": "Jorge Bucaran",
  22. "keywords": [
  23. "terminal",
  24. "styles",
  25. "color",
  26. "ansi"
  27. ],
  28. "scripts": {
  29. "test": "c8 twist tests/*.js",
  30. "build": "npx rollup --format cjs --input index.js --file index.cjs",
  31. "deploy": "npm test && git commit --all --message $tag && git tag --sign $tag --message $tag && git push && git push --tags",
  32. "release": "tag=$npm_package_version npm run deploy && npm publish --access public",
  33. "prepare": "npm run build"
  34. },
  35. "devDependencies": {
  36. "c8": "*",
  37. "twist": "*"
  38. }
  39. }