UNPKG

2.73 kBJSONView Raw
1{
2 "name": "@microsoft/signalr",
3 "version": "3.1.17",
4 "description": "ASP.NET Core SignalR Client",
5 "main": "./dist/cjs/index.js",
6 "module": "./dist/esm/index.js",
7 "typings": "./dist/esm/index.d.ts",
8 "umd": "./dist/browser/signalr.js",
9 "umd_name": "signalR",
10 "directories": {
11 "test": "spec"
12 },
13 "scripts": {
14 "preclean": "cd ../common && yarn install --mutex network",
15 "clean": "node ../common/node_modules/rimraf/bin.js ./dist",
16 "prebuild": "yarn run clean && yarn install --mutex network",
17 "build": "yarn run build:lint && yarn run build:esm && yarn run build:cjs && yarn run build:browser && yarn run build:webworker && yarn run build:uglify",
18 "build:lint": "node ../common/node_modules/tslint/bin/tslint -c ../tslint.json -p ./tsconfig.json",
19 "build:esm": "node ../common/node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d && node ./build/process-dts.js",
20 "build:cjs": "node ../common/node_modules/typescript/bin/tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs",
21 "build:browser": "node ../common/node_modules/webpack-cli/bin/cli.js",
22 "build:webworker": "node ../common/node_modules/webpack-cli/bin/cli.js --env.platform=webworker",
23 "build:uglify": "yarn run build:uglify:browser && yarn run build:uglify:webworker",
24 "build:uglify:browser": "node ../common/node_modules/uglify-js/bin/uglifyjs --source-map \"url='signalr.min.js.map',content='./dist/browser/signalr.js.map'\" --comments -o ./dist/browser/signalr.min.js ./dist/browser/signalr.js",
25 "build:uglify:webworker": "node ../common/node_modules/uglify-js/bin/uglifyjs --source-map \"url='signalr.min.js.map',content='./dist/webworker/signalr.js.map'\" --comments -o ./dist/webworker/signalr.min.js ./dist/webworker/signalr.js",
26 "prepack": "node ../build/embed-version.js",
27 "test": "echo \"Run 'yarn test' in the 'clients/ts' folder to test this package\" && exit 1"
28 },
29 "keywords": [
30 "signalr",
31 "aspnetcore"
32 ],
33 "repository": {
34 "type": "git",
35 "url": "git+https://github.com/aspnet/AspNetCore.git"
36 },
37 "author": "Microsoft",
38 "license": "Apache-2.0",
39 "bugs": {
40 "url": "https://github.com/aspnet/AspNetCore/issues"
41 },
42 "homepage": "https://github.com/aspnet/AspNetCore/tree/master/src/SignalR#readme",
43 "files": [
44 "dist/**/*",
45 "src/**/*"
46 ],
47 "devDependencies": {
48 "@types/eventsource": "^1.0.2",
49 "@types/jest": "^23.3.2",
50 "@types/node": "^10.9.4",
51 "@types/request": "^2.47.1",
52 "es6-promise": "^4.2.2"
53 },
54 "dependencies": {
55 "eventsource": "^1.0.7",
56 "request": "^2.88.0",
57 "ws": "^6.0.0"
58 }
59}