-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
64 lines (64 loc) · 1.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "react-proptype-conditional-require",
"version": "1.0.5",
"description": "Conditionally require a React proptype based on other props and/or other conditions.",
"main": "dist/isRequiredIf.js",
"files": [
"dist",
"index.js",
"isRequiredIf.js"
],
"scripts": {
"build:dist": "babel isRequiredIf.js --out-file dist/isRequiredIf.js -s",
"build:index": "babel isRequiredIf.js --out-file index.js --source-maps inline",
"build": "NODE_ENV=production npm run build:dist && NODE_ENV=production npm run build:index",
"clean": "rimraf reports npm-debug.log yarn-error.log dist",
"coveralls": "cat ./reports/lcov.info | coveralls",
"lint": "eslint --config .eslintrc __tests__/**/*-test.js isRequiredIf.js",
"prebuild": "npm run clean && npm run lint && npm run test && mkdir dist",
"prepublish": "npm run build",
"test": "jest --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/evcohen/react-proptype-conditional-require"
},
"keywords": [
"react",
"proptypes",
"require",
"isRequired",
"isRequiredIf",
"conditional",
"props"
],
"author": "Ethan Cohen",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-jest": "^17.0.2",
"babel-preset-babili": "^0.0.8",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.3.13",
"coveralls": "^2.11.15",
"eslint": "^3.10.1",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1",
"jest": "^17.0.2",
"prop-types": "^15.5.10",
"react": "^15.3.2",
"react-addons-test-utils": "^15.3.2",
"react-dom": "^15.3.2",
"rimraf": "^2.5.1",
"sinon": "^1.17.3"
},
"jest": {
"coverageReporters": [
"lcov"
],
"coverageDirectory": "reports"
}
}