66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"name": "sb-promise-queue",
|
||
|
|
"version": "2.1.1",
|
||
|
|
"description": "Promise queue with a nice API",
|
||
|
|
"main": "lib/cjs/index.js",
|
||
|
|
"typings": "lib/typings/index.d.ts",
|
||
|
|
"module": "lib/esm/index.mjs",
|
||
|
|
"exports": {
|
||
|
|
".": {
|
||
|
|
"types": "./lib/typings/index.d.ts",
|
||
|
|
"import": "./lib/esm/index.mjs",
|
||
|
|
"require": "./lib/cjs/index.js"
|
||
|
|
},
|
||
|
|
"./package.json": "./package.json"
|
||
|
|
},
|
||
|
|
"type": "commonjs",
|
||
|
|
"scripts": {
|
||
|
|
"test": "ava",
|
||
|
|
"lint": "(tsc -p . --noEmit) && (eslint . --ext .ts) && (prettier --list-different src/*.ts)",
|
||
|
|
"prepare": "yarn build:clean ; yarn build:esm ; yarn build:cjs ; yarn build:typings",
|
||
|
|
"build:clean": "rm -rf lib",
|
||
|
|
"build:esm": "tsc --module es2015 --target es2018 --outDir lib/esm && mv lib/esm/index.js lib/esm/index.mjs",
|
||
|
|
"build:cjs": "tsc --module commonjs --target es5 --outDir lib/cjs",
|
||
|
|
"build:typings": "tsc --declaration --outDir lib/typings --emitDeclarationOnly"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/steelbrain/promise-queue.git"
|
||
|
|
},
|
||
|
|
"author": "steelbrain",
|
||
|
|
"license": "MIT",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/steelbrain/promise-queue/issues"
|
||
|
|
},
|
||
|
|
"keywords": [
|
||
|
|
"Promise",
|
||
|
|
"queue"
|
||
|
|
],
|
||
|
|
"files": [
|
||
|
|
"lib/*"
|
||
|
|
],
|
||
|
|
"homepage": "https://github.com/steelbrain/promise-queue#readme",
|
||
|
|
"devDependencies": {
|
||
|
|
"ava": "^3.11.1",
|
||
|
|
"eslint-config-steelbrain": "^10.0.0-beta2",
|
||
|
|
"ts-node": "^8.10.2",
|
||
|
|
"typescript": "^3.9.7"
|
||
|
|
},
|
||
|
|
"dependencies": {},
|
||
|
|
"ava": {
|
||
|
|
"files": [
|
||
|
|
"test/*-test.ts"
|
||
|
|
],
|
||
|
|
"extensions": [
|
||
|
|
"ts"
|
||
|
|
],
|
||
|
|
"require": [
|
||
|
|
"ts-node/register/transpile-only"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"engines": {
|
||
|
|
"node": ">= 8"
|
||
|
|
},
|
||
|
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
||
|
|
}
|