-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
49 lines (49 loc) · 1.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "@gmod/abortable-promise-cache",
"version": "2.0.1",
"description": "add AbortController support to a cache of async requests",
"license": "MIT",
"repository": "GMOD/abortable-promise-cache",
"main": "dist/index.js",
"module": "esm/index.js",
"author": {
"name": "Robert Buels",
"email": "rbuels@gmail.com",
"url": "https://github.com/rbuels"
},
"files": [
"dist",
"esm",
"src"
],
"scripts": {
"test": "vitest",
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
"docs": "documentation readme --shallow src/AbortablePromiseCache.js --section=API",
"clean": "rimraf dist esm",
"format": "prettier --write .",
"prebuild": "npm run clean",
"build:esm": "tsc --target es2018 --outDir esm",
"build:es5": "tsc --target es2015 --module commonjs --outDir dist",
"build": "npm run build:esm && npm run build:es5",
"prepublishOnly": "npm run lint && npm test && npm run build",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"documentation": "^14.0.1",
"eslint": "^9.9.0",
"eslint-plugin-unicorn": "^56.0.1",
"prettier": "^3.3.3",
"quick-lru": "^4.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0",
"vitest": "^3.0.4"
},
"publishConfig": {
"access": "public"
}
}