Bugfix Websocket hostname. (#21)

* Add yarn-error.log to gitignore.

* Add ts-node to devDependencies.
Add script to only build tsc.
Add websocket to keywords.

* Update yarn.lock libs.

* FIX websocket endpoint hostname.
FIX corrent import for all examples.
FIX websocket instrucions on readme.
This commit is contained in:
Miguel Medeiros
2021-05-20 12:03:40 -03:00
committed by GitHub
parent 0aa3757217
commit e3068c2d8d
28 changed files with 236 additions and 169 deletions

View File

@@ -16,6 +16,7 @@
"mempool.space",
"mempool.js",
"mempool",
"websocket",
"nodejs",
"typescript"
],
@@ -31,6 +32,7 @@
"start": "ts-node src/index.ts",
"dev": "nodemon src/index.ts",
"build": "tsc | browserify lib/index.js --standalone mempoolJS > dist/mempool.js | browserify -p tinyify lib/index.js --standalone mempoolJS > dist/mempool.min.js",
"build-tsc": "tsc",
"prepare": "npm run build",
"postversion": "git push && git push --tags"
},
@@ -51,6 +53,7 @@
"eslint": "^7.19.0",
"nodemon": "^2.0.7",
"tinyify": "^3.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"license": "MIT"