forked from facebook/prop-types
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.59 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
{
"name": "prop-types",
"version": "15.7.2",
"description": "Runtime type checking for React props and similar objects.",
"main": "index.js",
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"checkPropTypes.js",
"factory.js",
"factoryWithThrowingShims.js",
"factoryWithTypeCheckers.js",
"index.js",
"prop-types.js",
"prop-types.min.js",
"lib"
],
"repository": "facebook/prop-types",
"keywords": [
"react"
],
"bugs": {
"url": "https://github.com/facebook/prop-types/issues"
},
"homepage": "https://facebook.github.io/react/",
"dependencies": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
"react-is": "^16.9.0"
},
"scripts": {
"pretest": "npm run lint",
"lint": "eslint .",
"test": "npm run tests-only",
"tests-only": "jest",
"umd": "NODE_ENV=development browserify index.js -t loose-envify --standalone PropTypes -o prop-types.js",
"umd-min": "NODE_ENV=production browserify index.js -t loose-envify -t uglifyify --standalone PropTypes -p bundle-collapser/plugin -o | uglifyjs --compress unused,dead_code -o prop-types.min.js",
"build": "yarn umd && yarn umd-min",
"prepublish": "not-in-publish || yarn build"
},
"devDependencies": {
"babel-jest": "^19.0.0",
"babel-preset-react": "^6.24.1",
"browserify": "^16.5.0",
"bundle-collapser": "^1.3.0",
"eslint": "^6.3.0",
"in-publish": "^2.0.0",
"jest": "^19.0.2",
"react": "^15.5.4",
"uglifyify": "^5.0.2",
"uglifyjs": "^2.4.11"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}