-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.72 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "ts-chan",
"version": "0.6.0",
"description": "Concurrency primitives for TypeScript and JavaScript.",
"repository": "joeycumines/ts-chan",
"keywords": [
"concurrency",
"channel",
"channels",
"select",
"abort",
"promise",
"queue",
"buffer"
],
"author": "Joseph Cumines <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/joeycumines/ts-chan/issues"
},
"homepage": "https://github.com/joeycumines/ts-chan#readme",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/core": "^1.7.26",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.13",
"@types/node": "20.8.2",
"cross-env": "^7.0.3",
"documentation": "^14.0.3",
"gts": "^5.3.1",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"npmignore": "^0.3.1",
"rimraf": "^5.0.10",
"typescript": "^5.6.2"
},
"type": "module",
"source": "src/index.ts",
"types": "build/src/index.d.ts",
"main": "build/ts-chan.cjs",
"module": "build/ts-chan.mjs",
"unpkg": "build/ts-chan.umd.js",
"exports": {
"types": "./build/src/index.d.ts",
"import": "./build/ts-chan.modern.mjs",
"require": "./build/ts-chan.cjs",
"default": "./build/ts-chan.modern.mjs"
},
"scripts": {
"lint": "gts lint",
"clean:gts": "gts clean",
"compile": "microbundle -f modern,esm,cjs,umd && rimraf build/types && mv build/src build/types && rimraf build/src build/test && mv build/types/src build/src && mv build/types/test build/test && rimraf build/types",
"fix": "gts fix",
"prepare": "npm run compile",
"pretest": "npm run compile",
"posttest": "npm run lint",
"all": "npm-run-all -s build test",
"clean": "npm-run-all -p clean:gts clean:pack clean:coverage",
"clean:pack": "rimraf --glob ts-chan-*.tgz",
"clean:coverage": "rimraf coverage",
"test": "npm-run-all -p lint jest typecheck",
"build": "npm-run-all -s clean:gts compile",
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"docs": "documentation readme src/index.ts --section API -q --parse-extension ts && v=\"$(sed '/^````/d' README.md)\" && printf '%s\n' \"$v\" >README.md",
"release": "npm run -s build -s && npm t && git tag v$npm_package_version && git push && git push --tags && npm publish",
"typecheck": "tsc",
"prepack": "npmignore --auto"
},
"publishConfig": {
"ignore": [
"!/build",
"/test",
"/.editorconfig",
"/.eslintignore",
"/.eslintrc.json",
"/.gitignore",
"/.prettierrc.cjs",
"/jest.config.cjs",
"/tsconfig.json",
"/.idea",
"/.github",
"/build/test",
"/examples",
"/.prettierignore",
"/docs"
]
}
}