validate-target
Version:
Easily validate target of an HTML element especially during event delegation
49 lines (48 loc) • 1.22 kB
JSON
{
"name": "validate-target",
"version": "3.1.1",
"description": "Easily validate target of an HTML element especially during event delegation",
"keywords": [
"validate target",
"event delegation",
"validate",
"utils"
],
"homepage": "https://github.com/yoriiis/validate-target",
"bugs": "https://github.com/yoriiis/validate-target/issues",
"repository": "https://github.com/yoriiis/validate-target.git",
"license": "MIT",
"author": "Joris DANIEL",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./lib/index.js"
}
},
"types": "./types/index.d.ts",
"files": [
"lib",
"types"
],
"scripts": {
"build": "rm -rf ./types ./lib && tsc",
"dev": "tsc --watch",
"dev:unit": "jest --config config/jest.config.js --watchAll --coverage",
"test": "npm run test:unit",
"test:unit": "jest --config config/jest.config.js --verbose --coverage"
},
"prettier": "./config/prettier.config.cjs",
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/preset-env": "^7.22.2",
"coveralls": "^3.1.1",
"jest": "29.5.0",
"jest-environment-jsdom": "^29.5.0",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=16.20.0"
}
}