-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
67 lines (67 loc) · 2.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
60
61
62
63
64
65
66
67
{
"name": "react-generate-props",
"version": "0.6.1",
"description": "Generate default props based on your React component's PropTypes",
"main": "dist/main.js",
"engines": {
"node": ">=6.0.0"
},
"files": [
"dist/*",
"src/*"
],
"dependencies": {
"lodash": "^4.13.1"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"chai": "^4.2.0",
"coveralls": "^3.0.5",
"istanbul": "^0.4.4",
"mocha": "^6.2.0",
"mocha-lcov-reporter": "^1.2.0",
"prop-types": "^15.6.0",
"react": "^16.0.0"
},
"peerDependencies": {
"react": "0.13.x || 0.14.x || ^15.0.0-0 || 15.x || 16.x"
},
"scripts": {
"build": "babel src -d dist",
"preversion": "npm run build",
"coverage": "istanbul cover _mocha",
"precoveralls": "npm run coverage -- --report lcovonly",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"postcoveralls": "rm -rf ./coverage",
"test": "npm run react:no-prop-types && npm run react:with-prop-types",
"react:clean": "rm -rf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils node_modules/prop-types",
"react:no-prop-types": "npm run react:13 && mocha && npm run react:14.8 && mocha && npm run react:15.2 && mocha",
"react:13": "npm run react:clean && npm i --no-save --no-progress [email protected] && rm -rf node_modules/prop-types",
"react:14.8": "npm run react:clean && npm i --no-save --no-progress [email protected] [email protected] [email protected] && rm -rf node_modules/prop-types",
"react:15.2": "npm run react:clean && npm i --no-save --no-progress [email protected] react-dom@15 [email protected] && rm -rf node_modules/prop-types",
"react:with-prop-types": "npm run react:14 && mocha && npm run react:15 && mocha && npm run react:16 && mocha",
"react:14": "npm run react:clean && npm i --no-save --no-progress [email protected] [email protected] [email protected]",
"react:15": "npm run react:clean && npm i --no-save --no-progress react@15 react-dom@15 react-addons-test-utils@15",
"react:16": "npm run react:clean && npm i --no-save --no-progress react@16 prop-types"
},
"repository": {
"type": "git",
"url": "git+https://github.com/markalfred/react-generate-props.git"
},
"keywords": [
"react",
"prop",
"props",
"proptypes",
"generate",
"generator"
],
"author": "Mark Battersby",
"license": "MIT",
"bugs": {
"url": "https://github.com/markalfred/react-generate-props/issues"
},
"homepage": "https://github.com/markalfred/react-generate-props#readme"
}