nostream/package.json

140 lines
4.5 KiB
JSON
Raw Normal View History

2022-08-07 01:52:34 +00:00
{
2022-12-24 15:44:38 -05:00
"name": "nostream",
chore(release): 1.19.0 [skip ci] # [1.19.0](https://github.com/Cameri/nostream/compare/v1.18.0...v1.19.0) (2023-02-02) ### Bug Fixes * crash when payments are disabled ([280e24f](https://github.com/Cameri/nostream/commit/280e24f75cce1e9376e000a75b88791cc7e6d185)) * error on heartbeat ([9d1a027](https://github.com/Cameri/nostream/commit/9d1a027c0d06069dbbd387653b817723def15d97)) * increase rate limits ([282f7db](https://github.com/Cameri/nostream/commit/282f7db0a131a6fcc73f580b0da2391146c3a535)) * invalid type for extname() ([f578247](https://github.com/Cameri/nostream/commit/f5782473eb9a7c42973ab524e6db9b1f97c7ac8d)) * lots of bugs ([9c010e7](https://github.com/Cameri/nostream/commit/9c010e78657012167a13293f274d66a880363fc7)) * nip-11 doc and tests ([4ec6f20](https://github.com/Cameri/nostream/commit/4ec6f20cc994fffed03bf51292747cd4d543a4f3)) * patch ([b0adba6](https://github.com/Cameri/nostream/commit/b0adba6abcf52a58cc510dbd85ef6b744ed57f24)) * patch knex ([ad7ab69](https://github.com/Cameri/nostream/commit/ad7ab69d362b4a595701e9fc0049bd197b5461ca)) * rate limiter err ([7778cd1](https://github.com/Cameri/nostream/commit/7778cd169b5bd26dad64563fb052296c1b7737b2)) * refactor to use process.cwd() ([2469295](https://github.com/Cameri/nostream/commit/24692955f9100557df8e39f0c3d2e37e8819d403)) * remove dupe updated_at column from invoice ([d1cdd96](https://github.com/Cameri/nostream/commit/d1cdd9672a73639b1e14131ed7ab64319ed3a36a)) * remove test file which is failing ci/cd ([77177a2](https://github.com/Cameri/nostream/commit/77177a20c0600d5a9c76e5621d37a94ad8f96008)) * since to be in seconds ([9021aa6](https://github.com/Cameri/nostream/commit/9021aa6b118332b1d8dfbe87fa0c3e2b5d8500d6)) * typo ([f9c7dbf](https://github.com/Cameri/nostream/commit/f9c7dbf9dd24d8ea2afd582042c53ca6631e461f)) * upgrade @noble/secp256k1 from 1.7.0 to 1.7.1 ([a8f44cd](https://github.com/Cameri/nostream/commit/a8f44cd717188288b46b5e75c1b1509a509b3c1c)) * upgrade ws from 8.11.0 to 8.12.0 ([779f7b7](https://github.com/Cameri/nostream/commit/779f7b7fe65075be7beac6a5a5b2b655d7660c77)) * use knex 2.4.0 everywhere ([a9b03b2](https://github.com/Cameri/nostream/commit/a9b03b27d797cd867d667fe777aa199731f4b0e0)) ### Features * add pay-to-relay ([2618a4d](https://github.com/Cameri/nostream/commit/2618a4d2dc93551f74ab89df5cb04c8928b0d6d0)) * add yaml parser js-yaml ([bee6302](https://github.com/Cameri/nostream/commit/bee6302dd5dab23e0fb1cb4acefbafb9dc1c85f7)) * adding powered by ZBD badge if its enabled payment processor ([54684a7](https://github.com/Cameri/nostream/commit/54684a76f3e49a8823f63c2b42e0c4d6bcd6e555)) * implement static mirroring ([cd4c60a](https://github.com/Cameri/nostream/commit/cd4c60a139fb39d8c107044616b75157aed2f192)) * massive update ([f9c53ee](https://github.com/Cameri/nostream/commit/f9c53eeeb841cedb0aec59a40b78ac9eaeec37a7)) * **utils:** refactor settings to use yaml ([5a8107f](https://github.com/Cameri/nostream/commit/5a8107f73cfa435f4b7983803387e6d854d3e82d))
2023-02-02 05:32:31 +00:00
"version": "1.19.0",
2022-12-20 22:53:30 -05:00
"description": "A Nostr relay written in Typescript.",
"supportedNips": [
1,
2,
4,
9,
11,
12,
15,
16,
2022-11-15 20:09:52 -05:00
20,
22,
26,
2022-12-26 01:21:25 -05:00
28,
33
],
2022-08-07 01:52:34 +00:00
"main": "src/index.ts",
"scripts": {
2022-10-28 00:44:30 -04:00
"dev": "node -r ts-node/register src/index.ts",
2022-10-28 20:51:09 -04:00
"clean": "rimraf ./{dist,.nyc_output,.test-reports,.coverage}",
2022-10-12 01:19:22 +00:00
"build": "tsc --project tsconfig.build.json",
2022-10-17 04:35:12 +00:00
"prestart": "npm run build",
"start": "cd dist && node src/index.js",
"build:check": "npm run build -- --noEmit",
"lint": "eslint --ext .ts ./src ./test",
"lint:report": "eslint -o .lint-reports/eslint.json -f json --ext .ts ./src ./test",
2022-08-07 01:52:34 +00:00
"lint:fix": "npm run lint -- --fix",
"db:migrate": "knex migrate:latest",
"db:migrate:rollback": "knex migrate:rollback",
"db:seed": "knex seed:run",
2022-10-28 20:51:09 -04:00
"pretest:unit": "mkdir -p .test-reports/unit",
2022-10-25 00:28:44 -04:00
"test:unit": "mocha 'test/**/*.spec.ts'",
2022-10-28 20:58:14 -04:00
"test:unit:watch": "npm run test:unit -- --min --watch --watch-files src/**/*,test/**/*",
2022-10-28 21:47:43 -04:00
"cover:unit": "nyc --report-dir .coverage/unit npm run test:unit",
2022-12-24 15:44:38 -05:00
"docker:build": "docker build -t nostream .",
2022-10-28 20:51:09 -04:00
"pretest:integration": "mkdir -p .test-reports/integration",
2022-10-25 00:28:44 -04:00
"test:integration": "cucumber-js",
2022-10-28 21:47:43 -04:00
"cover:integration": "nyc --report-dir .coverage/integration npm run test:integration -- -p cover",
2022-12-20 23:05:12 -05:00
"docker:compose:start": "./scripts/start",
"docker:compose:stop": "./scripts/stop",
"docker:compose:clean": "./scripts/clean",
"tor:docker:compose:start": "./scripts/start_with_tor",
"tor:hostname": "./scripts/print_tor_hostname",
"tor:docker:compose:stop": "./scripts/stop",
2022-11-11 20:24:16 -05:00
"docker:integration:run": "docker compose -f ./test/integration/docker-compose.yml run --rm tests",
2022-10-28 21:47:43 -04:00
"docker:test:integration": "npm run docker:integration:run -- npm run test:integration",
2022-11-11 20:24:16 -05:00
"docker:cover:integration": "npm run docker:integration:run -- npm run cover:integration",
2022-11-20 12:27:34 -05:00
"postdocker:integration:run": "docker compose -f ./test/integration/docker-compose.yml down",
"prepare": "husky install || exit 0"
2022-08-07 01:52:34 +00:00
},
"repository": {
"type": "git",
2022-12-24 15:44:38 -05:00
"url": "git+https://github.com/Cameri/nostream.git"
2022-08-07 01:52:34 +00:00
},
"keywords": [
2022-10-17 04:35:12 +00:00
"nostr",
2022-12-20 22:53:30 -05:00
"relay",
"typescript"
2022-08-07 01:52:34 +00:00
],
2022-12-23 07:11:42 -05:00
"author": "Ricardo Arturo Cabral Mejía (npub1qqqqqqyz0la2jjl752yv8h7wgs3v098mh9nztd4nr6gynaef6uqqt0n47m)",
2022-08-07 01:52:34 +00:00
"license": "MIT",
"bugs": {
2022-12-24 15:44:38 -05:00
"url": "https://github.com/Cameri/nostream/issues"
2022-08-07 01:52:34 +00:00
},
2022-12-24 15:44:38 -05:00
"homepage": "https://github.com/Cameri/nostream#readme",
2022-08-07 01:52:34 +00:00
"devDependencies": {
2022-11-20 12:24:16 -05:00
"@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0",
2022-10-25 00:28:44 -04:00
"@cucumber/cucumber": "8.7.0",
2022-10-28 00:44:30 -04:00
"@cucumber/pretty-formatter": "1.0.0",
2022-11-06 00:43:25 -04:00
"@semantic-release/commit-analyzer": "9.0.2",
2022-11-08 22:07:35 -05:00
"@semantic-release/git": "10.0.1",
2022-11-06 00:43:25 -04:00
"@semantic-release/github": "8.0.6",
2022-11-08 22:37:50 -05:00
"@semantic-release/npm": "9.0.1",
2022-11-06 00:43:25 -04:00
"@semantic-release/release-notes-generator": "10.0.3",
2022-08-07 01:52:34 +00:00
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
2022-10-30 01:36:11 -04:00
"@types/debug": "4.1.7",
2023-01-10 20:51:49 -05:00
"@types/express": "4.17.15",
"@types/js-yaml": "4.0.5",
2022-08-07 01:52:34 +00:00
"@types/mocha": "^9.1.1",
"@types/node": "18.11.18",
2022-08-07 01:52:34 +00:00
"@types/pg": "^8.6.5",
"@types/ramda": "^0.28.13",
"@types/sinon": "^10.0.11",
2022-08-14 05:33:57 +00:00
"@types/sinon-chai": "^3.2.8",
2022-08-07 01:52:34 +00:00
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
2022-11-06 10:36:34 -05:00
"conventional-changelog-conventionalcommits": "5.0.0",
2022-11-20 10:53:45 -05:00
"cz-conventional-changelog": "3.3.0",
2022-08-07 01:52:34 +00:00
"eslint": "^8.13.0",
2022-11-20 12:22:41 -05:00
"husky": "8.0.2",
2022-08-07 01:52:34 +00:00
"mocha": "^9.2.2",
2022-08-14 05:33:57 +00:00
"mochawesome": "^7.1.3",
"nyc": "^15.1.0",
2022-08-07 01:52:34 +00:00
"rimraf": "^3.0.2",
2022-11-06 00:43:25 -04:00
"semantic-release": "19.0.5",
2022-11-06 01:10:28 -04:00
"semantic-release-telegram": "1.6.0",
2022-12-29 10:31:31 -05:00
"sinon": "15.0.1",
2022-08-07 01:52:34 +00:00
"sinon-chai": "^3.7.0",
2022-08-14 05:33:57 +00:00
"source-map-support": "^0.5.21",
"ts-node": "10.9.1",
2022-08-07 01:52:34 +00:00
"ts-node-dev": "^1.1.8",
"typescript": "4.6.4",
2022-08-07 01:52:34 +00:00
"uuid": "^8.3.2"
},
"dependencies": {
"@noble/secp256k1": "1.7.1",
2023-01-10 20:51:49 -05:00
"axios": "1.2.2",
"bech32": "2.0.0",
"body-parser": "1.20.1",
2022-10-30 01:36:11 -04:00
"debug": "4.3.4",
"dinero.js": "2.0.0-alpha.13",
"dotenv": "16.0.3",
2023-01-10 20:51:49 -05:00
"express": "4.18.2",
"helmet": "6.0.1",
"joi": "17.7.0",
2023-01-10 21:20:36 -05:00
"js-yaml": "4.1.0",
"knex": "2.4.0",
2022-09-22 21:47:57 +00:00
"pg": "8.8.0",
"pg-query-stream": "4.2.4",
2022-09-22 21:47:57 +00:00
"ramda": "0.28.0",
"redis": "4.5.1",
"rxjs": "7.8.0",
"ws": "8.12.0",
"tor-control-ts": "^1.0.0"
2022-11-20 10:53:45 -05:00
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
2022-08-07 01:52:34 +00:00
}
}