UNPKG

react-touch

Version:

React wrapper components that make touch events easy

72 lines (71 loc) 2.23 kB
{ "name": "react-touch", "version": "0.4.4", "description": "React wrapper components that make touch events easy", "main": "./lib/index.js", "repository": { "type": "git", "url": "https://github.com/leonaves/react-touch" }, "scripts": { "build": "babel src --out-dir lib", "watch": "npm run build -- --watch", "build:examples": "webpack --config examples/webpack.config.js", "watch:examples": "npm run build:examples -- --watch", "lint": "eslint src", "prepublish": "rm -rf lib && npm test && npm run build", "test": "cross-env NODE_ENV=test mocha --compilers js:babel-register src/**/tests/*", "test:one": "npm test -- -g", "test:watch": "npm test -- --watch", "test:cov": "cross-env NODE_ENV=test babel-node ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- 'src/**/tests/*'", "test:codecov": "cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js" }, "keywords": [ "react", "reactjs", "react-touch", "touch" ], "author": "Phil Aquilina", "contributors": [ "Leon Aves <me@leonaves.com> (https://github.com/leonaves)" ], "license": "MIT", "bugs": { "url": "https://github.com/leonaves/react-touch/issues" }, "homepage": "https://github.com/leonaves/react-touch", "peerDependencies": { "react": "^0.14.9 || ^15.3.0 || ^16.0.0" }, "dependencies": { "lodash": "4.6.1", "prop-types": "^15.5.7", "raf": "3.2.0" }, "devDependencies": { "babel-cli": "6.6.4", "babel-eslint": "6.0.0", "babel-loader": "6.2.4", "babel-plugin-rewire": "^1.0.0-rc-2", "babel-plugin-transform-class-properties": "6.6.0", "babel-plugin-transform-react-jsx": "6.4.0", "babel-preset-es2015": "6.6.0", "babel-preset-stage-2": "6.5.0", "chai": "3.5.0", "codecov.io": "0.1.6", "cross-env": "^5.1.1", "eslint": "2.4.0", "eslint-config-airbnb": "6.1.0", "eslint-plugin-react": "4.2.3", "istanbul": "1.0.0-alpha.2", "jsdom": "8.1.0", "mocha": "2.4.5", "prop-types": "^15.5.10", "react": "^0.14", "react-addons-test-utils": "^0.14", "react-dom": "^0.14", "sinon": "1.17.3", "webpack": "1.12.14" } }