-
Notifications
You must be signed in to change notification settings - Fork 9.8k
/
package.json
63 lines (63 loc) · 2.36 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
{
"name": "@microsoft/signalr",
"version": "5.0.0-dev",
"description": "ASP.NET Core SignalR Client",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"typings": "./dist/esm/index.d.ts",
"umd": "./dist/browser/signalr.js",
"umd_name": "signalR",
"unpkg": "./dist/browser/signalr.js",
"directories": {
"test": "spec"
},
"sideEffects": false,
"scripts": {
"preclean": "cd ../common && yarn install --mutex network --frozen-lockfile || yarn install --mutex network --frozen-lockfile",
"clean": "node ../common/node_modules/rimraf/bin.js ./dist",
"prebuild": "yarn run clean && yarn install --mutex network --frozen-lockfile || yarn install --mutex network --frozen-lockfile",
"build": "yarn run build:lint && yarn run build:esm && yarn run build:cjs && yarn run build:browser && yarn run build:webworker",
"build:lint": "node ../common/node_modules/eslint/bin/eslint ./src --ext .ts --resolve-plugins-relative-to ../common",
"build:esm": "node ../common/node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d && node ./build/process-dts.js",
"build:cjs": "node ../common/node_modules/typescript/bin/tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs",
"build:browser": "node ../common/node_modules/webpack-cli/bin/cli.js",
"build:webworker": "node ../common/node_modules/webpack-cli/bin/cli.js --env platform=webworker",
"prepack": "node ../build/embed-version.js",
"test": "echo \"Run 'yarn test' in the 'clients/ts' folder to test this package\" && exit 1"
},
"keywords": [
"signalr",
"aspnetcore"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dotnet/aspnetcore.git"
},
"author": "Microsoft",
"license": "MIT",
"bugs": {
"url": "https://github.com/dotnet/aspnetcore/issues"
},
"homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme",
"files": [
"dist/**/*",
"src/**/*"
],
"devDependencies": {
"@types/eventsource": "^1.1.8",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@types/tough-cookie": "^4.0.0",
"process": "^0.11.10"
},
"dependencies": {
"abort-controller": "^3.0.0",
"eventsource": "^2.0.2",
"fetch-cookie": "^2.0.3",
"node-fetch": "^2.6.7",
"ws": "^7.4.5"
},
"resolutions": {
"ansi-regex": "5.0.1"
}
}