UNPKG

rmc-pull-to-refresh

Version:
88 lines (87 loc) 2.17 kB
{ "name": "rmc-pull-to-refresh", "version": "1.0.13", "description": "React Mobile Pull To Refresh Component", "keywords": [ "react", "react-component", "react-pull-to-refresh", "pull-to-refresh" ], "homepage": "https://github.com/react-component/m-pull-to-refresh", "repository": { "type": "git", "url": "https://github.com/react-component/m-tabs.git" }, "bugs": { "url": "https://github.com/react-component/m-tabs/issues" }, "files": [ "lib", "es", "assets/*.css" ], "license": "MIT", "main": "./lib/index", "module": "./es/index", "config": { "port": 8899 }, "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": "jest --coverage" }, "jest": { "testMatch": [ "**/__tests__/**/*.ts?(x)", "**/?(*.)(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.5" }, "devDependencies": { "@types/classnames": "^2.2.3", "@types/enzyme": "^2.8.6", "@types/enzyme-to-json": "^1.5.0", "@types/jest": "^20.0.7", "@types/react": "^15.0.27", "@types/react-dom": "^15.5.0", "coveralls": "^2.13.1", "enzyme": "^2.9.1", "enzyme-to-json": "^1.5.1", "jest": "^20.0.4", "pre-commit": "1.x", "rc-tools": "6.x", "react": "16.x", "react-dom": "16.x", "react-test-renderer": "^15.5.0" }, "pre-commit": [ "lint" ] }