UNPKG

prop-types-exact

Version:

For use with React PropTypes. Will error on any prop not explicitly specified.

89 lines (88 loc) 2.51 kB
{ "name": "prop-types-exact", "version": "1.2.7", "description": "For use with React PropTypes. Will error on any prop not explicitly specified.", "main": "src", "sideEffects": false, "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublishOnly": "safe-publish-latest", "prepublish": "not-in-publish || npm run prepublishOnly", "lint": "eslint --ext js,jsx src test", "tape": "tape --require ./test-build/helpers/_failTestsOnErrors", "tests:build": "babel test --out-dir=test-build", "tests-only": "nyc npm run tape './test-build/*.*'", "pretest": "npm run react && npm run tests:build && npm run lint", "test": "npm run tests-only", "posttest": "npx npm@'>= 10.2' audit --production", "react": "enzyme-adapter-react-install 16", "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/ljharb/prop-types-exact.git" }, "keywords": [ "react", "propTypes", "prop", "types", "validator", "validation", "exact" ], "author": "Jordan Harband <ljharb@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/ljharb/prop-types-exact/issues" }, "homepage": "https://github.com/ljharb/prop-types-exact#readme", "funding": { "url": "https://github.com/sponsors/ljharb" }, "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "hasown": "^2.0.2", "isarray": "^2.0.5", "object.assign": "^4.1.7", "own-keys": "^1.0.0" }, "devDependencies": { "@babel/cli": "^7.26.4", "@ljharb/eslint-config": "^21.1.1", "auto-changelog": "^2.5.0", "babel-preset-airbnb": "^5.0.0", "encoding": "^0.1.13", "enzyme-adapter-react-helper": "^1.3.10", "eslint": "=8.8.0", "eslint-plugin-react": "^7.37.3", "in-publish": "^2.0.1", "npmignore": "^0.3.1", "nyc": "^10.3.2", "prop-types": "^15.8.1", "psl": "=1.9.0", "react": "^0.13 || ^0.14 || ^15 || ^16.0.0-alpha.12", "rimraf": "^2.7.1", "safe-publish-latest": "^2.0.0", "tape": "^5.9.0" }, "engines": { "node": ">= 0.8" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true, "startingVersion": "1.2.1" }, "publishConfig": { "ignore": [ ".github/workflows" ] } }