string-to-tailwind-color
Version:
Generates a random but deterministic Tailwind CSS color and shade from a string
94 lines (93 loc) • 2.5 kB
JSON
{
"name": "string-to-tailwind-color",
"description": "Generates a random but deterministic Tailwind CSS color and shade from a string",
"version": "1.0.1",
"author": "Jamie Weavis",
"main": "lib/main.js",
"types": "lib/main.d.ts",
"source": "src/main.ts",
"homepage": "https://github.com/jamieweavis/string-to-tailwind-color",
"license": "MIT",
"bugs": {
"url": "https://github.com/jamieweavis/string-to-tailwind-color/issues"
},
"files": [
"lib/**/*"
],
"keywords": [
"tailwindcss",
"string-to-color",
"string-hashing",
"deterministic",
"hash",
"color",
"shade"
],
"repository": {
"type": "git",
"url": "https://github.com/jamieweavis/string-to-tailwind-color.git"
},
"scripts": {
"watch": "parcel watch",
"build": "parcel build",
"test": "jest --testMatch '/**/*.test.ts'",
"test:watch": "npm run test -- --watch",
"lint": "biome lint ./src",
"lint:fix": "npm run lint -- --write",
"format": "biome format ./src",
"format:write": "npm run format -- --write",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@parcel/packager-ts": "^2.14.4",
"@parcel/transformer-typescript-types": "^2.14.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.3",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.5.0",
"parcel": "^2.14.4",
"ts-jest": "^29.3.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/changelog",
"@semantic-release/commit-analyzer",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github",
"@semantic-release/release-notes-generator"
]
},
"lint-staged": {
"*.ts": [
"biome format --write",
"biome lint --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
}
}