UNPKG

web-streams-polyfill

Version:

Web Streams, based on the WHATWG spec reference implementation

77 lines (76 loc) 2.42 kB
{ "name": "web-streams-polyfill", "version": "3.0.2", "description": "Web Streams, based on the WHATWG spec reference implementation", "main": "dist/polyfill", "browser": "dist/polyfill.min.js", "module": "dist/polyfill.mjs", "types": "dist/types/polyfill.d.ts", "typesVersions": { ">=3.6": { "dist/types/*": [ "dist/types/ts3.6/*" ] } }, "scripts": { "test": "npm run test:types && npm run test:unit && npm run test:wpt", "test:wpt": "node --expose_gc ./test/run-web-platform-tests.js", "pretest:wpt": "git submodule update --init --recursive", "test:types": "tsc -p ./test/types/tsconfig.json", "test:unit": "jasmine --config=test/unit/jasmine.json", "lint": "eslint \"src/**/*.ts\"", "build": "npm run build:bundle && npm run build:types", "build:bundle": "rollup -c", "build:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run && node ./build/downlevel-dts.js", "accept:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run --local && node ./build/downlevel-dts.js", "prepare": "npm run build" }, "files": [ "dist", "es6", "es2018", "ponyfill" ], "engines": { "node": ">= 8" }, "repository": { "type": "git", "url": "git+https://github.com/MattiasBuelens/web-streams-polyfill.git" }, "keywords": [ "streams", "whatwg", "polyfill" ], "author": "Mattias Buelens <mattias@buelens.com>", "contributors": [ "Diwank Singh <diwank.singh@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/MattiasBuelens/web-streams-polyfill/issues" }, "homepage": "https://github.com/MattiasBuelens/web-streams-polyfill#readme", "devDependencies": { "@microsoft/api-extractor": "^7.9.2", "@rollup/plugin-inject": "^4.0.2", "@rollup/plugin-replace": "^2.3.3", "@rollup/plugin-strip": "^2.0.0", "@rollup/plugin-typescript": "^5.0.2", "@types/node": "^12.12.50", "@typescript-eslint/eslint-plugin": "^3.6.1", "@typescript-eslint/parser": "^3.6.1", "@ungap/promise-all-settled": "^1.1.0", "eslint": "^7.5.0", "jasmine": "^3.5.0", "micromatch": "^4.0.2", "rollup": "^2.22.1", "rollup-plugin-terser": "^6.1.0", "ts-morph": "^7.1.2", "tslib": "^2.0.0", "typescript": "^3.9.7", "wpt-runner": "^3.2.0" } }