makeup-focusables
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "makeup-focusables", | ||
"description": "Returns an array of all focusable descendants of the given element", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "index.js", | ||
"repository": "https://github.com/makeup-js/makeup-focusables.git", | ||
"repository": "https://github.com/makeup/makeup-js/tree/master/packages/makeup-focusables", | ||
"author": "Ian McBurnie <ianmcburnie@hotmail.com>", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "npm run build && parallelshell \"npm run server\" \"npm run watch\"", | ||
"test": "npm run build:module && npm run lasso:tests && karma start --autoWatch false --singleRun true", | ||
"prepublishOnly": "npm run lint && npm run test && npm run clean:tests && npm run build:docs", | ||
"prep": "npm run prepublishOnly", | ||
"build": "npm run build:module && npm run build:docs", | ||
"build:module": "babel src/index.js --out-file index.js", | ||
"build:docs": "babel docs/src/index.js --out-file docs/index.js && npm run lasso:docs && npm run clean:docs", | ||
"fix": "eslint src/index.js --fix", | ||
"lint": "eslint src/index.js > lint.txt && eslint docs/src/index.js > lint.txt", | ||
"lasso:docs": "lasso require-run:./docs/index.js --out docs/static --inject-into docs/index.html --name bundle", | ||
"lasso:tests": "npm run clean:tests && lasso require-run:./test/index.js --name bundle-test --out test/static --config ./test/lasso-config.json", | ||
"clean:docs": "rimraf .cache build docs/index.js", | ||
"clean:tests": "rimraf lint.txt reports", | ||
"server": "browser-sync start -s --ss docs --index docs/index.html --files docs/index.html", | ||
"watch": "onchange src/*.js docs/src/index.js -- npm run build", | ||
"version": "npm run prepublishOnly && git add -A docs/static test/static" | ||
"compile": "babel src/index.js --out-file index.js", | ||
"clean": "rimraf *.log .DS_Store" | ||
}, | ||
@@ -33,29 +19,10 @@ "keywords": [ | ||
], | ||
"devDependencies": { | ||
"@babel/cli": "^7", | ||
"@babel/core": "^7", | ||
"@babel/preset-env": "^7", | ||
"babel-plugin-transform-object-assign": "^6", | ||
"browser-sync": "^2", | ||
"core-js-pure": "^3", | ||
"coveralls": "^3", | ||
"eslint": "^5", | ||
"eslint-config-ebay": "^1", | ||
"jasmine-core": "^3", | ||
"karma": "^4", | ||
"karma-chrome-launcher": "^2", | ||
"karma-coverage": "^1", | ||
"karma-html-reporter": "~0.2", | ||
"karma-jasmine": "^2", | ||
"lasso-cli": "^2", | ||
"onchange": "^5", | ||
"parallelshell": "^3", | ||
"puppeteer": "^1", | ||
"rimraf": "^2" | ||
}, | ||
"files": [ | ||
"browser.json", | ||
"index.js", | ||
"yarn.lock" | ||
"package-lock.json" | ||
], | ||
"browserslist": [ | ||
"extends @ebay/browserslist-config" | ||
] | ||
} |
# makeup-focusables | ||
<p> | ||
<a href="https://travis-ci.org/makeup-js/makeup-focusables"><img src="https://api.travis-ci.org/makeup-js/makeup-focusables.svg?branch=master" alt="Build Status" /></a> | ||
<a href='https://coveralls.io/github/makeup-js/makeup-focusables?branch=master'><img src='https://coveralls.io/repos/makeup-js/makeup-focusables/badge.svg?branch=master&service=github' alt='Coverage Status' /></a> | ||
<a href="https://david-dm.org/makeup-js/makeup-focusables"><img src="https://david-dm.org/makeup-js/makeup-focusables.svg" alt="Dependency status" /></a> | ||
<a href="https://david-dm.org/makeup-js/makeup-focusables#info=devDependencies"><img src="https://david-dm.org/makeup-js/makeup-focusables/dev-status.svg" alt="devDependency status" /></a> | ||
</p> | ||
Returns an array of all focusable descendants of the given element. | ||
A vanilla JavaScript port of <a href="https://github.com/ianmcburnie/jquery-focusable">jquery-focusable</a>. | ||
## Experimental | ||
This module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible. | ||
This CommonJS module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible. | ||
@@ -75,25 +66,1 @@ ## Install | ||
* None | ||
## Development | ||
* `npm start` | ||
* `npm test` | ||
* `npm run lint` | ||
* `npm run fix` | ||
* `npm run build` | ||
* `npm run clean` | ||
## Test Reports | ||
Each test run will generate the following reports: | ||
* `/reports/coverage` contains Istanbul code coverage report | ||
* `/reports/html` contains HTML test report | ||
## CI Build | ||
https://travis-ci.org/makeup-js/makeup-focusables | ||
## Code Coverage | ||
https://coveralls.io/github/makeup-js/makeup-focusables |
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
0
459
4033
5
66