@mizdra/strictly-typed-event-target
Version:
This is a strictly-typed version of `EventTarget`
60 lines (59 loc) • 1.89 kB
JSON
{
"name": "@mizdra/strictly-typed-event-target",
"description": "This is a strictly-typed version of `EventTarget`",
"version": "2.0.0",
"repository": "https://github.com/mizdra/strictly-typed-event-target.git",
"author": "mizdra <pp.mizdra@gmail.com>",
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"eventtarget",
"event",
"typescript"
],
"files": [
"src",
"dist"
],
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"sideEffects": false,
"scripts": {
"start": "node dist/index.js",
"prebuild": "rimraf dist",
"build": "run-s build:umd build:esm",
"build:umd": "tsc -p tsconfig.src.json --module UMD --outDir dist/umd",
"build:esm": "tsc -p tsconfig.src.json --module ESNext --outDir dist/esm",
"dev": "ts-node src/index.ts",
"check": "run-p -l -c 'check:tsc --pretty' 'check:eslint --color' check:prettier",
"check:eslint": "eslint 'src/**/*.{ts,tsx}'",
"check:tsc": "tsc -p tsconfig.src.json --noEmit",
"check:prettier": "prettier -l 'src/**/*.{ts,tsx}'",
"test": "run-p -l -c 'test:type --pretty' 'test:jest --colors'",
"test:type": "tsc -p tsconfig.test-type.json --noEmit",
"test:jest": "jest"
},
"devDependencies": {
"@mizdra/eslint-config-mizdra": "^0.5.0",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.1",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.4.2",
"npm-run-all": "^4.1.5",
"prettier": "2.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"dependencies": {}
}