UNPKG

@legumeinfo/taxon-symbology

Version:

A TypeScript library for consistent coloring of visualizations by genus & species

77 lines (76 loc) 2.27 kB
{ "name": "@legumeinfo/taxon-symbology", "version": "1.1.1", "description": "A TypeScript library for consistent coloring of visualizations by genus & species", "repository": { "type": "git", "url": "https://github.com/legumeinfo/taxon-symbology" }, "bugs": { "url": "https://github.com/legumeinfo/taxon-symbology/issues" }, "homepage": "https://github.com/legumeinfo/taxon-symbology#readme", "main": "lib/main.js", "module": "lib/index.js", "types": "lib/index.d.ts", "files": [ "/lib", "/dist" ], "type": "module", "scripts": { "build": "tsc", "build:clean": "rimraf lib", "build:watch": "tsc --watch", "clean": "npm run bundle:clean & npm run build:clean", "lint": "npm run lint:eslint", "lint:eslint": "eslint src/*.ts src/**/*.ts", "lint:eslint-config-prettier": "eslint-config-prettier src/*.ts src/**/*.ts", "format": "prettier src/*.ts src/**/*.ts --write", "prepublish": "npm run clean && npm run build && npm run bundle", "serve": "wds --watch", "serve:prod": "MODE=prod npm run serve", "test": "jest", "test:watch": "jest --watch", "bundle": "rollup -c rollup.config.js", "bundle:clean": "rimraf dist", "bundle:watch": "rollup -c -w", "_postinstall": "husky install", "prepack": "pinst --disable", "postpack": "pinst --enable" }, "keywords": [ "typescript", "chroma-js", "legumes", "agbio", "biology" ], "author": "Legume Information System", "license": "Apache-2.0", "devDependencies": { "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.32.0", "@typescript-eslint/parser": "^8.32.0", "@web/dev-server": "^0.4.6", "@web/dev-server-legacy": "^2.1.1", "eslint": "^9.26.0", "eslint-config-prettier": "^10.1.2", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.5.1", "pinst": "^3.0.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "rollup": "^4.40.1", "ts-jest": "^29.3.2", "typescript": "^5.8.3", "typescript-eslint": "^8.32.0" }, "dependencies": { "chroma.ts": "^1.0.10" } }