just-event.js
Version:
Modern, lightweight event utility with jQuery-like API.
88 lines (87 loc) • 3.19 kB
JSON
{
"name": "just-event.js",
"version": "1.0.1",
"description": "Modern, lightweight event utility with jQuery-like API.",
"type": "module",
"main": "dist/esm/index.mjs",
"module": "dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"prepare": "husky || true",
"style": "prettier --config configs/prettier.config.mjs . --check --cache --cache-location node_modules/.cache/.prettiercache",
"style:fix": "prettier --config configs/prettier.config.mjs . --write",
"lint": "cross-env NODE_NO_WARNINGS=1 eslint --config configs/eslint.config.mjs \"src/**/*.js\" --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives",
"lint:fix": "cross-env NODE_NO_WARNINGS=1 eslint --config configs/eslint.config.mjs \"src/**/*.js\" --fix",
"commitlint": "commitlint --config configs/commitlint.config.mjs -e -V",
"size": "size-limit --config configs/size-limit.mjs && gzip-size dist/just-event.browser.min.js",
"check": "run-s style lint",
"fix": "run-s *:fix",
"clean": "rimraf dist",
"build:base": "cross-env NODE_NO_WARNINGS=1 rollup --config configs/rollup.config.mjs",
"build:min": "cross-env NODE_ENV=production run-s build:base",
"build": "run-s clean build:* size",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "node scripts/release.mjs",
"test": "cross-env NODE_NO_WARNINGS=1 jest --config configs/jest.config.mjs",
"test:cov": "cross-env NODE_NO_WARNINGS=1 jest --config configs/jest.config.mjs --coverage",
"cov:preview": "browser-sync start --server coverage/lcov-report --files coverage/lcov-report/*.html --port 3001 --ui-port 3003 --no-notify --open 3001"
},
"bugs": {
"url": "https://github.com/ajiho/just-events/issues"
},
"repository": "github:ajiho/just-events",
"keywords": [
"event",
"on",
"off",
"jquery",
"javascript",
"browser",
"library"
],
"author": "ajiho",
"license": "MIT",
"files": [
"dist/"
],
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/js": "^9.24.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-small-lib": "^11.2.0",
"babel-jest": "^29.7.0",
"browser-sync": "^3.0.4",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.24.0",
"eslint-plugin-unicorn": "^58.0.0",
"execa": "^9.5.2",
"fs-extra": "^11.3.0",
"globals": "^16.0.0",
"gzip-size-cli": "^5.1.0",
"husky": "^9.1.7",
"is-what": "^5.2.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all2": "^7.0.2",
"picocolors": "^1.1.1",
"prettier": "^3.5.3",
"prompts": "^2.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.40.0",
"semver": "^7.7.1",
"size-limit": "^11.2.0",
"uuid": "^11.1.0"
}
}