UNPKG

number.parsefloat

Version:

An ES-spec-compliant Number.parseFloat shim/polyfill/replacement that works as far down as ES3

82 lines (81 loc) 2.2 kB
{ "name": "number.parsefloat", "version": "1.0.1", "description": "An ES-spec-compliant Number.parseFloat shim/polyfill/replacement that works as far down as ES3", "main": "index.js", "exports": { ".": [ { "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index.js" ], "./polyfill": "./polyfill.js", "./implementation": "./implementation.js", "./shim": "./shim.js", "./auto": "./auto.js", "./package.json": "./package.json" }, "scripts": { "prepublishOnly": "safe-publish-latest", "prepublish": "not-in-publish || npm run prepublishOnly", "pretest": "npm run lint", "lint": "eslint --ext=js,mjs .", "postlint": "es-shim-api --bound", "tests-only": "nyc tape 'test/**/*.js'", "tests-esm": "nyc node test/index.mjs", "test": "npm run tests-only && npm run tests-esm", "posttest": "aud --production", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, "repository": { "type": "git", "url": "git+https://github.com/es-shims/Number.parseFloat.git" }, "keywords": [ "Number.parseFloat", "number", "parsefloat", "is-finite", "log", "shim", "polyfill", "es-shim", "API" ], "author": "Nicolò Ribaudo <nicolo.ribaudo@gmail.com>", "funding": { "url": "https://github.com/es-shims/Number.parseFloat?sponsor=1" }, "license": "MIT", "bugs": { "url": "https://github.com/es-shims/Number.parseFloat/issues" }, "homepage": "https://github.com/es-shims/Number.parseFloat#readme", "devDependencies": { "@es-shims/api": "^2.2.1", "@ljharb/eslint-config": "^18.0.0", "aud": "^1.1.5", "auto-changelog": "^2.3.0", "eslint": "^7.32.0", "functions-have-names": "^1.2.2", "nyc": "^10.3.2", "safe-publish-latest": "^1.1.4", "tape": "^5.3.1" }, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true } }