UNPKG

select-dom

Version:

Lightweight querySelector/All/closest wrapper that returns an array and optionally throws if elements are not found

69 lines (68 loc) 1.54 kB
{ "name": "select-dom", "version": "10.1.0", "description": "Lightweight querySelector/All/closest wrapper that returns an array and optionally throws if elements are not found", "keywords": [ "alternative", "css", "dom", "elements", "jquery", "querySelector", "querySelectorAll", "selector" ], "repository": "fregante/select-dom", "funding": "https://github.com/sponsors/fregante", "license": "MIT", "author": "Federico Brigante <me@fregante.com> (https://fregante.com)", "type": "module", "exports": { ".": { "types": "./index.d.ts", "default": "./index.js" }, "./eslint-plugin": { "types": "./eslint-plugin.d.ts", "default": "./eslint-plugin.js" } }, "main": "./index.js", "types": "./index.d.ts", "files": [ "index.js", "index.d.ts", "eslint-plugin.js", "eslint-plugin.d.ts" ], "scripts": { "build": "tsc", "prepack": "tsc --sourceMap false", "test": "tsc && tsd && xo && npm run test:eslint-plugin && npm run test:tape", "test:eslint-plugin": "node --test eslint-plugin.test.js", "test:tape": "browserify -p esmify test.js | tape-run", "watch": "tsc --watch" }, "xo": { "envs": [ "browser" ] }, "dependencies": { "typed-query-selector": "^2.11.0" }, "devDependencies": { "@typescript-eslint/parser": "^6.21.0", "@sindresorhus/tsconfig": "^5.0.0", "browserify": "^17.0.0", "esmify": "^2.1.1", "tape": "^5.7.0", "tape-run": "^11.0.0", "tsd": "^0.29.0", "typescript": "^5.2.2", "xo": "^0.56.0" }, "engines": { "node": ">=16" } }