2023-10-25 09:24:35 +00:00
|
|
|
{
|
|
|
|
"name": "@overleaf/promise-utils",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"description": "utilities to help working with promises",
|
|
|
|
"main": "index.js",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types": "types/index.d.ts",
|
2023-10-25 09:24:35 +00:00
|
|
|
"scripts": {
|
2024-01-16 19:24:03 +00:00
|
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
2024-01-11 13:26:29 +00:00
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
|
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
|
|
"test:ci": "npm run test:unit",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
2023-10-25 09:24:35 +00:00
|
|
|
},
|
|
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
|
|
"license": "AGPL-3.0-only",
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "^4.3.10",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2024-01-11 13:26:29 +00:00
|
|
|
"mocha": "^10.2.0",
|
|
|
|
"typescript": "^5.0.4"
|
2023-10-25 09:24:35 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"p-limit": "^2.3.0"
|
|
|
|
}
|
|
|
|
}
|