-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.51 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.51 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "web-streams-extensions",
"version": "1.2.0",
"description": "A comprehensive collection of helper methods for WebStreams with built-in backpressure support, inspired by ReactiveExtensions",
"type": "module",
"types": "./dist/esm/index.d.ts",
"main": "./dist/esm/index.cjs",
"sideEffects": false,
"engines": {
"node": ">=16.0.0"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"./operators": {
"import": "./dist/esm/operators/index.js",
"require": "./dist/cjs/operators/index.cjs"
},
"./workers": {
"import": "./dist/esm/workers/index.js",
"require": "./dist/cjs/workers/index.cjs"
},
"./transformers": {
"import": "./dist/esm/transformers.js",
"require": "./dist/cjs/transformers.cjs"
}
},
"scripts": {
"clean": "rimraf node_modules && rimraf dist && rimraf coverage && rimraf .nyc_output",
"build:esm": "tsc --outDir ./dist/esm --declaration true --project tsconfig-esm.json",
"build:cjs": "tsc --outDir ./dist/cjs --project tsconfig-cjs.json && node scripts/convert-cjs-extensions.cjs",
"build": "concurrently \"npm run build:cjs\" \"npm run build:esm\"",
"build:workers": "node scripts/build-workers.js",
"test": "mocha \"./spec/**/*.spec.ts\" --ignore=\"./spec/worker/**\"",
"test:cover": "c8 --reporter=lcov --reporter=text --exclude=spec/** --exclude=**/*.spec.ts mocha ./spec/**/*.spec.ts",
"test:node": "node --import tsx/esm --import ./scripts/test-setup.js --test ./spec/**/*.spec.ts",
"test:node:grep": "node --import tsx/esm --import ./scripts/test-setup.js --test-name-pattern",
"test:node:cover": "node scripts/test-node-coverage.js",
"test:browser": "node scripts/test-browser.js",
"test:browser:chromium": "node scripts/test-browser-chromium.js",
"test:browser:firefox": "node scripts/test-browser-firefox.js",
"test:browser:webkit": "node scripts/test-browser-webkit.js",
"test:browser:watch": "node scripts/test-browser-watch.js",
"test:worker": "npm run build:workers && wtr --config web-test-runner.worker.config.js",
"test:all": "node scripts/test-all.js",
"prepublishOnly": "npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MeirionHughes/web-streams-extensions.git"
},
"keywords": [
"web",
"streams",
"webstreams",
"reactive",
"extensions",
"backpressure",
"async",
"rxjs",
"observable",
"functional",
"pipeline"
],
"author": "Meirion Hughes",
"license": "MIT",
"bugs": {
"url": "https://github.com/MeirionHughes/web-streams-extensions/issues"
},
"homepage": "https://github.com/MeirionHughes/web-streams-extensions#readme",
"mocha": {
"extensions": [
".ts"
],
"node-option": [
"import=tsx"
],
"recursive": true,
"exit": true
},
"c8": {
"reporter": [
"lcov",
"text"
],
"reports-dir": "./coverage",
"exclude": [
"spec/**",
"**/*.spec.ts",
"coverage/**",
"dist/**",
"scripts/**"
],
"include": [
"src/**"
]
},
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@web/dev-server-esbuild": "^1.0.4",
"@web/test-runner": "^0.18.0",
"@web/test-runner-playwright": "^0.11.0",
"c8": "^10.1.3",
"chai": "^5.3.1",
"concurrently": "^9.2.0",
"esbuild": "^0.25.9",
"mocha": "^11.7.1",
"tsx": "^4.20.4",
"typescript": "^5.9.3"
}
}