UNPKG

@tdb/web

Version:

Common condiguration for serving a web-site and testing web-based UI components.

73 lines (72 loc) 2.7 kB
{ "name": "prop-types-exact", "version": "1.2.0", "description": "For use with React PropTypes. Will error on any prop not explicitly specified.", "main": "build", "scripts": { "prepublish": "safe-publish-latest && (not-in-publish || npm run build)", "clean": "npm run clean:build && npm run clean:coverage", "clean:build": "rimraf build", "prebuild": "npm run clean:build", "build": "babel src --out-dir build --source-maps", "lint": "eslint --ext js,jsx src test", "tape": "tape --require babel-register --require ./test/helpers/_failTestsOnErrors", "clean:coverage": "rimraf coverage", "precoverage": "NODE_ENV=test npm run build && npm run clean:coverage", "coverage": "nyc --show-process-tree npm run --silent tests-only -- --", "tests-only": "npm run tape './test/*.*'", "pretest": "npm run build && npm run lint", "test": "npm run tests-only", "pretravis": "npm run build", "travis": "npm run tests-only", "react:clean": "rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils", "react:13": "npm run react:clean && npm i --no-save react@0.13", "react:14": "npm run react:clean && npm i --no-save react@0.14 react-dom@0.14 react-addons-test-utils@0.14", "react:15": "npm run react:clean && npm i --no-save react@15 react-dom@15 react-addons-test-utils@15", "react:16": "npm run react:clean && npm i --no-save react@16.0.0-alpha.12 react-dom@16.0.0-alpha.12" }, "repository": { "type": "git", "url": "git+https://github.com/airbnb/prop-types-exact.git" }, "keywords": [ "react", "propTypes", "airbnb", "prop", "types", "validator", "validation", "exact" ], "author": "Jordan Harband <ljharb@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/airbnb/prop-types-exact/issues" }, "homepage": "https://github.com/airbnb/prop-types-exact#readme", "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-istanbul": "^4.1.6", "babel-plugin-transform-replace-object-assign": "^1.0.0", "babel-preset-airbnb": "^2.4.0", "eslint": "^4.19.1", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-import": "^2.12.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.9.1", "in-publish": "^2.0.0", "nyc": "^10.3.2", "prop-types": "^15.6.1", "react": "^0.13 || ^0.14 || ^15 || ^16.0.0-alpha.12", "rimraf": "^2.6.2", "safe-publish-latest": "^1.1.1", "tape": "^4.9.1" }, "dependencies": { "has": "^1.0.3", "object.assign": "^4.1.0", "reflect.ownkeys": "^0.2.0" } }