1 | {
|
2 | "name": "react-swipeable",
|
3 | "version": "5.0.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.8 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-swipe",
|
38 | "react-touch",
|
39 | "touch",
|
40 | "swipe",
|
41 | "flick",
|
42 | "mobile",
|
43 | "swipeable",
|
44 | "react",
|
45 | "react-component"
|
46 | ],
|
47 | "author": "Josh Perez <josh@goatslacker.com>",
|
48 | "repository": {
|
49 | "type": "git",
|
50 | "url": "http://github.com/dogfessional/react-swipeable.git"
|
51 | },
|
52 | "bugs": {
|
53 | "url": "https://github.com/dogfessional/react-swipeable/issues"
|
54 | },
|
55 | "homepage": "https://github.com/dogfessional/react-swipeable",
|
56 | "files": [
|
57 | "lib",
|
58 | "es",
|
59 | "src"
|
60 | ],
|
61 | "license": "MIT",
|
62 | "devDependencies": {
|
63 | "@babel/cli": "^7.2.0",
|
64 | "@babel/core": "^7.2.0",
|
65 | "@babel/plugin-proposal-class-properties": "^7.2.0",
|
66 | "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
|
67 | "@babel/plugin-transform-runtime": "^7.2.0",
|
68 | "@babel/preset-env": "^7.2.0",
|
69 | "@babel/preset-react": "^7.0.0",
|
70 | "@babel/runtime": "^7.1.2",
|
71 | "babel-core": "7.0.0-bridge.0",
|
72 | "babel-eslint": "^10.0.1",
|
73 | "babel-jest": "^23.6.0",
|
74 | "babel-plugin-transform-react-remove-prop-types": "^0.4.19",
|
75 | "enzyme": "^3.8.0",
|
76 | "enzyme-adapter-react-16": "^1.7.1",
|
77 | "eslint": "^5.9.0",
|
78 | "eslint-config-prettier": "^3.3.0",
|
79 | "eslint-plugin-import": "^2.14.0",
|
80 | "eslint-plugin-prettier": "^3.0.0",
|
81 | "eslint-plugin-react": "^7.11.1",
|
82 | "gh-pages": "^1.0.0",
|
83 | "jest": "^23.6.0",
|
84 | "prettier": "1.15.3",
|
85 | "react": "16.8.0-alpha.0",
|
86 | "react-dom": "^16.8.0-alpha.0",
|
87 | "rimraf": "^2.6.1",
|
88 | "rollup": "^1.1.2",
|
89 | "rollup-plugin-babel": "^4.3.2",
|
90 | "size-limit": "^0.21.1"
|
91 | },
|
92 | "dependencies": {
|
93 | "prop-types": "^15.6.2"
|
94 | },
|
95 | "peerDependencies": {
|
96 | "react": "^16.0.0-0"
|
97 | }
|
98 | }
|