53 lines
2.1 KiB
JSON
53 lines
2.1 KiB
JSON
{
|
|
"name": "@aspnet/signalr-protocol-msgpack",
|
|
"version": "1.0.0-preview1-t000",
|
|
"description": "MsgPack Protocol support for ASP.NET Core SignalR",
|
|
"main": "./dist/cjs/index.js",
|
|
"browser": "./dist/browser/signalr-protocol-msgpack.js",
|
|
"module": "./dist/esm/index.js",
|
|
"typings": "./dist/esm/index.d.ts",
|
|
"umd_name": "signalR.protocols.msgpack",
|
|
"directories": {
|
|
"test": "spec"
|
|
},
|
|
"scripts": {
|
|
"clean": "node ../node_modules/rimraf/bin.js ./dist",
|
|
"build": "npm run clean && npm run build:lint && npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:uglify",
|
|
"build:lint": "node ../node_modules/tslint/bin/tslint -c ../tslint.json -p ./tsconfig.json",
|
|
"build:esm": "node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm --target ES2015 -d",
|
|
"build:cjs": "node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs --target ES5",
|
|
"build:browser": "node ../node_modules/rollup/bin/rollup -c",
|
|
"build:uglify": "node ../node_modules/uglify-js/bin/uglifyjs --source-map \"url='signalr-protocol-msgpack.min.js.map',content='./dist/browser/signalr-protocol-msgpack.js.map'\" --comments -o ./dist/browser/signalr-protocol-msgpack.min.js ./dist/browser/signalr-protocol-msgpack.js",
|
|
"pretest": "node ../node_modules/rimraf/bin.js ./spec/obj && tsc --project ./spec/tsconfig.json",
|
|
"test": "node ../node_modules/jasmine/bin/jasmine.js ./spec/obj/signalr-protocol-msgpack/spec/**/*.spec.js"
|
|
},
|
|
"keywords": [
|
|
"signalr",
|
|
"aspnetcore"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/aspnet/SignalR.git"
|
|
},
|
|
"author": "Microsoft",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/aspnet/SignalR/issues"
|
|
},
|
|
"homepage": "https://github.com/aspnet/SignalR#readme",
|
|
"files": [
|
|
"dist/**/*",
|
|
"src/**/*"
|
|
],
|
|
"peerDependencies": {
|
|
"@aspnet/signalr": "^1.0.0-preview1"
|
|
},
|
|
"dependencies": {
|
|
"msgpack5": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/msgpack5": "^3.4.1",
|
|
"buffer": "^5.0.8"
|
|
}
|
|
}
|