UNPKG

@hippy/rmc-pull-to-refresh

Version:
102 lines (101 loc) 2.63 kB
{ "name": "@hippy/rmc-pull-to-refresh", "version": "1.2.0", "description": "React Mobile Pull To Refresh Component", "keywords": [ "react", "react-component", "react-pull-to-refresh", "pull-to-refresh" ], "homepage": "https://github.com/hippy-contrib/m-pull-to-refresh", "repository": { "type": "git", "url": "git+https://github.com/hippy-contrib/m-pull-to-refresh.git" }, "bugs": { "url": "https://github.com/hippy-contrib/m-pull-to-refresh/issues" }, "files": [ "dist", "assets/*.css" ], "license": "MIT", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "config": { "port": 8888 }, "scripts": { "build": "rollup -c", "watch-tsc": "rc-tools run watch-tsc", "compile": "rc-tools run compile --babel-runtime", "emample-build": "rc-tools run build", "gh-pages": "rc-tools run gh-pages", "start": "rc-tools run server", "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.0.0", "classnames": "^2.2.5" }, "devDependencies": { "@babel/preset-env": "^7.18.6", "@babel/preset-react": "^7.18.6", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^22.0.1", "@rollup/plugin-node-resolve": "^13.3.0", "@types/classnames": "^2.2.3", "@types/enzyme": "^2.8.6", "@types/enzyme-to-json": "^1.5.0", "@types/jest": "^20.0.7", "@types/react": ">=16.11.0", "@types/react-dom": "^15.5.0", "acorn-jsx": "^5.3.2", "coveralls": "^2.13.1", "enzyme": "^2.9.1", "enzyme-to-json": "^1.5.1", "jest": "^20.0.4", "pre-commit": ">=1.0.0", "rc-tools": ">=6.0.0", "react": ">=16.11.0 <18.0.0", "react-dom": ">=16.11.0 <18.0.0", "react-test-renderer": "^15.5.0", "rollup": "^2.75.7", "rollup-plugin-dts": "^4.2.2", "rollup-plugin-typescript2": "^0.32.1", "rollup-plugin-visualizer": "^5.6.0", "tslib": "^2.4.0", "typescript": "4.6" }, "pre-commit": [ "lint" ], "directories": { "example": "examples", "test": "tests" }, "author": "" }