2016-03-09 20:46:15 +00:00
|
|
|
{
|
2017-05-17 19:46:27 +00:00
|
|
|
"name": "node-eventstore-client",
|
2023-01-30 20:08:46 +00:00
|
|
|
"version": "21.10.0",
|
2016-03-09 20:46:15 +00:00
|
|
|
"description": "A port of the EventStore .Net ClientAPI to Node.js",
|
|
|
|
"main": "index.js",
|
2016-11-14 07:21:01 +00:00
|
|
|
"types": "index.d.ts",
|
2017-10-18 21:39:25 +00:00
|
|
|
"engines": {
|
2023-01-30 20:08:46 +00:00
|
|
|
"node": ">=14",
|
|
|
|
"npm": ">=6"
|
2017-10-18 21:39:25 +00:00
|
|
|
},
|
|
|
|
"engineStrict": true,
|
2016-03-09 20:46:15 +00:00
|
|
|
"scripts": {
|
2019-11-02 22:40:02 +00:00
|
|
|
"clean": "rm -f lib/dist.js",
|
2019-11-01 19:53:24 +00:00
|
|
|
"prebuild": "npm run clean",
|
2023-01-30 20:08:46 +00:00
|
|
|
"build": "webpack",
|
2016-10-15 05:53:23 +00:00
|
|
|
"pretest": "npm run build",
|
2016-10-18 04:58:28 +00:00
|
|
|
"test": "nodeunit",
|
2017-02-25 22:12:13 +00:00
|
|
|
"test-debug": "TESTS_VERBOSE_LOGGING=1 nodeunit",
|
2020-09-14 15:29:58 +00:00
|
|
|
"test:jest:watch": "jest --watch --coverage",
|
2020-09-16 15:23:46 +00:00
|
|
|
"test:single": "npm run compose:single:start && npm run compose:wait && npm run compose:single:test ; npm run compose:single:stop",
|
|
|
|
"test:gossip": "npm run compose:cluster:start && npm run compose:wait && npm run compose:gossip:test ; npm run compose:cluster:stop",
|
|
|
|
"test:cluster": "npm run compose:cluster:start && npm run compose:wait && npm run compose:cluster:test ; npm run compose:cluster:stop",
|
|
|
|
"compose:single:start": "docker-compose -f docker-compose-single.yaml up --build -d",
|
|
|
|
"compose:cluster:start": "docker-compose -f docker-compose-cluster.yaml up --build -d",
|
|
|
|
"compose:single:stop": "docker-compose -f docker-compose-single.yaml down -v --remove-orphans",
|
|
|
|
"compose:cluster:stop": "docker-compose -f docker-compose-cluster.yaml down -v --remove-orphans",
|
2023-01-30 20:08:46 +00:00
|
|
|
"compose:wait": "while [ \"$(curl -s -o /dev/null -w ''%{http_code}'' -k https://localhost:2113/ping)\" != \"200\" ]; do sleep 5; done",
|
|
|
|
"compose:single:test": "docker-compose -f docker-compose-single.yaml exec nodejs bash -c \"EVENTSTORE_CONNECTION_TYPE=tcp EVENTSTORE_HOST=192.168.33.10 ./build-and-test.sh\"",
|
|
|
|
"compose:gossip:test": "docker-compose -f docker-compose-cluster.yaml exec nodejs bash -c \"EVENTSTORE_CONNECTION_TYPE=gossip EVENTSTORE_HOST=192.168.33.10 EVENTSTORE_HOST_1=192.168.33.10 EVENTSTORE_HOST_2=192.168.33.11 EVENTSTORE_HOST_3=192.168.33.12 ./build-and-test.sh\"",
|
|
|
|
"compose:cluster:test": "docker-compose -f docker-compose-cluster.yaml exec nodejs bash -c \"EVENTSTORE_CONNECTION_TYPE=dns EVENTSTORE_HOST=cluster.tests.node-eventstore-client.local ./build-and-test.sh\"",
|
2019-11-02 22:40:02 +00:00
|
|
|
"prepublishOnly": "npm run build && npm run gendocs",
|
2016-11-08 05:55:52 +00:00
|
|
|
"gendocs": "rm -rf docs && jsdoc src -r -d docs"
|
2016-03-09 20:46:15 +00:00
|
|
|
},
|
2016-10-18 04:58:28 +00:00
|
|
|
"files": [
|
|
|
|
"lib",
|
2016-11-08 05:55:52 +00:00
|
|
|
"docs",
|
2016-11-15 06:49:49 +00:00
|
|
|
"src",
|
|
|
|
"index.js",
|
|
|
|
"index.d.ts"
|
2016-10-18 04:58:28 +00:00
|
|
|
],
|
2016-11-08 05:55:52 +00:00
|
|
|
"directories": {
|
|
|
|
"lib": "lib",
|
|
|
|
"doc": "docs",
|
|
|
|
"example": "samples"
|
|
|
|
},
|
2016-03-09 20:46:15 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-05-17 19:46:27 +00:00
|
|
|
"url": "git+https://github.com/nicdex/node-eventstore-client.git"
|
2016-03-09 20:46:15 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"eventstore",
|
|
|
|
"geteventstore",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"author": "Nicolas Dextraze",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
2017-05-17 19:46:27 +00:00
|
|
|
"url": "https://github.com/nicdex/node-eventstore-client/issues"
|
2016-03-09 20:46:15 +00:00
|
|
|
},
|
2017-05-17 19:46:27 +00:00
|
|
|
"homepage": "https://github.com/nicdex/node-eventstore-client#readme",
|
2016-03-09 20:46:15 +00:00
|
|
|
"dependencies": {
|
2023-01-30 20:08:46 +00:00
|
|
|
"@types/node": ">=14",
|
|
|
|
"long": "^5.2.0",
|
|
|
|
"protobufjs": "^7.1.2",
|
|
|
|
"protobufjs-cli": "^1.0.2",
|
2019-08-03 05:34:38 +00:00
|
|
|
"strict-event-emitter-types": "^1.2.0",
|
2023-01-30 20:08:46 +00:00
|
|
|
"uuid": "^9.0.0"
|
2016-03-10 01:04:03 +00:00
|
|
|
},
|
2016-10-15 05:53:23 +00:00
|
|
|
"devDependencies": {
|
2023-01-30 20:08:46 +00:00
|
|
|
"jest": "^29.4.1",
|
|
|
|
"jsdoc": "^4.0.0",
|
2019-11-01 18:30:06 +00:00
|
|
|
"nodeunit": "^0.11.3",
|
2023-01-30 20:08:46 +00:00
|
|
|
"webpack": "^5.75.0",
|
2019-11-01 18:30:06 +00:00
|
|
|
"webpack-cli": "^3.3.10"
|
2016-10-15 05:53:23 +00:00
|
|
|
}
|
2016-03-09 20:46:15 +00:00
|
|
|
}
|