UNPKG

@prostojs/dye

Version:

Easy and light console styling tool

107 lines (106 loc) 3.29 kB
{ "name": "@prostojs/dye", "version": "0.4.10", "description": "Easy and light console styling tool", "packageManager": "pnpm@9.12.3", "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.mts", "sideEffects": false, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.mts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./vite": { "types": "./dist/plugins/vite.d.mts", "import": "./dist/plugins/vite.mjs" }, "./rolldown": { "types": "./dist/plugins/rolldown.d.mts", "import": "./dist/plugins/rolldown.mjs" }, "./common": { "types": "./dist/plugins/common.d.mts", "import": "./dist/plugins/common.mjs" }, "./global": { "types": "./global.d.ts" } }, "files": [ "scripts", "dist", "global.d.ts" ], "scripts": { "build": "tsdown", "test": "vitest run", "test:watch": "vitest", "test:cov": "vitest run --coverage", "lint": "eslint --ext .ts src/**.ts --fix", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "version": "pnpm changelog && git add CHANGELOG.md && git commit -m 'chore: update changelog'", "release": "pnpm test && pnpm lint && pnpm build && npm version patch && git push --follow-tags && npm publish --access public", "release:patch": "pnpm test && pnpm lint && pnpm build && npm version patch && git push --follow-tags && npm publish --access public", "release:minor": "pnpm test && pnpm lint && pnpm build && npm version minor && git push --follow-tags && npm publish --access public", "release:major": "pnpm test && pnpm lint && pnpm build && npm version major && git push --follow-tags && npm publish --access public", "prepare": "husky", "postinstall": "node dist/plugins/update-configs.mjs" }, "repository": { "type": "git", "url": "git+https://github.com/prostojs/dye.git" }, "keywords": [ "colors", "dye", "palette", "console", "prostojs", "style" ], "buildOptions": { "name": "ProstoDye", "formats": [ "esm-bundler", "esm-browser", "cjs", "global" ] }, "author": "Artem Maltsev", "license": "MIT", "bugs": { "url": "https://github.com/prostojs/dye/issues" }, "homepage": "https://github.com/prostojs/dye#readme", "devDependencies": { "@commitlint/cli": "^19.6.1", "@commitlint/config-conventional": "^19.6.0", "@types/node": "^16.10.3", "@typescript-eslint/eslint-plugin": "6.3.0", "@typescript-eslint/parser": "6.3.0", "@vitest/coverage-v8": "^2.1.8", "conventional-changelog-cli": "^5.0.0", "eslint": "8.55.0", "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-array-func": "4.0.0", "eslint-plugin-import": "2.29.0", "eslint-plugin-promise": "6.1.1", "eslint-plugin-regexp": "2.5.0", "eslint-plugin-simple-import-sort": "10.0.0", "eslint-plugin-sonarjs": "0.23.0", "eslint-plugin-unicorn": "49.0.0", "eslint-plugin-yml": "1.10.0", "husky": "^9.1.7", "prettier": "3.1.1", "tsdown": "^0.21.4", "typescript": "^5.7.3", "vite": "^6.0.7", "vitest": "^2.1.8" } }