-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.94 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
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "emiterator",
"version": "1.0.0-beta3",
"description": "Adapter that turns EventEmitters into AsyncGenerators",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "https://github.com/trevor-leach/emiterator.git"
},
"keywords": ["typescript", "EventEmitter", "AsyncGenerator", "AsyncIterator", "iterator"],
"author": {
"name": "Trevor Leach",
"email": "[email protected]",
"url": "https://github.com/trevor-leach"
},
"license": "ISC",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"default": "./dist/mjs/index.js"
}
},
"files": [
"dist/**/*"
],
"scripts": {
"clean": "rm -rf dist reports *.tgz",
"build": "tsc --project tsconfig.mjs.json && echo '{\"type\": \"module\"}' > dist/mjs/package.json && tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"report": "typedoc --entryPointStrategy expand --out reports/docs src/ts"
},
"jest": {
"verbose": true,
"roots": [
"<rootDir>/src/ts",
"<rootDir>/test/ts"
],
"testMatch": [
"**/test/**/*.+(ts|tsx|js|jsx)",
"**/?(*.)+(spec|test).+(ts|tsx|js|jsx)"
],
"coverageDirectory": "reports/coverage",
"collectCoverage": true,
"collectCoverageFrom": [
"src/ts/**/*.ts",
"!src/ts/**/*.d.ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^@src/(.*)\\.js$": "<rootDir>/src/ts/$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"useESM": true
}
]
},
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "reports/tests/",
"outputName": "junit.xml"
}
],
[
"jest-html-reporter",
{
"pageTitle": "Test Report",
"outputPath": "reports/tests/index.html"
}
]
]
},
"dependencies": {},
"devDependencies": {
"@tsconfig/node18": "^1.0.1",
"@types/jest": "^29",
"@types/node": "^18",
"jest": "^29",
"jest-html-reporter": "^3.7.0",
"jest-junit": "^15",
"ts-jest": "^29",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.5"
},
"optionalDependencies": {
"tiny-typed-emitter": "^2.1.0",
"typed-emitter": "^2.1.0"
}
}