map-number
Version:
processing/p5.js map like function, including floating point numbers support
90 lines (89 loc) • 2.42 kB
JSON
{
"name": "map-number",
"version": "1.3.1",
"description": "processing/p5.js map like function, including floating point numbers support",
"keywords": [
"processing",
"p5",
"p5.js",
"map",
"floor",
"round",
"limit",
"number",
"numbers"
],
"type": "commonjs",
"exports": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/map.mjs",
"require": "./dist/commonjs/index.cjs",
"node": "./dist/commonjs/index.cjs",
"default": "./dist/commonjs/index.cjs"
},
"main": "./dist/commonjs/index.cjs",
"module": "./dist/esm/map.mjs",
"jsnext:main": "./dist/esm/map.mjs",
"browser": "./dist/umd/map.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"bundlib": "./bundlib.config.ts",
"scripts": {
"clean:cache": "rimraf --glob node_modules/.cache/{bundlib,jest}",
"clean:build": "rimraf dist coverage",
"clean": "run-p clean:*",
"lint:test": "eslint __test__",
"lint:src": "eslint src",
"lint": "run-p lint:*",
"test": "jest --color -w 3",
"test:watch": "npm test -- --watch-all",
"build": "bundlib -d",
"dev": "npm run build -- --watch",
"ci-build": "run-s lint test build",
"clean-build": "run-s clean ci-build",
"prerelease": "run-s clean ci-build",
"release": "standard-version",
"prepare": "husky"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@eslint/js": "^9.9.0",
"@stylistic/eslint-plugin": "^2.6.2",
"@types/jest": "^29.5.12",
"@types/node": "^22.3.0",
"bundlib": "^0.20.0",
"chokidar": "^3.6.0",
"core-js": "^3.38.0",
"eslint": "^9.9.0",
"globals": "^15.9.0",
"husky": "^9.1.4",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"standard-version": "^9.5.0",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0"
},
"overrides": {
"eslint": "^9.9.0"
},
"engines": {
"node": ">=16"
},
"author": {
"name": "Manuel Fernández",
"email": "manferlo81@gmail.com"
},
"homepage": "https://github.com/manferlo81/map-number#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/manferlo81/map-number.git"
},
"bugs": {
"url": "https://github.com/manferlo81/map-number/issues"
},
"license": "MIT"
}