1 | {
|
2 | "name": "rc-input",
|
3 | "version": "1.4.1",
|
4 | "description": "React input component",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-input",
|
9 | "input",
|
10 | "antd",
|
11 | "ant-design"
|
12 | ],
|
13 | "main": "./lib/index",
|
14 | "module": "./es/index",
|
15 | "files": [
|
16 | "assets/*.css",
|
17 | "assets/*.less",
|
18 | "es",
|
19 | "lib"
|
20 | ],
|
21 | "homepage": "https://github.com/react-component/input",
|
22 | "repository": {
|
23 | "type": "git",
|
24 | "url": "git@github.com:react-component/input.git"
|
25 | },
|
26 | "bugs": {
|
27 | "url": "http://github.com/react-component/input/issues"
|
28 | },
|
29 | "license": "MIT",
|
30 | "scripts": {
|
31 | "start": "dumi dev",
|
32 | "docs:build": "dumi build",
|
33 | "docs:deploy": "gh-pages -d .doc",
|
34 | "compile": "father build && lessc assets/index.less assets/index.css",
|
35 | "gh-pages": "npm run docs:build && npm run docs:deploy",
|
36 | "prepublishOnly": "npm run compile && np --yolo --no-publish",
|
37 | "postpublish": "npm run gh-pages",
|
38 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
|
39 | "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
40 | "pretty-quick": "pretty-quick",
|
41 | "lint-staged": "lint-staged",
|
42 | "test": "rc-test",
|
43 | "coverage": "rc-test --coverage",
|
44 | "prepare": "husky install"
|
45 | },
|
46 | "dependencies": {
|
47 | "@babel/runtime": "^7.11.1",
|
48 | "classnames": "^2.2.1",
|
49 | "rc-util": "^5.18.1"
|
50 | },
|
51 | "devDependencies": {
|
52 | "@testing-library/jest-dom": "^5.16.2",
|
53 | "@testing-library/react": "^13.0.0",
|
54 | "@testing-library/user-event": "^14.0.0-beta",
|
55 | "@types/classnames": "^2.2.9",
|
56 | "@types/jest": "^26.0.24",
|
57 | "@types/react": "^17.0.39",
|
58 | "@types/react-dom": "^17.0.11",
|
59 | "@umijs/fabric": "^2.0.8",
|
60 | "coveralls": "^3.0.6",
|
61 | "cross-env": "^7.0.2",
|
62 | "dumi": "^2.1.14",
|
63 | "eslint": "^7.0.0",
|
64 | "father": "^4.3.7",
|
65 | "gh-pages": "^3.1.0",
|
66 | "husky": "^8.0.1",
|
67 | "less": "^3.10.3",
|
68 | "lint-staged": "^13.0.3",
|
69 | "np": "^7.0.0",
|
70 | "prettier": "^2.0.5",
|
71 | "pretty-quick": "^3.0.0",
|
72 | "rc-test": "^7.0.15",
|
73 | "react": "^18.0.0",
|
74 | "react-dom": "^18.0.0",
|
75 | "typescript": "^4.0.5"
|
76 | },
|
77 | "peerDependencies": {
|
78 | "react": ">=16.0.0",
|
79 | "react-dom": ">=16.0.0"
|
80 | },
|
81 | "husky": {
|
82 | "hooks": {
|
83 | "pre-commit": "pretty-quick --staged"
|
84 | }
|
85 | },
|
86 | "lint-staged": {
|
87 | "**/*.{js,jsx,tsx,ts,md,json}": [
|
88 | "prettier --write",
|
89 | "git add"
|
90 | ]
|
91 | },
|
92 | "cnpm": {
|
93 | "mode": "npm"
|
94 | },
|
95 | "tnpm": {
|
96 | "mode": "npm"
|
97 | }
|
98 | }
|