Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.25 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "@cancjs/coroutine",
"version": "1.1.0-beta.2",
"description": "Cancelable generator-based drop-in replacements for async/await and async iterators.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cancjs/canc.git",
"directory": "packages/canc-coroutine"
},
"homepage": "https://github.com/cancjs/canc/tree/master/packages/canc-coroutine#readme",
"bugs": "https://github.com/cancjs/canc/issues",
"author": "bisubus",
"type": "commonjs",
"exports": {
".": {
"import": {
"types@<4.7": "./dist/types-ts4.2/index.d.mts",
"types": "./dist/types/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types@<4.7": "./dist/types-ts4.2/index.d.ts",
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./gen": {
"import": {
"types@<4.7": "./dist/types-ts4.2/gen.d.mts",
"types": "./dist/types/gen.d.mts",
"default": "./dist/gen.mjs"
},
"require": {
"types@<4.7": "./dist/types-ts4.2/gen.d.ts",
"types": "./dist/types/gen.d.ts",
"default": "./dist/gen.cjs"
}
},
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/types/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=18",
"npm": ">=9"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "rimraf dist && rollup --config ./rollup.config.mjs",
"check": "tsc --noEmit --project ./tsconfig.prod.json",
"format:src": "eslint --fix ./src",
"format": "eslint --fix .",
"lint:src": "eslint ./src",
"lint": "eslint .",
"test": "jest --colors",
"test:watch": "jest --colors --watch"
},
"files": ["dist"],
"keywords": ["async", "await", "generator", "cancelable"],
"devDependencies": {
"@cancjs/promise": "1.1.0-beta.2"
},
"peerDependencies": {
"@cancjs/promise": ">=1.1.0-0"
},
"unpkg": "dist/index.umd.min.js",
"jsdelivr": "dist/index.umd.min.js",
"typesVersions": {
"<4.7": {
"dist/types/*": ["dist/types-ts4.2/*"],
"gen": ["dist/types-ts4.2/gen.d.ts"]
},
"*": {
"gen": ["dist/types/gen.d.ts"]
}
}
}