@provide/nats.ws
Version:
NATS websocket client
81 lines (80 loc) • 1.92 kB
JSON
{
"name": "@provide/nats.ws",
"version": "1.0.6",
"description": "NATS websocket client",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"unpkg": "./dist/umd/index.min.js",
"files": [
"dist"
],
"scripts": {
"build:cjs": "./node_modules/.bin/tsc -p tsconfig.cjs.json",
"build:umd": "webpack",
"build": "yarn clean && yarn build:cjs && yarn build:umd",
"clean": "rm -rf dist .nyc_output coverage",
"coveralls": "nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls",
"cover": "nyc report --reporter=html && open coverage/index.html",
"test": "yarn build && nyc ava --verbose -T 15000",
"debugtest": "tsc && node node_modules/.bin/ava --verbose -T 6500000 -m"
},
"repository": {
"type": "git",
"url": "git@github.com:kthomas/nats.ws.git"
},
"bugs": {
"url": "https://github.com/kthomas/nats.ws/issues"
},
"keywords": [
"NATS",
"websockets"
],
"author": {
"name": "The NATS Authors"
},
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^13.1.4",
"@types/ws": "^6.0.4",
"ava": "^2.4.0",
"browser-env": "^3.3.0",
"coveralls": "^3.0.9",
"fast-text-encoding": "^1.0.0",
"nyc": "^15.0.0",
"ts-loader": "^6.2.1",
"typescript": "^3.7.4",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"ava": {
"failfast": true,
"require": [
"./dist/test/helpers/setup-browser-env.js",
"./dist/test/helpers/ava_fix.js"
],
"files": [
"./dist/test/**/*.js",
"!./dist/test/helpers/**/*.js"
],
"sources": [
"dist/**/*.js"
]
},
"dependencies": {},
"nyc": {
"extension": [
".ts",
".js"
],
"include": [
"src/**/*.ts",
"dist/src/**/*.js"
],
"exclude": [
"dist/test/**",
"examples/**"
],
"sourceMap": true,
"all": true
}
}