-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.59 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.59 KB
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
50
51
52
53
54
55
56
{
"name": "@gmod/abortable-promise-cache",
"version": "3.0.4",
"description": "add AbortController support to a cache of async requests",
"license": "MIT",
"repository": "GMOD/abortable-promise-cache",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"import": "./esm/index.js"
},
"require": {
"require": "./dist/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 es2020 --outDir esm",
"build:es5": "tsc --target es2020 --module commonjs --outDir dist",
"postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
"build": "npm run build:esm && npm run build:es5",
"prepublishOnly": "npm run lint && npm test run && npm run build",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"@jbrowse/quick-lru": "^7.0.0",
"@types/node": "^22.15.3",
"documentation": "^14.0.1",
"eslint": "^9.39.2",
"eslint-plugin-unicorn": "^62.0.0",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.50.0",
"vitest": "^4.0.16"
},
"publishConfig": {
"access": "public"
}
}