Newer
Older
alert / js / node_modules / colorette / package.json
@Réz István Réz István on 18 Nov 2021 1 KB first commit
{
  "name": "colorette",
  "version": "1.2.2",
  "type": "module",
  "main": "index.cjs",
  "module": "index.js",
  "types": "index.d.ts",
  "description": "Easily set the color and style of text in the terminal.",
  "repository": "jorgebucaran/colorette",
  "license": "MIT",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "require": "./index.cjs",
      "import": "./index.js"
    }
  },
  "files": [
    "*.*(c)[tj]s*"
  ],
  "author": "Jorge Bucaran",
  "keywords": [
    "terminal",
    "styles",
    "color",
    "ansi"
  ],
  "scripts": {
    "test": "c8 twist tests/*.js",
    "build": "node -e \"fs.writeFileSync('index.cjs',fs.readFileSync('index.js','utf8').replace(/export const /g,'exports.'),'utf8')\"",
    "deploy": "npm test && git commit --all --message $tag && git tag --sign $tag --message $tag && git push && git push --tags",
    "release": "tag=$npm_package_version npm run deploy && npm publish --access public",
    "prepare": "npm run build"
  },
  "devDependencies": {
    "c8": "*",
    "twist": "*"
  }
}