use-double-tap
Advanced tools
Comparing version 1.2.2 to 1.3.0
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15901
10
22
35
3