UNPKG

2.08 kBJSONView Raw
1{
2 "name": "react-swipeable",
3 "version": "4.3.2",
4 "description": "Swipe and touch handlers for react",
5 "main": "lib/Swipeable.js",
6 "scripts": {
7 "test": "npm run test:unit && npm run lint",
8 "test:unit": "jest",
9 "lint": "eslint .",
10 "build:lib": "babel src --out-dir lib --ignore __tests__,__mocks__ --no-comments",
11 "build:publish:examples": "npm run build:examples && rimraf examples/node_modules && gh-pages -d examples",
12 "build:examples": "cd ./examples && npm install && npm run build",
13 "start:examples": "cd ./examples && npm install && npm run start",
14 "clean": "rimraf lib",
15 "prepare": "npm run clean && npm run build:lib"
16 },
17 "jest": {
18 "testPathIgnorePatterns": [
19 "/node_modules/",
20 "/__tests__/helpers/"
21 ]
22 },
23 "keywords": [
24 "react swipe",
25 "react touch",
26 "react-swipe",
27 "react-touch",
28 "touch",
29 "swipe",
30 "flick",
31 "mobile",
32 "swipeable",
33 "react",
34 "react-component"
35 ],
36 "author": "Josh Perez <josh@goatslacker.com>",
37 "repository": {
38 "type": "git",
39 "url": "http://github.com/dogfessional/react-swipeable.git"
40 },
41 "bugs": {
42 "url": "https://github.com/dogfessional/react-swipeable/issues"
43 },
44 "homepage": "https://github.com/dogfessional/react-swipeable",
45 "files": [
46 "lib",
47 "src"
48 ],
49 "license": "MIT",
50 "devDependencies": {
51 "babel-cli": "^6.3.17",
52 "babel-plugin-transform-object-rest-spread": "^6.3.13",
53 "babel-preset-es2015-loose": "^6.1.4",
54 "babel-preset-react": "^6.3.13",
55 "enzyme": "^3.1.0",
56 "enzyme-adapter-react-16": "^1.0.2",
57 "eslint": "^3.12.2",
58 "eslint-config-airbnb": "^13.0.0",
59 "eslint-plugin-import": "^2.2.0",
60 "eslint-plugin-jsx-a11y": "^2.2.3",
61 "eslint-plugin-react": "^6.8.0",
62 "gh-pages": "^1.0.0",
63 "jest": "^23.6.0",
64 "react": "^16.0.0",
65 "react-dom": "^16.0.0",
66 "rimraf": "^2.6.1"
67 },
68 "dependencies": {
69 "detect-passive-events": "^1.0.4",
70 "prop-types": "^15.5.8"
71 },
72 "peerDependencies": {
73 "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0"
74 }
75}