async-rwlock
Version:
Promise-based asynchronous readers-writers lock
75 lines (74 loc) • 1.65 kB
JSON
{
"name": "async-rwlock",
"version": "1.1.1",
"description": "Promise-based asynchronous readers-writers lock",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsc",
"lint": "tslint --project tsconfig.json",
"pretty": "yarn lint && prettier --write 'src/**/*.ts'",
"test": "nyc mocha",
"preversion": "yarn lint && yarn test",
"postversion": "git push --tags && yarn publish && git push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mvisat/async-rwlock.git"
},
"keywords": [
"async",
"concurrency",
"lock",
"rwlock",
"promise"
],
"author": "Muhamad Visat Sutarno",
"license": "MIT",
"bugs": {
"url": "https://github.com/mvisat/async-rwlock/issues"
},
"homepage": "https://github.com/mvisat/async-rwlock#readme",
"engines": {
"node": ">=8.0.0"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.21",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"prettier": "^1.16.4",
"source-map-support": "^0.5.10",
"ts-node": "^8.0.2",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.3.1"
},
"nyc": {
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts",
"src/**/index.ts"
],
"reporter": [
"text",
"html"
],
"all": true
}
}