1 | {
|
2 | "name": "rmc-picker",
|
3 | "version": "5.0.10",
|
4 | "description": "React Mobile Picker Component(web and react-native)",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-m-picker",
|
9 | "m-picker"
|
10 | ],
|
11 | "homepage": "https://github.com/react-component/m-picker",
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/react-component/m-picker.git"
|
15 | },
|
16 | "bugs": {
|
17 | "url": "https://github.com/react-component/m-picker/issues"
|
18 | },
|
19 | "files": [
|
20 | "lib",
|
21 | "es",
|
22 | "assets/*.css"
|
23 | ],
|
24 | "license": "MIT",
|
25 | "main": "./lib/index",
|
26 | "module": "./es/index",
|
27 | "config": {
|
28 | "port": 8021,
|
29 | "entry": [
|
30 | "./src/index.tsx",
|
31 | "./assets/index.less",
|
32 | "./assets/popup.less"
|
33 | ]
|
34 | },
|
35 | "scripts": {
|
36 | "watch-tsc": "rc-tools run watch-tsc",
|
37 | "compile": "rc-tools run compile --babel-runtime",
|
38 | "build": "rc-tools run build",
|
39 | "gh-pages": "rc-tools run gh-pages",
|
40 | "start": "rc-tools run server",
|
41 | "prepublish": "rc-tools run guard",
|
42 | "prepare": "rc-tools run guard",
|
43 | "prepublishOnly": "rc-tools run guard",
|
44 | "pub": "rc-tools run pub --babel-runtime",
|
45 | "lint": "rc-tools run lint --no-js-lint",
|
46 | "test": "jest",
|
47 | "coverage": "npm run test -- --coverage",
|
48 | "rn-start": "node node_modules/react-native/local-cli/cli.js start",
|
49 | "rn-init": "rc-tools run react-native-init",
|
50 | "tsc": "tsc -d"
|
51 | },
|
52 | "jest": {
|
53 | "setupFiles": [
|
54 | "./tests/setup.js"
|
55 | ],
|
56 | "testMatch": [
|
57 | "**/?(*.)(spec|test).ts?(x)"
|
58 | ],
|
59 | "coverageDirectory": "./coverage/",
|
60 | "moduleFileExtensions": [
|
61 | "ts",
|
62 | "tsx",
|
63 | "js"
|
64 | ],
|
65 | "collectCoverageFrom": [
|
66 | "src/**/*"
|
67 | ],
|
68 | "transform": {
|
69 | "\\.tsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js",
|
70 | "\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
|
71 | }
|
72 | },
|
73 | "dependencies": {
|
74 | "babel-runtime": "6.x",
|
75 | "classnames": "^2.2.6",
|
76 | "rmc-feedback": "^2.0.0",
|
77 | "rmc-dialog": "^1.1.1"
|
78 | },
|
79 | "devDependencies": {
|
80 | "@types/classnames": "^2.2.7",
|
81 | "@types/enzyme": "^3.9.1",
|
82 | "@types/react": "^15.0.0",
|
83 | "@types/react-dom": "^15.0.0",
|
84 | "@types/react-native": "^0.57.42",
|
85 | "enzyme": "^3.9.0",
|
86 | "enzyme-adapter-react-16": "^1.11.2",
|
87 | "jest": "^24.5.0",
|
88 | "pre-commit": "1.x",
|
89 | "rc-tools": "9.x",
|
90 | "react": "16.x",
|
91 | "react-dom": "16.x",
|
92 | "react-native": "~0.59.3",
|
93 | "react-native-index-page": "~2.0.0"
|
94 | },
|
95 | "typings": "./lib/index.d.ts",
|
96 | "pre-commit": [
|
97 | "lint"
|
98 | ]
|
99 | }
|