UNPKG

2.71 kBJSONView Raw
1{
2 "name": "react-swipeable",
3 "version": "5.1.0",
4 "description": "Swipe and touch handlers for react",
5 "main": "./lib/index.js",
6 "module": "es/index.js",
7 "scripts": {
8 "build": "rollup -c",
9 "build:examples": "cd ./examples && npm install && npm run build",
10 "build:publish:examples": "npm run build:examples && rimraf examples/node_modules && gh-pages -d examples",
11 "clean": "rimraf lib es",
12 "format": "prettier --write '{src,__{tests,mocks}__}/**/*.js'",
13 "lint": "eslint .",
14 "prebuild": "npm run clean",
15 "prepare": "npm run build",
16 "pretest": "npm run lint",
17 "size": "size-limit",
18 "start:examples": "cd ./examples && npm install && npm run start:dev",
19 "test": "npm run test:unit && npm run build && npm run size",
20 "test:unit": "jest"
21 },
22 "size-limit": [
23 {
24 "limit": "1.875 KB",
25 "path": "es/index.js"
26 }
27 ],
28 "jest": {
29 "testPathIgnorePatterns": [
30 "/node_modules/",
31 "/__tests__/helpers/"
32 ]
33 },
34 "keywords": [
35 "react swipe",
36 "react touch",
37 "react hook",
38 "react-swipe",
39 "react-touch",
40 "touch",
41 "swipe",
42 "mobile",
43 "swipeable",
44 "react",
45 "hook",
46 "react-component"
47 ],
48 "author": "Josh Perez <josh@goatslacker.com>",
49 "repository": {
50 "type": "git",
51 "url": "http://github.com/dogfessional/react-swipeable.git"
52 },
53 "bugs": {
54 "url": "https://github.com/dogfessional/react-swipeable/issues"
55 },
56 "homepage": "https://github.com/dogfessional/react-swipeable",
57 "files": [
58 "lib",
59 "es",
60 "src"
61 ],
62 "license": "MIT",
63 "devDependencies": {
64 "@babel/cli": "^7.2.0",
65 "@babel/core": "^7.2.0",
66 "@babel/plugin-proposal-class-properties": "^7.2.0",
67 "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
68 "@babel/plugin-transform-runtime": "^7.2.0",
69 "@babel/preset-env": "^7.2.0",
70 "@babel/preset-react": "^7.0.0",
71 "@babel/runtime": "^7.1.2",
72 "babel-core": "7.0.0-bridge.0",
73 "babel-eslint": "^10.0.1",
74 "babel-jest": "^23.6.0",
75 "babel-plugin-transform-react-remove-prop-types": "^0.4.19",
76 "enzyme": "^3.8.0",
77 "enzyme-adapter-react-16": "^1.7.1",
78 "eslint": "^5.9.0",
79 "eslint-config-prettier": "^3.3.0",
80 "eslint-plugin-import": "^2.14.0",
81 "eslint-plugin-prettier": "^3.0.0",
82 "eslint-plugin-react": "^7.11.1",
83 "gh-pages": "^1.0.0",
84 "jest": "^23.6.0",
85 "prettier": "1.15.3",
86 "react": "16.8.0-alpha.0",
87 "react-dom": "^16.8.0-alpha.0",
88 "rimraf": "^2.6.1",
89 "rollup": "^1.1.2",
90 "rollup-plugin-babel": "^4.3.2",
91 "size-limit": "^0.21.1"
92 },
93 "dependencies": {
94 "prop-types": "^15.6.2"
95 },
96 "peerDependencies": {
97 "react": "^16.0.0-0"
98 }
99}