forked from arqex/react-datetime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 4.92 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 4.92 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "@nateradebaugh/react-datetime",
"version": "3.2.1",
"description": "A lightweight but complete datetime picker React.js component",
"license": "MIT",
"homepage": "https://github.com/NateRadebaugh/react-datetime",
"repository": {
"type": "git",
"url": "https://github.com/NateRadebaugh/react-datetime"
},
"authors": [
"Javier Marquez",
"Nate Radebaugh"
],
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"types": "dist/index.d.ts",
"files": [
"src",
"css",
"dist"
],
"bundlesize": [
{
"path": "dist/index.js",
"maxSize": "11 kB"
},
{
"path": "dist/index.es.js",
"maxSize": "11 kB"
}
],
"keywords": [
"react",
"react-component",
"datepicker",
"timepicker",
"datetimepicker",
"datetime"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"start": "rollup -c -w",
"lint": "yarn tslint",
"lint:fix": "yarn tslint:fix",
"eslint": "eslint src/**/*.{js,jsx}",
"eslint:fix": "eslint src/**/*.{js,jsx} --fix",
"tslint": "tslint --project tsconfig.json src/**/*.{ts,tsx}",
"tslint:fix": "tslint --project tsconfig.json src/**/*.{ts,tsx} --fix",
"test": "cross-env CI=1 TZ=Europe/Stockholm jest",
"test:coverage": "cross-env CI=1 TZ=Europe/Stockholm jest --coverage",
"test:all": "echo 'Running tests...' && yarn test:coverage && yarn bundlesize && echo 'All tests passed! 🤘'",
"test:watch": "cross-env TZ=Europe/Stockholm jest --watch",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"prettier": "prettier --write **/*.{json,js,jsx,css}",
"prepare": "yarn build",
"predeploy": "cd example && yarn install && yarn build",
"deploy": "gh-pages -d example/build"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add",
"cross-env CI=1 TZ=Europe/Stockholm jest --bail --findRelatedTests"
],
"*.{ts,tsx}": [
"prettier --write",
"tslint --fix",
"git add",
"cross-env CI=1 TZ=Europe/Stockholm jest --bail --findRelatedTests"
],
"*.{json,css,scss}": [
"prettier --write",
"git add"
],
"*": [
"bundlesize"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"peerDependencies": {
"date-fns": "^1.29.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^16.5.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/jest": "^23.3.2",
"@types/react": "^16.4.14",
"babel-eslint": "^10.0.0",
"bundlesize": "^0.17.0",
"coveralls": "^3.0.2",
"cross-env": "^5.1.4",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-react": "^7.0.2",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"gh-pages": "^2.0.0",
"husky": "^1.0.0",
"jest": "^23.6.0",
"jest-date-mock": "^1.0.5",
"lint-staged": "^7.2.2",
"pre-commit": "^1.2.2",
"prettier": "^1.14.2",
"react": "^16.4.1",
"react-dom": "^16.5.0",
"react-test-renderer": "^16.5.0",
"rollup": "^0.66.2",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-typescript2": "^0.17.0",
"rollup-plugin-url": "^1.4.0",
"ts-jest": "^23.10.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "^3.0.3"
},
"dependencies": {
"classcat": "^3.2.3",
"react-onclickoutside": "^6.7.1"
}
}