promising-utils
Version:
A utility library for promises, support both esm and commonjs
44 lines (43 loc) • 976 B
JSON
{
"name": "promising-utils",
"version": "0.2.2",
"author": "liqiang372",
"license": "MIT",
"description": "A utility library for promises, support both esm and commonjs",
"repository": {
"type": "git",
"url": "git+https://github.com/liqiang372/promising-utils.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"watch": "npm run build -- --watch src",
"prepublishOnly": "npm run build",
"test": "jest"
},
"keywords": [
"promise",
"utils",
"commonjs",
"esm"
],
"files": [
"dist"
],
"devDependencies": {
"@types/jest": "^29.1.1",
"jest": "^29.1.2",
"ts-jest": "^29.0.3",
"tsup": "^6.2.3",
"typescript": "^4.8.4"
}
}