-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
executable file
·115 lines (115 loc) · 3.14 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
{
"name": "react-timezone-select",
"version": "3.2.8",
"description": "Usable, dynamic React Timezone Select",
"scripts": {
"dev": "concurrently \"tsup src/index.tsx --format esm --watch\" \"cd example && pnpm dev\"",
"prepublishOnly": "pnpm run build",
"postpublish": "pnpm run build:example && npm run deploy",
"build": "tsup src/index.tsx --format esm --clean --dts && sed -i '1i \"use client\"\\n' dist/index.js",
"build:example": "cd example && pnpm run build",
"deploy": "gh-pages -d example/dist",
"pretest": "pnpm run build",
"test": "vitest",
"test:watch": "vitest --watch",
"test:ci": "pnpm run build && pnpm test",
"tsc": "tsc"
},
"author": "Nico Domino <[email protected]>",
"homepage": "https://github.com/ndom91/react-timezone-select",
"repository": {
"type": "git",
"url": "git+https://github.com/ndom91/react-timezone-select.git"
},
"bugs": {
"url": "https://github.com/ndom91/react-timezone-select/issues"
},
"license": "MIT",
"keywords": [
"react",
"timezone",
"select",
"react-select"
],
"files": [
"dist/**/*",
"package.json"
],
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"peerDependencies": {
"react": "^16 || ^17.0.1 || ^18 || ^19.0.0-0",
"react-dom": "^16 || ^17.0.1 || ^18 || ^19.0.0-0",
"react-select": "^5.8.0"
},
"dependencies": {
"spacetime": "^7.6.0",
"timezone-soft": "^1.5.2"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitejs/plugin-react": "^4.3.1",
"concurrently": "^8.2.2",
"esbuild": "^0.23.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "5.2.1",
"gh-pages": "^6.1.1",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"simple-git-hooks": "^2.11.1",
"ts-jest": "^29.2.3",
"tsup": "^8.2.2",
"typescript": "^5.5.4",
"vite": "^5.3.4",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.0.4"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint"
],
"root": true
},
"prettier": {
"semi": false,
"printWidth": 100
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"packageManager": "[email protected]+sha256.0624e30eff866cdeb363b15061bdb7fd9425b17bc1bb42c22f5f4efdea21f6b3"
}