UNPKG

rmc-picker

Version:

React Mobile Picker Component(web and react-native)

100 lines (99 loc) 2.51 kB
{ "name": "rmc-picker", "version": "5.0.10", "description": "React Mobile Picker Component(web and react-native)", "keywords": [ "react", "react-component", "react-m-picker", "m-picker" ], "homepage": "https://github.com/react-component/m-picker", "repository": { "type": "git", "url": "https://github.com/react-component/m-picker.git" }, "bugs": { "url": "https://github.com/react-component/m-picker/issues" }, "files": [ "lib", "es", "assets/*.css" ], "license": "MIT", "main": "./lib/index", "module": "./es/index", "config": { "port": 8021, "entry": [ "./src/index.tsx", "./assets/index.less", "./assets/popup.less" ] }, "scripts": { "watch-tsc": "rc-tools run watch-tsc", "compile": "rc-tools run compile --babel-runtime", "build": "rc-tools run build", "gh-pages": "rc-tools run gh-pages", "start": "rc-tools run server", "prepublish": "rc-tools run guard", "prepare": "rc-tools run guard", "prepublishOnly": "rc-tools run guard", "pub": "rc-tools run pub --babel-runtime", "lint": "rc-tools run lint --no-js-lint", "test": "jest", "coverage": "npm run test -- --coverage", "rn-start": "node node_modules/react-native/local-cli/cli.js start", "rn-init": "rc-tools run react-native-init", "tsc": "tsc -d" }, "jest": { "setupFiles": [ "./tests/setup.js" ], "testMatch": [ "**/?(*.)(spec|test).ts?(x)" ], "coverageDirectory": "./coverage/", "moduleFileExtensions": [ "ts", "tsx", "js" ], "collectCoverageFrom": [ "src/**/*" ], "transform": { "\\.tsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js", "\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js" } }, "dependencies": { "babel-runtime": "6.x", "classnames": "^2.2.6", "rmc-feedback": "^2.0.0", "rmc-dialog": "^1.1.1" }, "devDependencies": { "@types/classnames": "^2.2.7", "@types/enzyme": "^3.9.1", "@types/react": "^15.0.0", "@types/react-dom": "^15.0.0", "@types/react-native": "^0.57.42", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.11.2", "jest": "^24.5.0", "pre-commit": "1.x", "rc-tools": "9.x", "react": "16.x", "react-dom": "16.x", "react-native": "~0.59.3", "react-native-index-page": "~2.0.0" }, "typings": "./lib/index.d.ts", "pre-commit": [ "lint" ] }