1
0
mirror of https://github.com/garraflavatra/trmclr.git synced 2025-04-20 04:11:02 +00:00

Compare commits

...

2 Commits
v1.1.0 ... main

Author SHA1 Message Date
faa54293c4
Add npm badge to readme 2024-08-09 15:24:30 +02:00
043259560e
Update lint script and action 2024-08-09 15:19:48 +02:00
3 changed files with 7 additions and 4 deletions

View File

@ -22,5 +22,7 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npx eslint . - run: npm run lint
- run: npm run build

View File

@ -1,8 +1,9 @@
# trmclr # trmclr
Easy terminal colors. [![NPM Version](https://img.shields.io/npm/v/trmclr)](https://www.npmjs.com/package/trmclr)
Easy terminal colors for browsers, [Node.js](https://nodejs.org), [Deno](https://deno.com), [Bun](https://bun.sh), and probably some other environments.
- Supports browsers, [Node.js](https://nodejs.org), [Deno](https://deno.com), [Bun](https://bun.sh), and probably some other environments.
- Comes with 45 colors and helpers. - Comes with 45 colors and helpers.
- Respects [`NO_COLOR`](https://no-color.org/). - Respects [`NO_COLOR`](https://no-color.org/).
- No dependencies. - No dependencies.

View File

@ -28,7 +28,7 @@
"homepage": "https://github.com/garraflavatra/trmclr#readme", "homepage": "https://github.com/garraflavatra/trmclr#readme",
"scripts": { "scripts": {
"build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs", "build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs",
"lint": "eslint index.js" "lint": "eslint index.mjs"
}, },
"devDependencies": { "devDependencies": {
"@garraflavatra/yeslint": "^1.2.0", "@garraflavatra/yeslint": "^1.2.0",