-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
93 lines (93 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
{
"name": "fetch-h2",
"version": "0.0.0-development",
"description": "HTTP/1+2 Fetch API client for Node.js",
"author": "Gustaf Räntilä",
"license": "MIT",
"bugs": {
"url": "https://github.com/grantila/fetch-h2/issues"
},
"homepage": "https://github.com/grantila/fetch-h2#readme",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"directories": {},
"engines": {
"node": ">=12"
},
"files": [
"dist"
],
"scripts": {
"build:ts": "./node_modules/.bin/rimraf dist && ./node_modules/.bin/tsc -p .",
"build:cert": "scripts/make-certs.sh",
"build": "concurrently 'yarn build:ts' 'yarn build:cert'",
"lint": "node_modules/.bin/tslint --project .",
"jest:core": "node_modules/.bin/jest --detectOpenHandles --coverage",
"jest:fast": "yarn jest:core --config jest.config.unit.js $@",
"jest:exported": "node_modules/.bin/jest --config jest.config.exported.js $@",
"jest:integration": "node_modules/.bin/compd -f test/docker-compose.yaml yarn jest:core",
"jest:debug": "node --inspect-brk node_modules/.bin/jest",
"test": "yarn lint && yarn jest:integration",
"test:exported": "./node_modules/.bin/ts-node scripts/create-exported-tests.ts && yarn jest:exported",
"buildtest": "npm run build && npm run jest",
"buildtestcov": "npm run build && npm run test",
"coveralls": "cat coverage/lcov.info | node_modules/.bin/coveralls",
"version": "./node_modules/.bin/ts-node scripts/version-update.ts && npm run build && npm run test && scripts/version-git-add.sh",
"clean:pack": "node_modules/.bin/rimraf dist/test* && find dist/ -name '*.map' -delete",
"prepack": "npm run build && npm run test && npm run clean:pack && npm run test:exported",
"makecerts": "openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout certs/key.pem -out certs/cert.pem",
"cz": "git-cz"
},
"repository": {
"type": "git",
"url": "https://github.com/grantila/fetch-h2"
},
"keywords": [
"fetch",
"h2",
"http2",
"client",
"request",
"api",
"typesafe",
"typescript"
],
"devDependencies": {
"@types/execa": "^2.0.0",
"@types/from2": "^2.3.1",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@types/recursive-readdir": "^2.2.0",
"@types/rimraf": "^3.0.2",
"@types/through2": "^2.0.36",
"commitizen": "^4.2.4",
"compd": "^3.0.0",
"concurrently": "^6.3.0",
"cz-conventional-changelog": "^3.3.0",
"execa": "^5.1.1",
"from2": "^2.3.0",
"jest": "^27.2.4",
"list-open-files": "^1.1.0",
"mkcert": "^1.4.0",
"recursive-readdir": "^2.2.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"typescript": "^4.4.3"
},
"dependencies": {
"@types/tough-cookie": "^4.0.0",
"already": "^2.2.1",
"callguard": "^2.0.0",
"get-stream": "^6.0.1",
"through2": "^4.0.2",
"to-arraybuffer": "^1.0.1",
"tough-cookie": "^4.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}