forked from ljharb/prop-types-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.35 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
93
94
95
96
97
98
99
100
101
102
103
{
"name": "@mahpooya/airbnb-prop-types",
"version": "2.16.2",
"description": "Custom React PropType validators that we use at Airbnb (Fork for update dependencies specially react 17)",
"main": "index.js",
"dependencies": {
"array.prototype.find": "^2.2.2",
"array.prototype.flatmap": "^1.3.2",
"function.prototype.name": "^1.1.6",
"is-regex": "^1.1.4",
"object-is": "^1.1.5",
"object.assign": "^4.1.4",
"object.entries": "^1.1.7",
"prop-types": "^15.8.1",
"prop-types-exact": "^1.2.0",
"react-is": "^17.0.2"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.2",
"@babel/plugin-transform-object-assign": "^7.22.5",
"@babel/register": "^7.22.15",
"airbnb-browser-shims": "^3.3.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-preset-airbnb": "^5.0.0",
"chai": "^4.3.10",
"enzyme": "^3.11.0",
"eslint": "^8.52.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"mocha": "^10.2.0",
"mock-env": "^0.2.0",
"nyc": "^15.1.0",
"object-inspect": "^1.13.1",
"object.values": "^1.1.7",
"react": "^0.14 || ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"reflect.ownkeys": "^1.1.4",
"rimraf": "^5.0.5",
"safe-publish-latest": "^2.0.0",
"shx": "^0.3.4"
},
"peerDependencies": {
"react": "^0.14 || ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"scripts": {
"pretest": "npm run lint",
"pretest:prepare": "npm run build",
"test:prepare": "npm run build:test",
"test": "npm run build:test && npm run test:only",
"test:only": "npm run mocha build-test",
"test:all": "npm run test:only && npm run test:only && 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": "shx cp index.js .index.js",
"build:index": "babel index.js --out-file index.js --no-babelrc --source-maps",
"postbuild:index": "shx mv .index.js index.js",
"prebuild:test": "rimraf build-test",
"build:test": "babel test --out-dir build-test --source-maps",
"cover:clean": "rimraf coverage",
"cover:run": "nyc --show-process-tree npm run --silent mocha build-test -- --reporter=dot",
"precoverage": "NODE_ENV=test npm run build",
"coverage": "npm run --quiet cover:clean && npm run --silent cover:run",
"mocha": "mocha --recursive build-test/helpers/_failTestsOnErrors"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mahpooya/airbnb-prop-types.git"
},
"keywords": [
"react",
"propTypes",
"airbnb",
"prop",
"types",
"validator",
"validation"
],
"author": "Jordan Harband <[email protected]>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/prop-types/issues"
},
"homepage": "https://github.com/mahpooya/airbnb-prop-types#readme",
"greenkeeper": {
"//": "nyc and mocha are ignored because they requires node 4+, and we support older than that",
"ignore": [
"nyc",
"mocha"
]
},
"directories": {
"test": "test"
}
}