@dominicstop/utils
Version:
Yet another event emitter written in typescript.
71 lines (70 loc) • 2.2 kB
JSON
{
"name": "@dominicstop/utils",
"version": "0.0.6",
"description": "Yet another event emitter written in typescript.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/module/index.d.ts",
"source": "src/index",
"files": [
"lib/**/*",
"src/**/*"
],
"workspaces": [
"examples/*"
],
"keywords": [
"emitter",
"event-emitter",
"typescript",
"typescript-event-emitter"
],
"repository": "https://github.com/dominicstop/utils",
"author": "Dominic Go <dominic@dominicgo.dev> (https://github.com/dominicstop)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dominicstop/utils/issues"
},
"homepage": "https://github.com/dominicstop/utils#readme",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "yarn run jest",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"release": "yarn run release-it --only-version",
"typescript": "yarn run tsc --noEmit --project tsconfig.json",
"build": "yarn run build:esm && yarn run build:cjs",
"build:esm": "yarn run tsc --project tsconfig.esm.json",
"build:cjs": "yarn run tsc --project tsconfig.cjs.json",
"clean": "rm -rf lib",
"prebuild": "yarn run clean",
"prepare": "yarn run build",
"nuke:cache-js": "watchman watch-del-all && rm -rfv $TMPDIR/react-* && rm -rfv $TMPDIR/react-native-packager-cache-* && rm -rfv $TMPDIR/metro-bundler-cache-* && rm -rfv $TMPDIR/haste-map-* && rm -rfv rm -rf $TMPDIR/metro-cache && npm cache clean --force && npm cache verify && yarn cache clean && rm -rfv ~/.yarn/berry/cache"
},
"release-it": {
"git": {
"commitMessage": "⚙️ Chore: Release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
},
"devDependencies": {
"@babel/preset-env": "^7.27.2",
"@babel/runtime": "7.25",
"@types/jest": "^29.5.14",
"babel-jest": "^29.7.0",
"eslint-plugin-react": "^7.37.5",
"jest": "^29.7.0",
"release-it": "^16.3.0",
"ts-jest": "^29.3.2",
"typescript": "^5.8.3"
},
"packageManager": "yarn@3.6.1"
}