package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "kolorist",
  3. "version": "1.8.0",
  4. "description": "A tiny utility to colorize stdin/stdout",
  5. "main": "dist/cjs/index.js",
  6. "module": "dist/module/index.js",
  7. "types": "dist/types/index.d.ts",
  8. "scripts": {
  9. "test": "mocha -r @esbuild-kit/cjs-loader --extension ts,js src/*.test.ts",
  10. "build": "rimraf dist/ && tsc && tsc -p tsconfig.module.json && tsc -p tsconfig.esm.json && node tools/post-build.js",
  11. "prepublishOnly": "npm run build"
  12. },
  13. "author": "Marvin Hagemeister <hello@marvinh.dev>",
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/marvinhagemeister/kolorist.git"
  17. },
  18. "license": "MIT",
  19. "devDependencies": {
  20. "@changesets/cli": "^2.26.0",
  21. "@esbuild-kit/cjs-loader": "^2.4.1",
  22. "@types/mocha": "^8.2.1",
  23. "@types/node": "^14.14.35",
  24. "mocha": "^8.3.2",
  25. "node-pty": "^0.10.0",
  26. "prettier": "^2.2.1",
  27. "rimraf": "^3.0.2",
  28. "typescript": "^4.2.3"
  29. },
  30. "exports": {
  31. ".": {
  32. "types": "./dist/types/index.d.ts",
  33. "browser": "./dist/module/index.js",
  34. "import": "./dist/esm/index.mjs",
  35. "require": "./dist/cjs/index.js"
  36. },
  37. "./package.json": "./package.json",
  38. "./*": "./*"
  39. },
  40. "files": [
  41. "dist/"
  42. ],
  43. "prettier": {
  44. "useTabs": true,
  45. "arrowParens": "avoid",
  46. "singleQuote": true
  47. }
  48. }