1 | {
|
2 | "name": "rc-form",
|
3 | "version": "2.2.3",
|
4 | "description": "React High Order Form Component",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-form",
|
9 | "form"
|
10 | ],
|
11 | "homepage": "https://github.com/react-component/form",
|
12 | "author": "yiminghe@gmail.com",
|
13 | "repository": {
|
14 | "type": "git",
|
15 | "url": "https://github.com/react-component/form.git"
|
16 | },
|
17 | "bugs": {
|
18 | "url": "https://github.com/react-component/form/issues"
|
19 | },
|
20 | "files": [
|
21 | "lib",
|
22 | "es",
|
23 | "dist",
|
24 | "assets/*.css"
|
25 | ],
|
26 | "license": "MIT",
|
27 | "main": "./lib/index",
|
28 | "module": "./es/index",
|
29 | "config": {
|
30 | "port": 8000,
|
31 | "entry": {
|
32 | "rc-form": [
|
33 | "./scripts/index.js"
|
34 | ]
|
35 | }
|
36 | },
|
37 | "scripts": {
|
38 | "build": "rc-tools run build",
|
39 | "compile": "rc-tools run compile --babel-runtime",
|
40 | "gh-pages": "rc-tools run gh-pages",
|
41 | "start": "rc-tools run server",
|
42 | "pub": "rc-tools run pub --babel-runtime",
|
43 | "lint": "rc-tools run lint",
|
44 | "lint:fix": "rc-tools run lint --fix",
|
45 | "test": "jest",
|
46 | "prepublish": "rc-tools run guard",
|
47 | "coverage": "jest --coverage"
|
48 | },
|
49 | "jest": {
|
50 | "setupFiles": [
|
51 | "./tests/setup.js"
|
52 | ],
|
53 | "collectCoverageFrom": [
|
54 | "src/**/*"
|
55 | ],
|
56 | "snapshotSerializers": [
|
57 | "enzyme-to-json/serializer"
|
58 | ],
|
59 | "transform": {
|
60 | "\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
|
61 | }
|
62 | },
|
63 | "devDependencies": {
|
64 | "antd": "2.x",
|
65 | "async": "^1.5.2",
|
66 | "enzyme": "^3.1.0",
|
67 | "enzyme-adapter-react-16": "^1.0.2",
|
68 | "enzyme-to-json": "^3.1.4",
|
69 | "jest": "^21.2.1",
|
70 | "pre-commit": "1.x",
|
71 | "rc-tools": "6.x",
|
72 | "react": "^16.1.1",
|
73 | "react-dom": "^16.1.1",
|
74 | "react-test-renderer": "^16.1.1",
|
75 | "history": "^1.16.0",
|
76 | "prop-types": "^15.5.10",
|
77 | "react-redux": "^4.0.0",
|
78 | "react-router": "^3.0.0",
|
79 | "redux": "^3.0.4"
|
80 | },
|
81 | "pre-commit": [
|
82 | "lint"
|
83 | ],
|
84 | "dependencies": {
|
85 | "async-validator": "1.x",
|
86 | "babel-runtime": "6.x",
|
87 | "create-react-class": "^15.5.3",
|
88 | "dom-scroll-into-view": "1.x",
|
89 | "hoist-non-react-statics": "^2.3.1",
|
90 | "lodash": "^4.17.4",
|
91 | "warning": "^3.0.0"
|
92 | },
|
93 | "peerDependencies": {
|
94 | "prop-types": "^15.0"
|
95 | }
|
96 | }
|