forked from Hacker0x01/react-datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 4.67 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
{
"author": "HackerOne",
"name": "react-datepicker",
"description": "A simple and reusable datepicker component for React",
"version": "2.16.0",
"license": "MIT",
"homepage": "https://github.com/Hacker0x01/react-datepicker",
"main": "dist/index.js",
"browser": "dist/react-datepicker.min.js",
"module": "dist/es/index.js",
"unpkg": "dist/react-datepicker.min.js",
"style": "dist/react-datepicker.min.css",
"files": [
"*.md",
"dist",
"lib",
"es",
"src/stylesheets"
],
"sideEffects": [
"*.css"
],
"keywords": [
"react",
"datepicker",
"calendar",
"date",
"react-component"
],
"repository": {
"type": "git",
"url": "git://github.com/Hacker0x01/react-datepicker.git"
},
"bugs": {
"url": "https://github.com/Hacker0x01/react-datepicker/issues"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/helpers": "^7.5.5",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-airbnb": "^4.0.1",
"chai": "^4.2.0",
"codecov": "^3.5.0",
"core-js": "^3.2.1",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.2.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.3",
"express": "^4.17.1",
"flow-bin": "^0.113.0",
"highlight.js": "^9.15.10",
"husky": "^3.0.4",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^4.2.0",
"karma-chai": "^0.1.0",
"karma-coverage": "^2.0.1",
"karma-firefox-launcher": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"lint-staged": "^9.2.4",
"mocha": "^6.2.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"react": "^16.9.0",
"react-docgen": "^4.1.1",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"react-transform-hmr": "^1.0.4",
"rollup": "^1.20.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-uglify": "^6.0.4",
"sass-lint": "^1.13.1",
"sass-loader": "^8.0.0",
"sinon": "^7.4.1",
"slugify": "^1.3.4",
"style-loader": "^1.0.0",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.7",
"webpack-dev-middleware": "^3.7.0",
"webpack-dev-server": "^3.8.0",
"webpack-hot-middleware": "^2.25.0"
},
"peerDependencies": {
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"dependencies": {
"classnames": "^2.2.6",
"date-fns": "^2.0.1",
"prop-types": "^15.7.2",
"react-onclickoutside": "^6.9.0",
"react-popper": "^1.3.4"
},
"scripts": {
"eslint": "eslint --ext .js,.jsx src test",
"flow": "flow",
"precommit": "lint-staged",
"sass-lint": "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss'",
"lint": "run-p eslint flow sass-lint",
"start": "yarn --cwd docs-site install && yarn --cwd docs-site start",
"test": "cross-env NODE_ENV=test karma start karma.conf.js --single-run",
"test:watch": "cross-env NODE_ENV=test karma start karma.conf.js --watch",
"build": "cross-env NODE_ENV=production run-p build:** && run-p css:**",
"build-dev": "cross-env NODE_ENV=development run-p build:** && run-p css:**",
"css:prod": "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css",
"css:modules:prod": "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css",
"css:dev": "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css",
"css:modules:dev": "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css",
"build:js": "rollup -c",
"js:dev": "rollup -cw"
},
"lint-staged": {
"*.{js,jsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
}
}