detect-element-overflow
Advanced tools
Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "detect-element-overflow", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.", | ||
"main": "dist/entry.js", | ||
"es6": "src/entry.js", | ||
"main": "dist/umd/index.js", | ||
"module": "dist/esm/index.js", | ||
"source": "src/index.js", | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "babel src -d dist --ignore **/__tests__", | ||
"prepublishOnly": "npm run build", | ||
"test": "npm run test-eslint", | ||
"test-eslint": "eslint ./src" | ||
"build": "yarn build-esm && yarn build-umd", | ||
"build-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js", | ||
"build-umd": "BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js", | ||
"clean": "rimraf dist", | ||
"lint": "eslint src/ --ext .jsx,.js", | ||
"prepublishOnly": "yarn clean && yarn build", | ||
"test": "yarn lint" | ||
}, | ||
"keywords": [ | ||
"overflow", | ||
"collision" | ||
"collision", | ||
"collision-detection", | ||
"position" | ||
], | ||
@@ -23,10 +29,9 @@ "author": { | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^8.0.3", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"eslint": "^4.13.1", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.8.0" | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"eslint": "^6.1.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"rimraf": "^3.0.0" | ||
}, | ||
@@ -33,0 +38,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
7911
7
6
96
0
47