UNPKG

math-toolbox

Version:

Lightweight and modular math toolbox

95 lines 2.39 kB
{ "name": "math-toolbox", "description": "Lightweight and modular math toolbox", "main": "dist/math-toolbox.umd.js", "module": "dist/math-toolbox.es.js", "jsnext:main": "dist/math-toolbox.es.js", "cjs:main": "dist/math-toolbox.cjs.js", "version": "1.12.0", "scripts": { "build": "rollup -c", "build:uglify": "npm run build && uglifyjs dist/math-toolbox.umd.js -cm --preamble \"// math-toolbox - https://github.com/terkelg/math-toolbox\" > dist/math-toolbox.umd.min.js", "docs": "documentation build src/math-toolbox.js -f html -o docs", "test": "standard && jest", "test:watch": "npm test -- --watch", "test:coverage": "jest --coverage", "prepublish": "npm run build:uglify", "coveralls": "npm run test:coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "repository": { "type": "git", "url": "https://github.com/terkelg/math-toolbox" }, "bugs": { "url": "https://github.com/terkelg/math-toolbox/issues" }, "files": [ "dist", "src" ], "keywords": [ "math", "utils", "toolbox", "tools", "helper", "lerp", "map", "clamp", "average", "isOdd", "isEven", "smoothstep", "random", "distance", "trigonometry", "geometry", "mix", "gcd" ], "author": "Terkel Gjervig", "maintainers": [ { "name": "Patrick Heng", "url": "https://github.com/patrickheng" }, { "name": "Fabien Motte", "url": "https://github.com/FabienMotte" }, { "name": "Terkel Gjervig", "email": "terkel@terkel.com", "url": "https://terkel.com" } ], "license": "MIT", "devDependencies": { "babel-jest": "^19.0.0", "babel-plugin-external-helpers": "^6.22.0", "babel-polyfill": "^6.23.0", "babel-preset-es2015": "^6.24.0", "coveralls": "^2.12.0", "jest": "^19.0.2", "jsdoc-to-markdown": "^3.0.0", "jest-cli": "^19.0.2", "rollup": "^0.41.6", "rollup-plugin-babel": "^2.7.1", "semantic-release": "^6.3.2", "standard": "^10.0.0", "uglify-js": "^2.8.21" }, "standard": { "ignore": [ "/docs", "/dist" ], "globals": [ "expect", "it", "test", "describe" ] } }