57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "eventemitter-asyncresource",
|
||
|
"version": "1.0.0",
|
||
|
"description": "AsyncResource integration for EventEmitter",
|
||
|
"main": "./dist/src/index.js",
|
||
|
"exports": {
|
||
|
"import": "./dist/esm-wrapper.mjs",
|
||
|
"require": "./dist/src/index.js"
|
||
|
},
|
||
|
"types": "./dist/src/index.d.ts",
|
||
|
"scripts": {
|
||
|
"build": "tsc && gen-esm-wrapper . dist/esm-wrapper.mjs",
|
||
|
"lint": "standardx \"**/*.{ts,mjs,js,cjs}\" | snazzy",
|
||
|
"test": "npm run lint && npm run build && npm run test-only",
|
||
|
"test-only": "tap",
|
||
|
"prepack": "npm run build"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/addaleax/eventemitter-asyncresource"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"EventEmitter",
|
||
|
"AsyncResource",
|
||
|
"async_hooks",
|
||
|
"events"
|
||
|
],
|
||
|
"author": "Anna Henningsen <anna@addaleax.net>",
|
||
|
"license": "MIT",
|
||
|
"devDependencies": {
|
||
|
"@types/node": "^13.13.5",
|
||
|
"@typescript-eslint/eslint-plugin": "^2.28.0",
|
||
|
"@typescript-eslint/parser": "^2.28.0",
|
||
|
"gen-esm-wrapper": "^1.0.0",
|
||
|
"snazzy": "^8.0.0",
|
||
|
"standardx": "^5.0.0",
|
||
|
"tap": "^14.10.7",
|
||
|
"typescript": "^3.8.3"
|
||
|
},
|
||
|
"eslintConfig": {
|
||
|
"rules": {
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"always"
|
||
|
],
|
||
|
"no-unused-vars": "off",
|
||
|
"@typescript-eslint/no-unused-vars": "error"
|
||
|
}
|
||
|
},
|
||
|
"standardx": {
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"plugins": [
|
||
|
"@typescript-eslint/eslint-plugin"
|
||
|
]
|
||
|
}
|
||
|
}
|