@kne/react-calendar 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,112 @@
1
+ {
2
+ "name": "@kne/react-calendar",
3
+ "version": "1.0.0",
4
+ "description": "实现一个日程的组件",
5
+ "syntax": {
6
+ "esmodules": true
7
+ },
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.modern.js",
10
+ "types": "dist/index.d.ts",
11
+ "source": "src/index.js",
12
+ "scripts": {
13
+ "init": "husky && npm run init-example",
14
+ "start": "run-p start:lib start:md start:example",
15
+ "build": "run-s build:lib build:md build:example",
16
+ "init-example": "modules-dev-libs-init",
17
+ "build:md": "npx @kne/md-doc",
18
+ "start:md": "npx @kne/md-doc --watch",
19
+ "build:locale": "microbundle src/locale/*.js -o dist/locale --no-compress --format modern,cjs ",
20
+ "build:lib-main": "microbundle --no-compress --format modern,cjs --jsxImportSource react --jsx React.createElement --jsxFragment React.Fragment",
21
+ "copy:types": "cp src/index.d.ts dist/index.d.ts",
22
+ "build:lib": "run-s build:locale build:lib-main copy:types",
23
+ "start:lib": "microbundle watch --no-compress --format modern,cjs --jsxImportSource react --jsx React.createElement --jsxFragment React.Fragment",
24
+ "build:example": "cd example && npm run build",
25
+ "start:example": "cd example && npm run start",
26
+ "test:build": "run-s build",
27
+ "test:lint": "eslint .",
28
+ "test:unit": "jest",
29
+ "test:watch": "jest --watch",
30
+ "prettier": "prettier --config .prettierrc --write '{src/**/*,index,prompts}.{js,jsx,ts,tsx,json,css,scss}'",
31
+ "lint-staged": "npx lint-staged"
32
+ },
33
+ "husky": {
34
+ "hooks": {
35
+ "pre-commit": "lint-staged"
36
+ }
37
+ },
38
+ "lint-staged": {
39
+ "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
40
+ "prettier --config .prettierrc --write",
41
+ "git add"
42
+ ]
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/kne-union/react-calendar.git"
50
+ },
51
+ "keywords": [
52
+ "react",
53
+ "calendar",
54
+ "schedule",
55
+ "scheduler",
56
+ "appointment",
57
+ "antd",
58
+ "dayjs"
59
+ ],
60
+ "author": "linzp",
61
+ "license": "ISC",
62
+ "bugs": {
63
+ "url": "https://github.com/kne-union/react-calendar/issues"
64
+ },
65
+ "homepage": "https://github.com/kne-union/react-calendar",
66
+ "eslintConfig": {
67
+ "extends": [
68
+ "react-app",
69
+ "react-app/jest"
70
+ ]
71
+ },
72
+ "browserslist": {
73
+ "production": [
74
+ ">0.2%",
75
+ "not dead",
76
+ "not op_mini all"
77
+ ],
78
+ "development": [
79
+ "last 1 chrome version",
80
+ "last 1 firefox version",
81
+ "last 1 safari version"
82
+ ]
83
+ },
84
+ "peerDependencies": {
85
+ "antd": ">=5.0.0",
86
+ "dayjs": ">=1.11.0",
87
+ "react": "*",
88
+ "react-dom": "*"
89
+ },
90
+ "devDependencies": {
91
+ "@babel/core": "^7.29.7",
92
+ "@babel/preset-env": "^7.29.7",
93
+ "@kne/microbundle": "^0.15.5",
94
+ "@kne/modules-dev": "^2.0.33",
95
+ "antd": "^6.4.3",
96
+ "babel-jest": "^29.7.0",
97
+ "cross-env": "^7.0.3",
98
+ "dayjs": "^1.11.21",
99
+ "husky": "^9.0.11",
100
+ "jest": "^29.7.0",
101
+ "npm-run-all": "^4.1.5",
102
+ "prettier": "^3.2.5",
103
+ "react": "^18.2.0",
104
+ "react-dom": "^18.2.0"
105
+ },
106
+ "dependencies": {
107
+ "@kne/form-info": "^0.1.9",
108
+ "@kne/react-intl": "^0.1.9",
109
+ "@kne/use-control-value": "^0.1.9"
110
+ }
111
+ }
112
+