-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.84 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.84 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
{
"name": "@openpgp/web-stream-tools",
"version": "0.3.1",
"description": "Utility functions for WhatWG Streams",
"type": "module",
"files": [
"lib/",
"tsconfig.json"
],
"exports": {
"types@<5.5": "./lib/types/v4.7-v5.4/index.d.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/index.js"
},
"typesVersions": {
">=5.5": {
".": [
"lib/types/index.d.ts"
]
},
">=4.7": {
".": [
"lib/types/v4.7-v5.4/index.d.ts"
]
}
},
"main": "./lib/index.js",
"engines": {
"node": ">= 18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/openpgpjs/web-stream-tools.git"
},
"author": "Daniel Huigens <d.huigens@protonmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/openpgpjs/web-stream-tools/issues"
},
"homepage": "https://github.com/openpgpjs/web-stream-tools#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@openpgp/jsdoc": "^4.0.4",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^24.12.2",
"chai": "^6.2.2",
"eslint": "^10.2.1",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-chai-friendly": "^1.2.0",
"eslint-plugin-import": "^2.32.0",
"globals": "^17.5.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^5.0.1",
"mocha": "^11.7.5",
"playwright": "^1.59.1",
"ts-loader": "^9.5.7",
"ts-mocha": "^11.1.0",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.57.3",
"web-streams-polyfill": "^4.2.0",
"webpack": "^5.106.2"
},
"peerDependencies": {
"@types/node": ">=18.0.0",
"typescript": ">=4.7"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"@types/node": {
"optional": true
}
},
"scripts": {
"test-type-definitions": "tsc --project test/tsconfig.json && tsx test/typescript.test.ts && npm run test-type-definitions-es5",
"test-type-definitions-es5": "tsc --project test/tsconfig.es5.json && tsx --tsconfig test/tsconfig.es5.json test/typescript.test.ts",
"test-type-definitions-legacy": "tsc --project test/tsconfig.v4.7.json && tsx test/typescript.v4.7.test.ts",
"test-browser": "karma start karma.conf.cjs",
"test-node": "NODE_OPTIONS='--import=tsx' mocha ./test/node.test.ts ./test/common.test.ts",
"lint": "eslint lib test eslint.config.js",
"docs": "jsdoc --configure .jsdocrc.cjs --destination docs --readme README.md lib && printf '%s' 'web-stream-tools.openpgpjs.org' > docs/CNAME",
"preversion": "rm -rf docs",
"version": "npm run docs && git add -A docs",
"postversion": "git push && git push --tags && npm publish"
}
}