composable-locks
Version:
Composable concurrency locks for Javascript.
55 lines (54 loc) • 1.42 kB
JSON
{
"name": "composable-locks",
"version": "0.5.0",
"description": "Composable concurrency locks for Javascript.",
"files": [
"dist"
],
"keywords": [
"mutex",
"lock",
"reentrant",
"composable",
"async"
],
"source": "./src/index.ts",
"module": "./dist/index.mjs",
"main": "./dist/index.js",
"umd:main": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"sideEffects": false,
"author": "eblocha",
"license": "LGPL-3.0-or-later",
"homepage": "https://github.com/eblocha/composable-locks#readme",
"repository": {
"type": "git",
"url": "https://github.com/eblocha/composable-locks"
},
"scripts": {
"clean": "rm -rf dist",
"build": "yarn clean && microbundle --target node --raw",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint ./src --ext=ts",
"prepublishOnly": "yarn test && yarn lint && yarn build"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@vitest/coverage-c8": "^0.23.2",
"eslint": "^8.23.1",
"fast-check": "^3.1.3",
"microbundle": "^0.15.1",
"typescript": "^4.8.3",
"vite": "^3.1.1",
"vitest": "^0.23.2"
},
"dependencies": {}
}