package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "eventemitter-asyncresource",
  3. "version": "1.0.0",
  4. "description": "AsyncResource integration for EventEmitter",
  5. "main": "./dist/src/index.js",
  6. "exports": {
  7. "import": "./dist/esm-wrapper.mjs",
  8. "require": "./dist/src/index.js"
  9. },
  10. "types": "./dist/src/index.d.ts",
  11. "scripts": {
  12. "build": "tsc && gen-esm-wrapper . dist/esm-wrapper.mjs",
  13. "lint": "standardx \"**/*.{ts,mjs,js,cjs}\" | snazzy",
  14. "test": "npm run lint && npm run build && npm run test-only",
  15. "test-only": "tap",
  16. "prepack": "npm run build"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://github.com/addaleax/eventemitter-asyncresource"
  21. },
  22. "keywords": [
  23. "EventEmitter",
  24. "AsyncResource",
  25. "async_hooks",
  26. "events"
  27. ],
  28. "author": "Anna Henningsen <anna@addaleax.net>",
  29. "license": "MIT",
  30. "devDependencies": {
  31. "@types/node": "^13.13.5",
  32. "@typescript-eslint/eslint-plugin": "^2.28.0",
  33. "@typescript-eslint/parser": "^2.28.0",
  34. "gen-esm-wrapper": "^1.0.0",
  35. "snazzy": "^8.0.0",
  36. "standardx": "^5.0.0",
  37. "tap": "^14.10.7",
  38. "typescript": "^3.8.3"
  39. },
  40. "eslintConfig": {
  41. "rules": {
  42. "semi": [
  43. "error",
  44. "always"
  45. ],
  46. "no-unused-vars": "off",
  47. "@typescript-eslint/no-unused-vars": "error"
  48. }
  49. },
  50. "standardx": {
  51. "parser": "@typescript-eslint/parser",
  52. "plugins": [
  53. "@typescript-eslint/eslint-plugin"
  54. ]
  55. }
  56. }