This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) Β· 4.22 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
144
145
{
"name": "@nateradebaugh/react-datetime",
"version": "4.6.0",
"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",
"umd:main": "dist/react-datetime.umd.production.min.js",
"module": "dist/react-datetime.esm.js",
"typings": "dist/index.d.ts",
"files": [
"scss",
"dist"
],
"sideEffects": [
"**/*.css",
"**/*.scss"
],
"bundlesize": [
{
"path": "dist/react-datetime.cjs.production.min.js",
"maxSize": "5.0 kB"
},
{
"path": "dist/react-datetime.cjs.development.js",
"maxSize": "10 kB"
},
{
"path": "dist/react-datetime.esm.js",
"maxSize": "6.5 kB"
},
{
"path": "dist/react-datetime.umd.production.min.js",
"maxSize": "5.5 kB"
},
{
"path": "dist/react-datetime.umd.development.js",
"maxSize": "10 kB"
}
],
"keywords": [
"react",
"react-component",
"datepicker",
"timepicker",
"datetimepicker",
"datetime"
],
"scripts": {
"now-build": "storybook build -c .storybook -o public",
"build": "tsdx build --format=umd,esm,cjs&&npm run sass",
"sass": "sass scss/styles.scss dist/css/styles.css",
"bundlesize": "bundlesize",
"dev": "tsdx watch --format=esm",
"start": "npm run dev",
"test": "cross-env CI=1 TZ=Europe/Stockholm vitest",
"test:ci": "cross-env CI=1 TZ=Europe/Stockholm vitest",
"test:coverage": "npm run test --coverage",
"test:all": "echo 'Running tests...' && npm run bundlesize && npm run test:coverage && echo 'All tests passed! π€'",
"test:watch": "cross-env TZ=Europe/Stockholm vitest --watch",
"deduplicate": "npx npm run-deduplicate -s fewer npm run.lock",
"lint": "eslint src --ext .js,.ts,.jsx,.tsx --cache",
"lint:fix": "npm run lint --fix",
"format": "prettier --write . --cache",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build -c .storybook -o public",
"chromatic": "chromatic",
"prepack": "npm run build",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint src --ext .js,.ts,.jsx,.tsx"
],
"src/**/*.{json,css,scss}": [
"prettier --write"
],
"src/**/*": [
"bundlesize"
]
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@sheerun/mutationobserver-shim": "^0.3.3",
"@storybook/addon-essentials": "^7.0.0-beta.49",
"@storybook/addon-interactions": "^7.0.0-beta.49",
"@storybook/addon-links": "^7.0.0-beta.49",
"@storybook/blocks": "^7.0.0-beta.49",
"@storybook/react": "^7.0.0-beta.49",
"@storybook/react-vite": "^7.0.0-beta.49",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.4.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"bundlesize": "^0.18.1",
"chromatic": "^6.17.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.10",
"eslint-plugin-testing-library": "^5.10.2",
"husky": "^8.0.3",
"jsdom": "^21.1.0",
"lint-staged": "^13.2.0",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.58.1",
"sass-loader": "^13.2.0",
"storybook": "^7.0.0-beta.49",
"style-loader": "^3.3.1",
"tsdx": "^0.14.1",
"typescript": "^4.9.5",
"vite": "^4.1.1",
"vitest": "^0.29.2"
},
"dependencies": {
"@reach/popover": "^0.18.0",
"clsx": "^1.2.1",
"date-fns": "^2.29.3",
"use-onclickoutside": "^0.4.1"
}
}