File size: 1,235 Bytes
d4b85c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "name": "@open-draft/deferred-promise",
  "version": "2.2.0",
  "description": "A Promise-compatible abstraction that defers resolving/rejecting promises to another closure.",
  "main": "./build/index.js",
  "types": "./build/index.d.ts",
  "module": "./build/index.mjs",
  "exports": {
    ".": {
      "types": "./build/index.d.ts",
      "require": "./build/index.js",
      "default": "./build/index.mjs"
    }
  },
  "scripts": {
    "test": "jest",
    "test:compliance": "export NODE_OPTIONS=--loader=tsx || set NODE_OPTIONS=--loader=tsx&& npx -y promises-aplus-tests ./test/aplus-tests-adapter.ts",
    "prebuild": "rimraf ./build",
    "build": "tsup",
    "release": "release publish"
  },
  "files": [
    "./build"
  ],
  "keywords": [
    "promise",
    "defer",
    "deferred",
    "resolve",
    "reject",
    "executor"
  ],
  "author": "Artem Zakharchenko",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/open-draft/deferred-promise"
  },
  "devDependencies": {
    "@ossjs/release": "^0.7.2",
    "@types/jest": "^29.0.1",
    "jest": "^29.0.3",
    "rimraf": "^3.0.2",
    "ts-jest": "^29.0.0",
    "tsup": "^7.2.0",
    "tsx": "^3.12.1",
    "typescript": "^4.8.3"
  }
}