@aspnet/signalr

v1.0.0-preview1-final
ASP.NET Core SignalR Client

clean

node ../node_modules/rimraf/bin.js ./dist ./.rpt2_cache

build

npm run clean && npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:uglify

build:esm

node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm --target ES2015 -d && node ./build/process-dts.js

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.min.js.map',content='./dist/browser/signalr.js.map'" --comments -o ./dist/browser/signalr.min.js ./dist/browser/signalr.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/spec/**/*.spec.js
npm i @aspnet/[email protected]

Metadata

Downloads

Maintainers