1 | {
|
---|
2 | "name": "web-streams-polyfill",
|
---|
3 | "version": "3.3.2",
|
---|
4 | "description": "Web Streams, based on the WHATWG spec reference implementation",
|
---|
5 | "main": "dist/polyfill",
|
---|
6 | "browser": "dist/polyfill.min.js",
|
---|
7 | "module": "dist/polyfill.mjs",
|
---|
8 | "types": "dist/types/polyfill.d.ts",
|
---|
9 | "typesVersions": {
|
---|
10 | ">=3.6": {
|
---|
11 | "dist/types/*": [
|
---|
12 | "dist/types/ts3.6/*"
|
---|
13 | ]
|
---|
14 | }
|
---|
15 | },
|
---|
16 | "scripts": {
|
---|
17 | "test": "npm run test:types && npm run test:unit && npm run test:wpt",
|
---|
18 | "test:wpt": "npm run test:wpt:node && npm run test:wpt:chromium && npm run test:wpt:firefox",
|
---|
19 | "test:wpt:node": "node --expose_gc ./test/wpt/node/run.js",
|
---|
20 | "test:wpt:chromium": "node ./test/wpt/browser/run.js --browser chromium",
|
---|
21 | "test:wpt:firefox": "node ./test/wpt/browser/run.js --browser firefox",
|
---|
22 | "test:types": "tsc -p ./test/types/tsconfig.json",
|
---|
23 | "test:unit": "jasmine --config=test/unit/jasmine.json",
|
---|
24 | "lint": "eslint \"src/**/*.ts\"",
|
---|
25 | "build": "npm run build:bundle && npm run build:types",
|
---|
26 | "build:bundle": "rollup -c",
|
---|
27 | "build:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run",
|
---|
28 | "accept:types": "npm run build:types -- --local",
|
---|
29 | "postbuild:types": "downlevel-dts ./dist/types/ts3.6/ ./dist/types/ --to=3.5 && node ./build/downlevel-dts.js",
|
---|
30 | "prepare": "npm run build"
|
---|
31 | },
|
---|
32 | "files": [
|
---|
33 | "dist",
|
---|
34 | "es6",
|
---|
35 | "es2018",
|
---|
36 | "ponyfill"
|
---|
37 | ],
|
---|
38 | "engines": {
|
---|
39 | "node": ">= 8"
|
---|
40 | },
|
---|
41 | "repository": {
|
---|
42 | "type": "git",
|
---|
43 | "url": "git+https://github.com/MattiasBuelens/web-streams-polyfill.git"
|
---|
44 | },
|
---|
45 | "keywords": [
|
---|
46 | "streams",
|
---|
47 | "whatwg",
|
---|
48 | "polyfill"
|
---|
49 | ],
|
---|
50 | "author": "Mattias Buelens <mattias@buelens.com>",
|
---|
51 | "contributors": [
|
---|
52 | "Diwank Singh <diwank.singh@gmail.com>"
|
---|
53 | ],
|
---|
54 | "license": "MIT",
|
---|
55 | "bugs": {
|
---|
56 | "url": "https://github.com/MattiasBuelens/web-streams-polyfill/issues"
|
---|
57 | },
|
---|
58 | "homepage": "https://github.com/MattiasBuelens/web-streams-polyfill#readme",
|
---|
59 | "devDependencies": {
|
---|
60 | "@microsoft/api-extractor": "^7.39.1",
|
---|
61 | "@rollup/plugin-inject": "^5.0.5",
|
---|
62 | "@rollup/plugin-replace": "^5.0.5",
|
---|
63 | "@rollup/plugin-strip": "^3.0.4",
|
---|
64 | "@rollup/plugin-terser": "^0.4.4",
|
---|
65 | "@rollup/plugin-typescript": "^11.1.5",
|
---|
66 | "@types/node": "^18.19.4",
|
---|
67 | "@typescript-eslint/eslint-plugin": "^6.17.0",
|
---|
68 | "@typescript-eslint/parser": "^6.17.0",
|
---|
69 | "@ungap/promise-all-settled": "^1.1.2",
|
---|
70 | "downlevel-dts": "^0.11.0",
|
---|
71 | "eslint": "^8.56.0",
|
---|
72 | "jasmine": "^5.1.0",
|
---|
73 | "micromatch": "^4.0.5",
|
---|
74 | "minimist": "^1.2.5",
|
---|
75 | "playwright": "^1.14.1",
|
---|
76 | "recursive-readdir": "^2.2.2",
|
---|
77 | "rollup": "^4.9.2",
|
---|
78 | "ts-morph": "^10.0.2",
|
---|
79 | "tslib": "^2.6.2",
|
---|
80 | "typescript": "^5.3.3",
|
---|
81 | "wpt-runner": "^5.0.0"
|
---|
82 | }
|
---|
83 | }
|
---|