UNPKG

3.06 kBJSONView Raw
1{
2 "name": "react-swipeable",
3 "version": "5.5.1",
4 "description": "React Swipe event handler component & hook",
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 dtslint && npm run build && npm run size",
20 "test:unit": "jest",
21 "test:cover": "jest --coverage",
22 "dtslint": "dtslint types"
23 },
24 "size-limit": [
25 {
26 "limit": "1.875 KB",
27 "path": "es/index.js"
28 }
29 ],
30 "jest": {
31 "testPathIgnorePatterns": [
32 "/node_modules/",
33 "/types/",
34 "/__tests__/helpers/"
35 ]
36 },
37 "keywords": [
38 "react swipe",
39 "react touch",
40 "react hook",
41 "touch",
42 "swipe",
43 "swipeable",
44 "react",
45 "hook",
46 "react-component"
47 ],
48 "authors": [
49 "Josh Perez <josh@goatslacker.com> (https://github.com/goatslacker)",
50 "Brian Emil Hartz <brianhartz@gmail.com> (https://github.com/hartzis)"
51 ],
52 "repository": {
53 "type": "git",
54 "url": "https://github.com/FormidableLabs/react-swipeable.git"
55 },
56 "bugs": {
57 "url": "https://github.com/FormidableLabs/react-swipeable/issues"
58 },
59 "homepage": "https://github.com/FormidableLabs/react-swipeable",
60 "files": [
61 "lib",
62 "es",
63 "src",
64 "types/index.d.ts"
65 ],
66 "license": "MIT",
67 "types": "types",
68 "devDependencies": {
69 "@babel/cli": "^7.2.0",
70 "@babel/core": "^7.2.0",
71 "@babel/plugin-proposal-class-properties": "^7.2.0",
72 "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
73 "@babel/plugin-transform-runtime": "^7.2.0",
74 "@babel/preset-env": "^7.2.0",
75 "@babel/preset-react": "^7.0.0",
76 "@babel/runtime": "^7.1.2",
77 "@types/react": "^16.8.12",
78 "babel-core": "7.0.0-bridge.0",
79 "babel-eslint": "^10.0.1",
80 "babel-jest": "^24.8.0",
81 "babel-plugin-transform-react-remove-prop-types": "^0.4.19",
82 "coveralls": "^3.0.3",
83 "dtslint": "^2.0.2",
84 "enzyme": "^3.9.0",
85 "enzyme-adapter-react-16": "^1.12.1",
86 "eslint": "^5.9.0",
87 "eslint-config-prettier": "^3.3.0",
88 "eslint-plugin-import": "^2.14.0",
89 "eslint-plugin-prettier": "^3.0.0",
90 "eslint-plugin-react": "^7.11.1",
91 "eslint-plugin-react-hooks": "^1.6.0",
92 "gh-pages": "^1.0.0",
93 "jest": "^24.8.0",
94 "prettier": "1.15.3",
95 "react": "^16.8.0",
96 "react-dom": "^16.8.0",
97 "rimraf": "^2.6.1",
98 "rollup": "^1.1.2",
99 "rollup-plugin-babel": "^4.3.2",
100 "size-limit": "^1.3.5"
101 },
102 "dependencies": {
103 "prop-types": "^15.6.2"
104 },
105 "peerDependencies": {
106 "react": "^16.0.0-0"
107 }
108}