-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
74 lines (74 loc) · 1.54 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "await-lock",
"version": "3.0.0",
"description": "Mutex locks for async functions",
"type": "module",
"exports": {
".": {
"types": "./build/AwaitLock.d.ts",
"import": "./build/AwaitLock.js"
}
},
"files": [
"build",
"src",
"!build/**/__tests__",
"!src/**/__tests__"
],
"scripts": {
"clean": "rm -rf build",
"build": "tsc",
"lint": "tsc --noEmit",
"prepare": "npm run clean && npm run build",
"test": "NODE_OPTIONS='--disable-warning=ExperimentalWarning --experimental-vm-modules' jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ide/await-lock.git"
},
"keywords": [
"async",
"await",
"lock",
"es2017",
"co",
"yield",
"generator",
"promise"
],
"author": "James Ide",
"license": "MIT",
"bugs": {
"url": "https://github.com/ide/await-lock/issues"
},
"homepage": "https://github.com/ide/await-lock",
"jest": {
"coverageDirectory": "<rootDir>/..",
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.\\.?\\/.+)\\.js$": "$1"
},
"rootDir": "src",
"transform": {
"\\.[jt]sx?$": [
"babel-jest",
{
"root": "<rootDir>/.."
}
]
}
},
"devDependencies": {
"@babel/core": "^7.26.9",
"@babel/preset-typescript": "^7.26.0",
"@types/co": "^4.6.6",
"@types/node": "^22.13.5",
"babel-jest": "^29.7.0",
"co": "^4.6.0",
"jest": "^29.7.0",
"prettier": "^3.5.2",
"typescript": "^5.7.3"
}
}