UNPKG

polychrome

Version:

A small library for parsing and manipulating colors

58 lines (57 loc) 1.82 kB
{ "name": "polychrome", "version": "4.1.2", "author": "Chad Donohue <chad.donohue@gmail.com>", "description": "A small library for parsing and manipulating colors", "license": "MIT", "main": "dist/polychrome.js", "module": "dist/polychrome.es.js", "jsnext:main": "dist/polychrome.es.js", "umd:main": "dist/polychrome.js", "scripts": { "test": "mocha --compilers js:babel-register test/**/*.js", "prebuild": "npm run clean", "build": "rollup -c rollup.config.js", "postbuild": "npm run minify", "clean": "rimraf dist && mkdirp dist", "minify": "uglifyjs $npm_package_main -c warnings=false -m toplevel -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map", "postminify": "npm run size", "size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size)\"", "prepublish": "npm run build -s", "release": "np" }, "repository": { "type": "git", "url": "https://github.com/cdonohue/polychrome.git" }, "bugs": { "url": "https://github.com/cdonohue/polychrome/issues" }, "homepage": "https://github.com/cdonohue/polychrome", "keywords": [ "color", "palette", "css-color", "color-manipulation", "tiny" ], "devDependencies": { "babel-cli": "^6.24.0", "babel-eslint": "^7.1.1", "babel-preset-es2015": "^6.24.0", "babel-preset-stage-2": "^6.22.0", "babel-register": "^6.24.0", "chai": "^3.5.0", "cross-env": "^3.2.3", "eslint": "^3.17.1", "gzip-size-cli": "^2.0.0", "mkdirp": "^0.5.1", "mocha": "^3.2.0", "np": "^2.15.0", "rimraf": "^2.6.1", "rollup": "^0.41.5", "rollup-plugin-buble": "^0.15.0", "strip-json-comments-cli": "^1.0.1", "uglify-js": "^2.8.12" } }