forked from ljharb/prop-types-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.25 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "airbnb-prop-types",
"version": "2.8.1",
"description": "Custom React PropType validators that we use at Airbnb.",
"main": "index.js",
"dependencies": {
"array.prototype.find": "^2.0.4",
"function.prototype.name": "^1.1.0",
"has": "^1.0.1",
"is-regex": "^1.0.4",
"object-is": "^1.0.1",
"object.assign": "^4.1.0",
"object.entries": "^1.0.4",
"prop-types": "^15.6.0",
"prop-types-exact": "^1.1.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-replace-object-assign": "^0.2.1",
"babel-preset-airbnb": "^2.4.0",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"eslint": "^4.16.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"mocha": "^3.5.3",
"mock-env": "^0.2.0",
"nyc": "^10.3.2",
"object.values": "^1.0.4",
"react": "^0.14 || ^15.0.0 || ^16.0.0-alpha",
"reflect.ownkeys": "^0.2.0",
"rimraf": "^2.6.2",
"safe-publish-latest": "^1.1.1"
},
"peerDependencies": {
"react": "^0.14 || ^15.0.0 || ^16.0.0-alpha"
},
"scripts": {
"pretest": "npm run lint",
"test": "npm run travis",
"travis": "npm run build && npm run test:only",
"test:only": "npm run mocha test",
"test:all": "npm run test:only && npm run react:14 && npm run test:only && npm run react:15 && npm run test:only",
"lint": "eslint --ext js,jsx src test",
"prepublish": "npm run build && safe-publish-latest",
"clean": "rimraf build",
"prebuild": "npm run clean",
"build": "babel src --out-dir build --source-maps",
"postbuild": "npm run build:index",
"prebuild:index": "cp index.js .index.js",
"build:index": "babel index.js --out-file index.js --no-babelrc --source-maps",
"postbuild:index": "mv .index.js index.js",
"cover:clean": "rimraf coverage",
"cover:run": "nyc --show-process-tree npm run --silent mocha test -- --reporter=dot",
"precoverage": "NODE_ENV=test npm run build",
"coverage": "npm run --quiet cover:clean && npm run --silent cover:run",
"mocha": "mocha --recursive test/helpers/_failTestsOnErrors",
"react:clean": "rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils",
"react:14": "npm run react:clean && npm i --no-save [email protected] [email protected] [email protected]",
"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 [email protected] [email protected] [email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/prop-types.git"
},
"keywords": [
"react",
"propTypes",
"airbnb",
"prop",
"types",
"validator",
"validation"
],
"author": "Jordan Harband <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/prop-types/issues"
},
"homepage": "https://github.com/airbnb/prop-types#readme",
"greenkeeper": {
"//": "nyc and mocha are ignored because they requires node 4+, and we support older than that",
"ignore": [
"nyc",
"mocha"
]
}
}