-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.75 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.75 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
{
"name": "react-flatpickr",
"version": "4.0.11",
"description": "flatpickr for React",
"exports": {
".": {
"import": {
"types": "./build/react-flatpickr.d.ts",
"default": "./build/react-flatpickr.js"
},
"require": {
"types": "./build/react-flatpickr.d.ts",
"default": "./build/react-flatpickr.cjs"
}
}
},
"type": "module",
"types": "./build/react-flatpickr.d.ts",
"main": "./build/react-flatpickr.cjs",
"module": "./build/react-flatpickr.js",
"scripts": {
"lint": "eslint --quiet --fix lib test types",
"format": "prettier --config .prettierrc --write 'lib/*.{ts,tsx}' 'example/*' 'test/*.{ts,tsx}' 'types/*.ts'",
"build": "tsc -b && vite build",
"test": "jest --config=jest.config.ts --env=jsdom",
"test:watch": "jest --config=jest.config.ts --watch --env=jsdom",
"test:coverage": "jest --config=jest.config.ts --coverage --env=jsdom",
"prepublishOnly": "npm run build",
"examples": "vite --port 3000 --open",
"prepare": "husky"
},
"lint-staged": {
"*.{ts,tsx,js,css}": [
"eslint --fix",
"prettier --config .prettierrc --write"
]
},
"repository": "haoxins/react-flatpickr",
"keywords": [
"flatpickr",
"react"
],
"files": [
"build"
],
"author": "haoxin",
"license": "MIT",
"dependencies": {
"flatpickr": "^4.6.13"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.10",
"@babel/eslint-parser": "^7.26.5",
"@babel/plugin-proposal-decorators": "^7.25.9",
"@babel/plugin-proposal-do-expressions": "^7.25.9",
"@babel/plugin-proposal-export-default-from": "^7.25.9",
"@babel/plugin-proposal-function-bind": "^7.25.9",
"@babel/plugin-proposal-function-sent": "^7.25.9",
"@babel/plugin-proposal-pipeline-operator": "^7.26.7",
"@babel/plugin-proposal-throw-expressions": "^7.25.9",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.27.0",
"@eslint/js": "^9.19.0",
"@jest/globals": "^29.7.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/react": "^19.1.0",
"@vitejs/plugin-react": "^4.3.4",
"babel-jest": "^29.7.0",
"css-loader": "^7.1.2",
"eslint": "^9.23.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-ts-react-hooks": "^1.0.4",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.5.1",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"ts-node": "^10.9.2",
"typescript-eslint": "^8.29.1",
"vite": "^6.2.3",
"vite-plugin-dts": "^4.5.3"
},
"peerDependencies": {
"react": ">= 16 <= 19"
}
}