@esutils/deferred
Version:
The deferred library implemented in Typescript
50 lines (49 loc) • 1.2 kB
JSON
{
"name": "@esutils/deferred",
"version": "0.1.2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/esutils/esutils.git"
},
"description": "The deferred library implemented in Typescript",
"keywords": [
"async",
"asynchronous",
"typescript",
"defer",
"deferred",
"promise",
"promises",
"future",
"futures",
"continuation",
"continuations",
"commonjs",
"module",
"es5",
"es6",
"es2015",
"es2020",
"es2022"
],
"scripts": {
"build": "yarn run build:esm && yarn run build:cjs && yarn run build:types",
"build:esm": "tsc -p tsconfig.mjs.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"pretest": "yarn run build",
"prepublish": "yarn run build",
"test": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js --config ../../jest.config.ts"
},
"type": "commonjs",
"main": "./dist/cjs/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/mjs/index.js"
}
},
"module": "./dist/mjs/index.js",
"types": "./dist/types/index.d.ts"
}