-
-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.66 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
{
"name": "@rc-component/input-number",
"version": "1.6.2",
"description": "React input-number component",
"keywords": [
"react",
"react-component",
"react-input-number",
"input-number"
],
"homepage": "https://react-component.github.io/input-number",
"bugs": {
"url": "https://github.com/react-component/input-number/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/react-component/input-number.git"
},
"license": "MIT",
"author": "tsjxyz@gmail.com",
"main": "./lib/index",
"module": "./es/index",
"types": "./es/index.d.ts",
"files": [
"lib",
"es",
"assets/*.css"
],
"scripts": {
"build": "npm run docs:build",
"compile": "father build && lessc assets/index.less assets/index.css",
"coverage": "rc-test --coverage",
"docs:build": "dumi build",
"docs:build:gh-pages": "GH_PAGES=1 npm run docs:build",
"docs:deploy": "gh-pages -d docs-dist",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
"prepare": "husky",
"prepublishOnly": "npm run compile && rc-np",
"prettier": "prettier --write --ignore-unknown .",
"start": "dumi dev",
"test": "rc-test",
"tsc": "tsc --noEmit"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@rc-component/mini-decimal": "^1.1.1",
"@rc-component/util": "^1.11.1",
"clsx": "^2.1.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@eslint/compat": "^2.1.0",
"@rc-component/father-plugin": "^2.2.0",
"@rc-component/np": "^1.0.4",
"@swc-node/jest": "^1.5.5",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/node": "^26.0.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/responselike": "^1.0.3",
"@umijs/test": "^4.6.68",
"dumi": "^2.4.38",
"eslint": "^10.6.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.15.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"father": "^4.6.24",
"gh-pages": "^6.3.0",
"glob": "^13.0.6",
"globals": "^17.7.0",
"husky": "^9.1.7",
"jest-environment-jsdom": "^30.4.1",
"less": "^4.6.7",
"lint-staged": "^17.0.8",
"prettier": "^3.9.4",
"rc-test": "^7.1.3",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"regenerator-runtime": "^0.14.1",
"ts-node": "^10.9.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.1"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"publishConfig": {
"access": "public"
}
}