forked from react-dates/react-dates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 5.63 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "react-dates",
"version": "12.2.2",
"description": "A responsive and accessible date range picker component built with React",
"main": "index.js",
"scripts": {
"build": "npm run clean && npm run build:js && npm run build:css && npm run build:svg",
"build:js": "babel src/ -d lib/ --ignore src/components",
"build:css": "node-sass css/styles.scss lib/css/_datepicker.css",
"build:svg": "webpack",
"clean": "rimraf lib",
"precover": "rimraf coverage",
"cover": "cross-env NODE_ENV=test node --max-old-space-size=2048 $(which nyc) npm run mocha test",
"lint": "eslint --ext .js,.jsx src test",
"mocha": "mocha ./test/_helpers",
"storybook:uninstall": "rimraf node_modules/@storybook node_modules/react-modal node_modules/react-dom-factories node_modules/react-svg-loader",
"react:clean": "npm run storybook:uninstall && npm install ajv ajv-keywords && npm uninstall --no-save react react-dom react-addons-test-utils react-test-renderer && rimraf node_modules/react-test-renderer node_modules/react && npm prune",
"react:14": "rimraf node_modules/.bin/npm && npm run react:clean && npm i --no-save react@0.14 react-dom@0.14 react-addons-test-utils@0.14 && npm run storybook:uninstall && npm prune",
"react:15": "rimraf node_modules/.bin/npm && npm run react:clean && npm i --no-save react@15 react-dom@15 react-addons-test-utils@15 react-test-renderer@15 && npm run storybook:uninstall && npm prune",
"pretest": "npm run --silent lint",
"tests-only": "npm run mocha --silent test",
"tests-karma": "karma start",
"test": "npm run tests-only && npm run tests-karma",
"storybook": "start-storybook -p 9001",
"tag": "git tag v$npm_package_version",
"gh-pages:clean": "rimraf _gh-pages",
"gh-pages:build": "$(npm bin)/build-storybook -o _gh-pages",
"gh-pages:copy-public": "cp public/* _gh-pages/$1",
"gh-pages:publish": "$(npm bin)/git-directory-deploy --directory _gh-pages",
"gh-pages": "npm run gh-pages:clean && npm run gh-pages:build && npm run gh-pages:copy-public && npm run gh-pages:publish",
"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 \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
"prepublish": "npm run snyk-protect && in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "npm run gh-pages",
"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",
"snyk-protect": "snyk protect"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/react-dates.git"
},
"author": "Maja Wichrowska <maja.wichrowska@airbnb.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/react-dates/issues"
},
"homepage": "https://github.com/airbnb/react-dates#readme",
"devDependencies": {
"@storybook/addon-info": "^3.1.6",
"@storybook/addon-options": "^3.1.6",
"@storybook/react": "^3.1.6",
"airbnb-js-shims": "^1.1.1",
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-replace-object-assign": "^0.2.1",
"babel-preset-airbnb": "^2.3.3",
"babel-register": "^6.24.1",
"chai": "^4.0.2",
"coveralls": "^2.13.1",
"cross-env": "^5.0.1",
"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.1.0",
"git-directory-deploy": "^1.5.1",
"imports-loader": "^0.7.1",
"in-publish": "^2.0.0",
"json-loader": "^0.5.4",
"karma": "^1.7.0",
"karma-chai": "^0.1.0",
"karma-firefox-launcher": "^1.0.1",
"karma-mocha": "^1.3.0",
"karma-sinon": "^1.0.5",
"karma-webpack": "^2.0.3",
"mocha": "^3.4.2",
"mocha-wrap": "^2.1.1",
"moment": "^2.18.1",
"moment-jalaali": "^0.7.0",
"node-sass": "^4.5.3",
"nyc": "^11.0.3",
"raw-loader": "^0.5.1",
"react": "^0.14 || ^15.5.4",
"react-addons-shallow-compare": "^0.14 || ^15.5.2",
"react-addons-test-utils": "^0.14 || ^15.5.1",
"react-dom": "^0.14 || ^15.5.4",
"react-svg-loader": "^1.1.1",
"react-test-renderer": "^15.5.4",
"rimraf": "^2.6.1",
"safe-publish-latest": "^1.1.1",
"sass-loader": "^6.0.6",
"sinon": "^2.3.5",
"sinon-sandbox": "^1.0.2",
"style-loader": "^0.16.1",
"webpack": "^2.6.1"
},
"dependencies": {
"airbnb-prop-types": "^2.5.4",
"classnames": "^2.2.5",
"consolidated-events": "^1.0.1",
"is-touch-device": "^1.0.1",
"lodash": "^4.1.1",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10",
"react-moment-proptypes": "^1.4.0",
"react-portal": "^3.1.0",
"snyk": "^1.316.1"
},
"peerDependencies": {
"moment": "^2.18.1",
"react": ">=0.14",
"react-dom": ">=0.14",
"react-addons-shallow-compare": ">=0.14"
},
"greenkeeper": {
"ignore": [
"webpack"
]
},
"snyk": true
}