forked from mysticatea/abort-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.77 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.77 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
{
"name": "@gjsify/abort-controller",
"version": "0.0.1",
"description": "An implementation of WHATWG AbortController interface for Gjs",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"browser": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"files": [
"lib"
],
"scripts": {
"clear": "rm -rf lib",
"print:name": "echo '@gjsify/abort-controller'",
"build": "yarn print:name && yarn build:gjsify && yarn run build:types",
"build:gjsify": "gjsify build --library src/**/*.{ts,js}",
"build:types": "tsc --emitDeclarationOnly || exit 0",
"build:test": "yarn run build:test:gjs && yarn run build:test:node",
"build:test:gjs": "gjsify build src/test.mts --app gjs --outfile test.gjs.mjs",
"build:test:node": "gjsify build src/test.mts --app node --outfile test.node.mjs",
"test": "yarn run print:name && yarn run build && yarn run build:test && yarn run test:node && yarn run test:gjs",
"test:gjs": "gjs -m test.gjs.mjs",
"test:node": "node test.node.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mysticatea/abort-controller.git"
},
"keywords": [
"w3c",
"whatwg",
"event",
"events",
"abort",
"cancel",
"abortcontroller",
"abortsignal",
"controller",
"signal",
"shim"
],
"author": "Toru Nagashima (https://github.com/mysticatea)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mysticatea/abort-controller/issues"
},
"homepage": "https://github.com/mysticatea/abort-controller#readme",
"devDependencies": {
"@gjsify/cli": "workspace:^",
"@gjsify/unit": "workspace:^",
"@types/node": "^18.11.18",
"typescript": "^5.0.0-dev.20221227"
},
"dependencies": {
"@gjsify/event-target": "workspace:^"
}
}