forked from airbnb/react-outside-click-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 3.12 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
{
"name": "react-outside-click-handler",
"version": "1.3.0",
"description": "A React component for dealing with clicks outside its subtree",
"main": "index.js",
"scripts": {
"prebuild": "npm run clean",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "BABEL_ENV=cjs babel src/ -d build/",
"build:esm": "BABEL_ENV=esm babel src/ -d esm/",
"clean": "rimraf build esm",
"lint": "eslint --ext .js,.jsx src test",
"mocha": "mocha",
"react": "enzyme-adapter-react-install 16",
"pretest": "npm run --silent lint",
"pretests-only": "npm run react",
"tests-only": "npm run mocha --silent test",
"test": "npm run tests-only",
"tag": "git tag v$npm_package_version",
"version:patch": "npm --no-git-tag-version version patch",
"version:minor": "npm --no-git-tag-version version minor",
"version:major": "npm --no-git-tag-version version major",
"preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
"postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/react-outside-click-handler.git"
},
"author": "Maja Wichrowska <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/react-outside-click-handler/issues"
},
"homepage": "https://github.com/airbnb/react-outside-click-handler#readme",
"devDependencies": {
"airbnb-js-shims": "^2.2.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-preset-airbnb": "^2.6.0",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-helper": "^1.3.6",
"eslint": "^6.4.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.1.0",
"eslint-plugin-react-with-styles": "^2.2.0",
"in-publish": "^2.0.0",
"mocha": "^3.5.3",
"mocha-wrap": "^2.1.2",
"react": "^0.14 || >=15",
"react-dom": "^0.14 || >=15",
"rimraf": "^2.7.1",
"safe-publish-latest": "^1.1.3",
"sinon": "^5.1.1",
"sinon-sandbox": "^2.0.6"
},
"dependencies": {
"airbnb-prop-types": "^2.15.0",
"consolidated-events": "^1.1.1 || ^2.0.0",
"document.contains": "^1.0.1",
"object.values": "^1.1.0",
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "^0.14 || >=15",
"react-dom": "^0.14 || >=15"
}
}