UNPKG

colorally

Version:

Name colors by well-known definitions

86 lines (85 loc) 2.57 kB
{ "name": "colorally", "version": "2.0.8", "description": "Name colors by well-known definitions", "author": "Oskar Grunning <oskargrunning@gmail.com>", "license": "MIT", "homepage": "https://github.com/sQVe/colorally", "repository": "github:sQVe/colorally", "bugs": "https://github.com/sQVe/colorally/issues", "keywords": [ "cli", "color", "delta-e", "name" ], "scripts": { "build": "run-s clean build:*", "build:cjs": "BUILD_BUNDLE=cjs rollup -c", "build:cli": "BUILD_BUNDLE=cli rollup -c", "build:colors": "BUILD_BUNDLE=colors rollup -c", "build:es": "BUILD_BUNDLE=es rollup -c", "clean": "rm -rf {.tmp,coverage,es,lib}", "format": "prettier --write '{**/*,*}.{js,json,jsx,md,yaml}' && eslint --fix '{**/*,*}.{js,jsx}'", "lint": "eslint '{**/*,*}.{js,jsx}'", "prepare": "husky install", "prepublishOnly": "npm run build", "scrape": "run-s build:colors scrape:run scrape:format", "scrape:run": "node .tmp/color-scraper.js", "scrape:format": "prettier --write data/colors.json", "test": "jest", "test:coverage": "jest --coverage", "test:coverage:upload": "jest --coverage && codecov", "test:watch": "jest --watch --onlyChanged" }, "engines": { "node": ">= 10" }, "bin": { "colorally": "./lib/cli.js" }, "main": "lib/colorally.js", "module": "lib/colorally.es.js", "files": [ "data", "es", "lib" ], "devDependencies": { "@babel/cli": "^7.12.0", "@babel/core": "^7.12.0", "@babel/preset-env": "^7.12.0", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.0", "@semantic-release/changelog": "^6.0.0", "@semantic-release/git": "^10.0.0", "@types/jest": "^27.0.0", "@types/node": "^16.0.0", "babel-core": "7.0.0-bridge.0", "babel-jest": "^27.0.0", "codecov": "^3.7.0", "eslint": "^7.8.0", "eslint-config-sqve": "^3.1.0", "eslint-plugin-fp": "^2.3.0", "eslint-plugin-import": "^2.20.0", "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^5.0.0", "eslint-plugin-react": "^7.18.0", "husky": "^7.0.0", "jest": "^27.0.0", "lint-staged": "^11.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.1.0", "puppeteer": "^10.0.0", "rollup": "^2.26.0", "rollup-plugin-add-shebang": "^0.3.0", "rollup-plugin-babel": "^4.4.0", "semantic-release": "^18.0.0" }, "dependencies": { "chalk": "~4.1.0", "clipboardy": "~2.3.0", "delta-e": "0.0.8" } }