{ "name": "typed-function", "version": "4.1.0", "description": "Type checking for JavaScript functions", "author": "Jos de Jong (https://github.com/josdejong)", "contributors": [ "Glen Whitney (https://github.com/gwhitney)", "Luke Gumbley (https://github.com/luke-gumbley)" ], "homepage": "https://github.com/josdejong/typed-function", "repository": { "type": "git", "url": "https://github.com/josdejong/typed-function.git" }, "keywords": [ "typed", "function", "arguments", "compose", "types" ], "type": "module", "main": "lib/umd/typed-function.js", "module": "lib/esm/typed-function.mjs", "browser": "lib/umd/typed-function.js", "scripts": { "test": "mocha test --recursive", "test:lib": "mocha test test-lib --recursive", "build": "npm-run-all build:**", "build:clean": "del-cli lib", "build:esm": "babel src --out-dir lib/esm --out-file-extension .mjs --source-maps --config-file ./babel.config.json", "build:umd": "rollup lib/esm/typed-function.mjs --format umd --name 'typed' --sourcemap --output.file lib/umd/typed-function.js && cpy tools/cjs/package.json lib/umd --flat", "build-and-test": "npm run lint && npm run build && npm run test:lib", "lint": "eslint --cache src/**/*.mjs test/**/*.mjs test-lib/**/*.mjs", "format": "npm run lint -- --fix", "coverage": "nyc _mocha -- test --recursive; echo \"\nCoverage report is available at ./coverage/lcov-report/index.html\"", "prepublishOnly": "npm run build-and-test" }, "engines": { "node": ">= 14" }, "devDependencies": { "@babel/cli": "7.18.10", "@babel/preset-env": "7.18.10", "benchmark": "2.1.4", "cpy-cli": "4.2.0", "del-cli": "5.0.0", "eslint": "8.22.0", "eslint-config-standard": "17.0.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-n": "15.2.5", "eslint-plugin-promise": "6.0.0", "mocha": "10.0.0", "npm-run-all": "4.1.5", "nyc": "15.1.0", "pad-right": "0.2.2", "rollup": "2.78.1" }, "files": [ "README.md", "LICENSE.md", "lib" ] }