-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
100 lines (100 loc) · 3.03 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
{
"name": "web-streams-polyfill",
"version": "3.1.1",
"description": "Web Streams, based on the WHATWG spec reference implementation",
"main": "dist/ponyfill.js",
"module": "dist/ponyfill.mjs",
"exports": {
".": {
"import": "./dist/ponyfill.mjs",
"require": "./dist/ponyfill.js"
},
"./es5": {
"import": "./dist/ponyfill.es5.mjs",
"require": "./dist/ponyfill.es5.js"
},
"./polyfill": "./dist/polyfill.js",
"./polyfill/es5": "./dist/polyfill.es5.js",
"./dist/*": "./dist/*",
"./types/*": "./types/*",
"./package": "./package.json",
"./package.json": "./package.json"
},
"types": "types/ponyfill.d.ts",
"typesVersions": {
">=3.6": {
".": [
"./types/ponyfill.d.ts"
],
"./es5": [
"./types/ponyfill.d.ts"
],
"./polyfill": [
"./types/polyfill.d.ts"
],
"./polyfill/es5": [
"./types/polyfill.d.ts"
]
}
},
"scripts": {
"test": "npm run test:types && npm run test:unit && npm run test:wpt && npm run test:bundlers",
"test:wpt": "node --expose_gc ./test/run-web-platform-tests.js",
"test:bundlers": "npm run test:rollup && npm run test:webpack",
"test:rollup": "cd test/rollup && npm ci && npm test",
"test:webpack": "cd test/webpack && npm ci && npm test",
"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",
"accept:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run --local",
"prepare": "npm run build"
},
"files": [
"dist",
"types"
],
"engines": {
"node": ">= 12"
},
"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.18.4",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-strip": "^2.0.1",
"@rollup/plugin-typescript": "^8.2.3",
"@types/node": "^14.17.5",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"@ungap/promise-all-settled": "^1.1.2",
"eslint": "^7.31.0",
"jasmine": "^3.8.0",
"micromatch": "^4.0.4",
"rollup": "^2.53.3",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.3.0",
"typescript": "~4.3.5",
"wpt-runner": "^3.2.1"
}
}