Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

use-double-tap

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-double-tap - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

dist/index.module.js

47

package.json
{
"name": "use-double-tap",
"version": "1.2.2",
"version": "1.3.0",
"description": "React hook for handling double tap on mobile devices",

@@ -15,5 +15,21 @@ "author": "minwork",

"repository": "https://github.com/minwork/use-double-tap",
"main": "dist/index.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"browser": "./dist/index.umd.js",
"umd:main": "./dist/index.umd.js",
"jsnext:main": "./dist/index.modern.js",
"module": "./dist/index.module.js",
"source": "./src/index.ts",
"syntax": {
"esmodules": "./dist/index.modern.js"
},
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"browser": "./dist/index.module.js",
"umd": "./dist/index.umd.js",
"import": "./dist/index.module.js",
"require": "./dist/index.js"
}
},
"files": [

@@ -27,5 +43,7 @@ "dist/*"

"scripts": {
"build": "rimraf dist/* && microbundle && rimraf dist/*mjs* dist/*umd* dist/*test*",
"build": "rimraf dist/* && microbundle --jsx React.createElement --external react --name useDoubleTap --output dist/index.js",
"deploy": "yarn test && yarn build && npm publish",
"test": "jest",
"start": "microbundle watch"
"start": "microbundle watch",
"lint": "eslint src tests --ext .ts,.tsx"
},

@@ -52,11 +70,24 @@ "babel": {

"@babel/runtime": "^7.6.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^9.1.4",
"@testing-library/react-hooks": "^2.0.1",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^23.3.13",
"@types/react": "^16.7.22",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"babel-preset-react": "^6.24.1",
"cross-env": "^5.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "2.5.0",
"jest": "^24.9.0",
"jest-dom": "^4.0.0",
"microbundle": "^0.11.0",

@@ -63,0 +94,0 @@ "prettier": "^1.18.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc