UNPKG

@chayns/colors

Version:

JavaScript utility functions for the calculation of colors for chayns

62 lines (61 loc) 2.19 kB
{ "name": "@chayns/colors", "version": "2.0.0", "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:treeshaking && npm run test:eslint", "test:jest": "npm run build:cjs && jest", "test:treeshaking": "npm run build:es && npx treeshake", "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.14.3", "@babel/core": "^7.14.3", "@babel/preset-env": "^7.14.4", "@babel/preset-typescript": "^7.15.0", "@jest/globals": "^26.6.2", "@typescript-eslint/parser": "^4.31.2", "babel-jest": "^26.6.3", "cross-env": "^7.0.3", "eslint": "^7.28.0", "eslint-config-airbnb": "^18.2.1", "eslint-import-resolver-typescript": "^2.5.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-typescript": "^0.14.0", "jest": "^26.6.3", "tree-shake": "^1.0.5", "typescript": "^4.4.3" } }