1 | {
|
2 | "name": "rc-image",
|
3 | "version": "3.0.2",
|
4 | "description": "React easy to use image component",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-image",
|
9 | "image"
|
10 | ],
|
11 | "main": "./lib/index",
|
12 | "module": "./es/index",
|
13 | "types": "./lib/index.d.ts",
|
14 | "files": [
|
15 | "assets/*.css",
|
16 | "es",
|
17 | "lib"
|
18 | ],
|
19 | "homepage": "http://github.com/react-component/image",
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "git@github.com:react-component/image.git"
|
23 | },
|
24 | "bugs": {
|
25 | "url": "http://github.com/react-component/image/issues"
|
26 | },
|
27 | "license": "MIT",
|
28 | "scripts": {
|
29 | "start": "cross-env NODE_ENV=development father doc dev --storybook",
|
30 | "build": "father doc build --storybook",
|
31 | "compile": "father build && lessc assets/index.less assets/index.css",
|
32 | "gh-pages": "npm run build && father doc deploy",
|
33 | "prepublishOnly": "npm run compile && np --yolo --no-publish",
|
34 | "postpublish": "npm run gh-pages",
|
35 | "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
|
36 | "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
37 | "test": "father test",
|
38 | "coverage": "father test --coverage"
|
39 | },
|
40 | "peerDependencies": {
|
41 | "react": "^16.8.0",
|
42 | "react-dom": "^16.8.0"
|
43 | },
|
44 | "dependencies": {
|
45 | "@ant-design/icons": "^4.2.2",
|
46 | "@babel/runtime": "^7.11.2",
|
47 | "classnames": "^2.2.6",
|
48 | "rc-dialog": "^8.1.0",
|
49 | "rc-util": "^5.0.6"
|
50 | },
|
51 | "devDependencies": {
|
52 | "@types/classnames": "^2.2.10",
|
53 | "@types/enzyme": "^3.10.5",
|
54 | "@types/jest": "^26.0.9",
|
55 | "@types/react": "^16.9.44",
|
56 | "@types/react-dom": "^16.9.8",
|
57 | "@umijs/fabric": "^2.2.2",
|
58 | "cross-env": "^7.0.2",
|
59 | "enzyme": "^3.11.0",
|
60 | "enzyme-adapter-react-16": "^1.15.2",
|
61 | "enzyme-to-json": "^3.5.0",
|
62 | "eslint": "^7.6.0",
|
63 | "father": "^2.29.6",
|
64 | "less": "^3.12.2",
|
65 | "np": "^6.3.2",
|
66 | "react": "^16.13.1",
|
67 | "react-dom": "^16.13.1",
|
68 | "typescript": "^3.9.7"
|
69 | }
|
70 | }
|