watch-selector
Version:
Runs a function when a selector is added to dom
78 lines • 1.86 kB
JSON
{
"name": "watch-selector",
"version": "2.0.1",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=16"
},
"license": "MIT",
"keywords": [
"watch element",
"watch-element",
"watch selector",
"selector-observer",
"webcomponents",
"mount observer",
"selector observer",
"observer",
"reactive",
"mutation-observer",
"web-components",
"dom-manipulation",
"event-handling",
"state-management",
"pridepack"
],
"devDependencies": {
"@types/node": "^22.10.2",
"pridepack": "2.6.4",
"standard-version": "^9.5.0",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"private": false,
"description": "Runs a function when a selector is added to dom",
"repository": {
"url": "git+https://github.com/doeixd/watch.git",
"type": "git"
},
"homepage": "https://github.com/doeixd/watch",
"bugs": {
"url": "https://github.com/doeixd/watch/issues"
},
"author": "Patrick Glenn",
"publishConfig": {
"access": "public"
},
"types": "./dist/types/index.d.ts",
"main": "./dist/cjs/production/index.js",
"module": "./dist/esm/production/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"development": {
"require": "./dist/cjs/development/index.js",
"import": "./dist/esm/development/index.js"
},
"require": "./dist/cjs/production/index.js",
"import": "./dist/esm/production/index.js"
}
},
"typesVersions": {
"*": {}
},
"scripts": {
"release": "standard-version && git push --follow-tags origin main",
"build": "pridepack build",
"type-check": "pridepack check",
"clean": "pridepack clean",
"watch": "pridepack watch",
"start": "pridepack start",
"dev": "pridepack dev",
"test": "vitest"
}
}