package.json
{
"name": "react-prop-types-element-of-type",
"version": "2.2.0",
"description": "Check if given React element is created by certain Component type",
"main": "lib/index.js",
"files": [
"lib/",
"src/",
"CHANGELOG.md"
],
"scripts": {
"clean": "rimraf lib",
"prebuild": "npm run lint && npm run clean",
"build": "cross-env NODE_ENV=production babel src --out-dir lib",
"lint": "cross-env NODE_ENV=test eslint .",
"pretest:cov": "npm run lint",
"pretest": "npm run lint",
"test:cov": "cross-env NODE_ENV=test babel-node ./node_modules/.bin/isparta cover --report lcov _mocha -- $npm_package_config_mocha",
"test:watch": "npm test -- --watch",
"test": "cross-env NODE_ENV=test mocha $npm_package_config_mocha",
"prerelease": "npm run build && git add -A && git commit -m 'chore(lib): compile from src using babel'",
"release": "standard-version"
},
"config": {
"mocha": "--compilers js:babel-register ./src/**/__tests__/*.spec.js --require ./src/__tests__/__setup__.js"
},
"repository": {
"type": "git",
"url": "https://github.com/tomchentw/react-prop-types-element-of-type"
},
"keywords": [
"React.js",
"React",
"ReactElement",
"propTypes",
"elementOfType",
"componentOfType"
],
"author": {
"name": "tomchentw",
"email": "developer@tomchentw.com",
"url": "https://github.com/tomchentw"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/tomchentw/react-prop-types-element-of-type/issues"
},
"homepage": "https://tomchentw.github.io/react-prop-types-element-of-type/",
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.1",
"babel-eslint": "^6.0.4",
"babel-plugin-transform-flow-comments": "^6.8.0",
"babel-plugin-typecheck": "^3.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"codeclimate-test-reporter": "^0.3.1",
"cross-env": "^1.0.8",
"eslint": "^2.11.0",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.8.1",
"eslint-plugin-jsx-a11y": "^1.2.2",
"eslint-plugin-react": "^5.1.1",
"expect": "^1.20.1",
"isparta": "^4.0.0",
"istanbul": "^0.4.3",
"jsdom": "^9.2.1",
"mocha": "^2.5.3",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"rimraf": "^2.5.2",
"standard-version": "^2.2.1",
"thenify": "^3.2.0"
},
"dependencies": {},
"peerDependencies": {
"react": "^0.14.6 || ^15.0.0-0"
}
}