package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "@tootallnate/once",
  3. "version": "2.0.0",
  4. "description": "Creates a Promise that waits for a single event",
  5. "main": "./dist/index.js",
  6. "types": "./dist/index.d.ts",
  7. "files": [
  8. "dist"
  9. ],
  10. "scripts": {
  11. "prebuild": "rimraf dist",
  12. "build": "tsc",
  13. "test": "jest",
  14. "prepublishOnly": "npm run build"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git://github.com/TooTallNate/once.git"
  19. },
  20. "keywords": [],
  21. "author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
  22. "license": "MIT",
  23. "bugs": {
  24. "url": "https://github.com/TooTallNate/once/issues"
  25. },
  26. "devDependencies": {
  27. "@types/jest": "^27.0.2",
  28. "@types/node": "^12.12.11",
  29. "abort-controller": "^3.0.0",
  30. "jest": "^27.2.1",
  31. "rimraf": "^3.0.0",
  32. "ts-jest": "^27.0.5",
  33. "typescript": "^4.4.3"
  34. },
  35. "engines": {
  36. "node": ">= 10"
  37. },
  38. "jest": {
  39. "preset": "ts-jest",
  40. "globals": {
  41. "ts-jest": {
  42. "diagnostics": false,
  43. "isolatedModules": true
  44. }
  45. },
  46. "verbose": false,
  47. "testEnvironment": "node",
  48. "testMatch": [
  49. "<rootDir>/test/**/*.test.ts"
  50. ]
  51. }
  52. }