UNPKG

moremath

Version:

The missing JavaScript Math functions

59 lines (58 loc) 1.66 kB
{ "name": "moremath", "version": "3.0.0", "description": "The missing JavaScript Math functions", "main": "./dist/MoreMath.umd.js", "module": "./dist/MoreMath.es.js", "types": "./dist/MoreMath.d.ts", "scripts": { "build": "rimraf dist && rollup --config --bundleConfigAsCjs", "build:declarations": "tsc -d", "test": "jest --testMatch **/test/**/*-test-*.js", "test:coverage": "yarn test --coverage", "test:coverage:coveralls": "yarn test --coverage --coverageReporters=text-lcov | coveralls", "test:watch": "yarn test --watchAll", "lint": "eslint src/**/*.ts", "prepublish": "yarn build && yarn build:declarations" }, "repository": { "type": "git", "url": "git+https://github.com/zeh/moremath.git" }, "keywords": [ "math", "utils", "map", "range", "mod", "modulo", "power of two", "unique", "lerp" ], "author": "Zeh Fernando <npm@zehfernando.com> http://zehfernando.com", "license": "MIT", "bugs": { "url": "https://github.com/zeh/moremath/issues" }, "homepage": "https://github.com/zeh/moremath#readme", "devDependencies": { "@babel/core": "^7.23.9", "@babel/preset-env": "^7.23.9", "@rollup/plugin-typescript": "^11.1.6", "babel-jest": "^29.7.0", "coveralls": "^3.1.1", "jest": "^29.7.0", "rimraf": "^5.0.5", "rollup": "^4.9.6", "typescript": "^5.3.3" }, "dependencies": { "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "prettier": "^3.2.4" } }