forked from react-dates/react-dates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
143 lines (143 loc) · 5.93 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
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "react-dates",
"version": "21.8.0",
"description": "A responsive and accessible date range picker component built with React",
"main": "index.js",
"scripts": {
"prebuild": "npm run clean",
"build": "npm run build:cjs && npm run build:esm && npm run build:css -- --optimize",
"postbuild": "npm run build:test",
"build:cjs": "BABEL_ENV=cjs babel src/ -d lib/",
"build:esm": "BABEL_ENV=esm babel src/ -d esm/",
"build:test": "BABEL_ENV=test babel test/ -d test-build/",
"prebuild:css": "rimraf lib/css && mkdirp lib/css",
"build:css": "node scripts/buildCSS.js",
"clean": "rimraf lib esm test-build",
"lint": "eslint --ext .js,.jsx src test",
"mocha": "mocha ./test-build/_helpers",
"storybook:uninstall": "npm uninstall --no-save @storybook/react && rimraf node_modules/@storybook node_modules/react-modal node_modules/react-dom-factories",
"react": "NPM_CONFIG_LEGACY_PEER_DEPS=true enzyme-adapter-react-install 16",
"pretest": "npm run --silent lint",
"tests-only": "cross-env NODE_ENV=test nyc npm run mocha --silent",
"pretests-karma": "npm run react",
"tests-karma": "karma start",
"test": "npm run react && npm run build && npm run build:test && npm run tests-only",
"storybook": "start-storybook -p 6006",
"storybook:css": "npm run build:css && start-storybook -p 6006 -c .storybook-css",
"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: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: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": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "[ \"${npm_config_tag:-latest}\" != latest ] || 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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-dates/react-dates.git"
},
"author": "Maja Wichrowska <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/react-dates/react-dates/issues"
},
"homepage": "https://github.com/react-dates/react-dates#readme",
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@babel/register": "^7.16.9",
"@babel/runtime": "^7.16.7",
"@storybook/addon-actions": "^5.3.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^5.3.21",
"@storybook/addon-options": "^5.3.21",
"@storybook/addons": "^5.3.21",
"@storybook/react": "^5.3.21",
"@welldone-software/why-did-you-render": "^3.6.0",
"airbnb-js-shims": "^2.2.1",
"aphrodite": "^2.4.0",
"babel-loader": "^8.2.2",
"babel-plugin-import-path-replace": "^0.1.0",
"babel-plugin-inline-react-svg": "^1.1.2",
"babel-plugin-inline-svg": "^1.2.0",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-transform-replace-object-assign": "^2.0.0",
"babel-preset-airbnb": "^4.5.0",
"chai": "^4.2.0",
"cheerio": "=1.0.0-rc.3",
"clean-css": "^4.2.3",
"cross-env": "^5.2.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-helper": "^1.3.9",
"eslint": "^8.7.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-with-styles": "^2.4.0",
"git-directory-deploy": "^1.5.1",
"imports-loader": "^0.8.0",
"in-publish": "^2.0.1",
"karma": "^6.3.11",
"karma-chai": "^0.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-mocha": "^2.0.1",
"karma-sinon": "^1.0.5",
"karma-webpack": "^4.0.2",
"mkdirp": "^0.5.5",
"mocha": "^3.5.3",
"mocha-wrap": "^2.1.2",
"moment": "^2.29.1",
"moment-jalaali": "^0.7.4",
"nyc": "^10.3.2",
"raw-loader": "^0.5.1",
"react": "^0.14 || ^15.5.4 || ^16.1.1",
"react-dom": "^0.14 || ^15.5.4 || ^16.1.1",
"react-with-styles-interface-aphrodite": "^6.0.1",
"react-with-styles-interface-css-compiler": "^2.2.0",
"rimraf": "^2.7.1",
"safe-publish-latest": "^1.1.4",
"sass-loader": "^7.3.1",
"sinon": "^7.5.0",
"sinon-sandbox": "^2.0.6",
"style-loader": "^0.20.3",
"typescript": "*",
"webpack": "^4.46.0"
},
"dependencies": {
"airbnb-prop-types": "^2.16.0",
"color2k": "~1.1.1",
"consolidated-events": "^1.1.1 || ^2.0.0",
"enzyme-shallow-equal": "^1.0.4",
"is-touch-device": "^1.0.1",
"lodash": "^4.1.1",
"object.assign": "^4.1.2",
"object.values": "^1.1.5",
"prop-types": "^15.7.2",
"raf": "^3.4.1",
"react-moment-proptypes": "^1.8.1",
"react-outside-click-handler": "^1.3.0",
"react-portal": "^4.2.1",
"react-with-direction": "^1.4.0",
"react-with-styles": "~4.1.0",
"react-with-styles-interface-css": "^6.0.0"
},
"peerDependencies": {
"@babel/runtime": "^7.0.0",
"moment": "^2.18.1",
"react": "^0.14 || ^15.5.4 || ^16.1.1",
"react-dom": "^0.14 || ^15.5.4 || ^16.1.1"
},
"engines": {
"node": ">=0.10"
}
}