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

use-long-press

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-long-press - npm Package Compare versions

Comparing version 2.0.3 to 3.0.0-alpha.2

index.d.ts

74

package.json
{
"name": "use-long-press",
"version": "2.0.3",
"version": "3.0.0-alpha.2",
"description": "React hook for detecting click (or tap) and hold event. Easy to use, highly customizable options, thoroughly tested.",

@@ -14,75 +14,21 @@ "author": "minwork",

],
"repository": "https://github.com/minwork/use-long-press",
"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"
"scripts": {
"postversion": "cp package.json ../../../packages/use-long-press"
},
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"repository": "https://github.com/minwork/react",
"readme": "https://github.com/minwork/react/tree/main/packages/use-long-press",
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
".": {
"browser": "./dist/index.module.js",
"umd": "./dist/index.umd.js",
"import": "./dist/index.module.js",
"require": "./dist/index.js"
"import": "./index.mjs",
"require": "./index.js"
}
},
"files": [
"dist/*"
],
"engines": {
"node": ">=10",
"npm": ">=5"
"node": ">=16"
},
"scripts": {
"build": "rimraf dist/* && microbundle --jsx React.createElement --external react --name useLongPress --output dist/index.js",
"deploy": "yarn test && yarn build && npm publish",
"test": "jest",
"start": "microbundle watch",
"lint": "eslint src tests --ext .ts,.tsx"
},
"dependencies": {},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@types/enzyme": "^3.10.9",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.2",
"babel-eslint": "^10.0.0",
"cross-env": "^7.0.3",
"enzyme": "^3.11.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-testing-library": "^3.9.0",
"jest": "^27.0.6",
"microbundle": "^0.13.3",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"typescript": "^4.3.5"
}
}
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