UNPKG

@chayns/colors

Version:

JavaScript utility functions for the calculation of colors for chayns

53 lines (52 loc) 1.79 kB
{ "name": "@chayns/colors", "version": "2.0.2", "description": "JavaScript utility functions for the calculation of colors for chayns", "main": "cjs/index.js", "module": "es/index.js", "types": "lib/index.d.ts", "scripts": { "build:cjs": "cross-env NODE_ENV=cjs babel src --out-dir cjs --extensions=.ts,.js --source-maps ", "build:es": "cross-env NODE_ENV=es babel src --out-dir es --extensions=.ts,.js --source-maps ", "build:types": "tsc", "build": "npm run build:types && npm run build:cjs && npm run build:es", "prepublishOnly": "npm run test && npm run build", "start": "npm link && npm run watch", "test": "npm run test:jest && npm run test:eslint", "test:jest": "npm run build:cjs && jest", "test:eslint": "eslint src --ext .js,.ts", "watch:cjs": "cross-env NODE_ENV=cjs babel src --watch --out-dir cjs", "watch:es": "cross-env NODE_ENV=es babel src --watch --out-dir es", "watch": "npm run watch:cjs && npm run watch:es" }, "repository": { "type": "git", "url": "git+https://github.com/TobitSoftware/chayns-colors.git" }, "keywords": [ "chayns", "colors", "tobit", "tobit.labs", "tobit.software" ], "author": "Jonas Gossens", "license": "MIT", "bugs": { "url": "https://github.com/TobitSoftware/chayns-colors/issues" }, "homepage": "https://github.com/TobitSoftware/chayns-colors#readme", "devDependencies": { "@babel/cli": "^7.28.3", "@babel/core": "^7.28.5", "@babel/preset-env": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@chayns-toolkit/eslint-config": "^3.0.2", "@jest/globals": "^26.6.2", "babel-jest": "^26.6.3", "cross-env": "^7.0.3", "eslint": "^9.39.1", "jest": "^26.6.3", "typescript": "^5.9.3" } }