-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.75 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.75 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
57
58
59
60
61
62
63
{
"name": "gc-hook",
"version": "0.4.1",
"description": "A simplified FinalizationRegistry utility that works",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:es && npm run rollup:index && npm run ts && npm run test",
"cjs": "ascjs esm cjs",
"rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
"rollup:index": "rollup --config rollup/index.config.js",
"test": "c8 node --expose-gc test/index.js",
"ts": "tsc -p .",
"coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info"
},
"keywords": [
"FinalizationRegistry",
"simple",
"GC",
"Proxy"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"ascjs": "^6.0.3",
"c8": "^10.1.2",
"rollup": "^4.19.2",
"typescript": "^5.5.4"
},
"module": "./esm/index.js",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./memory": {
"types": "./types/memory.d.ts",
"import": "./esm/memory.js",
"default": "./cjs/memory.js"
},
"./track": {
"types": "./types/track.d.ts",
"import": "./esm/track.js",
"default": "./cjs/track.js"
},
"./package.json": "./package.json"
},
"unpkg": "es.js",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/gc-hook.git"
},
"bugs": {
"url": "https://github.com/WebReflection/gc-hook/issues"
},
"homepage": "https://github.com/WebReflection/gc-hook#readme"
}