mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-01-12 07:08:02 -05:00
167 lines
6.6 KiB
JSON
167 lines
6.6 KiB
JSON
{
|
|
"name": "redditcontextbot",
|
|
"version": "0.11.4",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "nyc ./node_modules/.bin/_mocha 'tests/**/*.test.ts'",
|
|
"build": "tsc && npm run bundle-front",
|
|
"bundle-front": "browserify src/Web/assets/browser.js | terser --compress --mangle > src/Web/assets/public/browserBundle.js",
|
|
"start": "node src/index.js run",
|
|
"schema": "npm run -s schema-app & npm run -s schema-ruleset & npm run -s schema-rule & npm run -s schema-action & npm run -s schema-check & npm run -s schema-run & npm run -s schema-config",
|
|
"schema-app": "typescript-json-schema tsconfig.json SubredditConfigData --out src/Schema/App.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schema-ruleset": "typescript-json-schema tsconfig.json RuleSetConfigData --out src/Schema/RuleSet.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schema-rule": "typescript-json-schema tsconfig.json RuleConfigData --out src/Schema/Rule.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schema-check": "typescript-json-schema tsconfig.json ActivityCheckConfigValue --out src/Schema/Check.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schema-run": "typescript-json-schema tsconfig.json RunConfigValue --out src/Schema/Run.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schema-action": "typescript-json-schema tsconfig.json ActionConfigData --out src/Schema/Action.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schema-config": "typescript-json-schema tsconfig.json OperatorJsonConfig --out src/Schema/OperatorConfig.json --required --tsNodeRegister --refs --validationKeywords deprecationMessage",
|
|
"schemaNotWorking": "./node_modules/.bin/ts-json-schema-generator -f tsconfig.json -p src/SubredditConfigData.ts -t JSONConfig --out src/Schema/vegaSchema.json",
|
|
"circular": "madge --circular --extensions ts src/index.ts",
|
|
"circular-graph": "madge --image graph.svg --circular --extensions ts src/index.ts",
|
|
"postinstall": "patch-package",
|
|
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
|
|
"initMigration": "npm run typeorm -- migration:generate -t 1642180264563 -d ormconfig.js \"src/Common/Migrations/Database/init\""
|
|
},
|
|
"engines": {
|
|
"node": ">=16.18.0"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@awaitjs/express": "^0.8.0",
|
|
"@datasert/cronjs-matcher": "^1.2.0",
|
|
"@googleapis/youtube": "^2.0.0",
|
|
"@influxdata/influxdb-client": "^1.31.0",
|
|
"@influxdata/influxdb-client-apis": "^1.31.0",
|
|
"@nlpjs/core": "^4.23.4",
|
|
"@nlpjs/lang-de": "^4.23.4",
|
|
"@nlpjs/lang-en": "^4.23.4",
|
|
"@nlpjs/lang-es": "^4.23.4",
|
|
"@nlpjs/lang-fr": "^4.23.4",
|
|
"@nlpjs/language": "^4.22.7",
|
|
"@nlpjs/nlp": "^4.23.5",
|
|
"@stdlib/regexp-regexp": "^0.0.6",
|
|
"ajv": "^7.2.4",
|
|
"ansi-regex": ">=5.0.1",
|
|
"async": "^3.2.0",
|
|
"autolinker": "^3.14.3",
|
|
"body-parser": "^1.19.0",
|
|
"cache-manager": "^3.4.4",
|
|
"cache-manager-redis-store": "^3.0.1",
|
|
"commander": "^8.0.0",
|
|
"comment-json": "^4.1.1",
|
|
"connect-typeorm": "^2.0.0",
|
|
"cookie-parser": "^1.3.5",
|
|
"dayjs": "^1.10.5",
|
|
"deepmerge": "^4.2.2",
|
|
"ejs": "^3.1.6",
|
|
"env-cmd": "^10.1.0",
|
|
"es6-error": "^4.1.1",
|
|
"express": "^4.17.1",
|
|
"express-session": "^1.17.2",
|
|
"express-session-cache-manager": "^1.0.2",
|
|
"express-socket.io-session": "^1.3.5",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"globrex": "^0.1.2",
|
|
"got": "^11.8.2",
|
|
"he": "^1.2.0",
|
|
"http-proxy": "^1.18.1",
|
|
"json5": "^2.2.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"leven": "^3.1.0",
|
|
"lodash": "^4.17.21",
|
|
"logform": "^2.4.0",
|
|
"lru-cache": "^6.0.0",
|
|
"migrate": "github:johsunds/node-migrate#49b0054de0a9295857aa8b8eea9a3cdeb2643913",
|
|
"mustache": "^4.2.0",
|
|
"nanoid": "^3.3.1",
|
|
"node-fetch": "^2.6.1",
|
|
"normalize-url": "^6.1.0",
|
|
"object-hash": "^2.2.0",
|
|
"p-event": "^4.2.0",
|
|
"p-map": "^4.0.0",
|
|
"passport": "^0.4.1",
|
|
"passport-custom": "^1.1.1",
|
|
"passport-jwt": "^4.0.0",
|
|
"patch-package": "^6.4.7",
|
|
"pixelmatch": "^5.2.1",
|
|
"pony-cause": "^1.1.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"snoostorm": "^1.5.2",
|
|
"snoowrap": "^1.23.0",
|
|
"socket.io": "^4.1.3",
|
|
"sql.js": "^1.6.2",
|
|
"string-similarity": "^4.0.4",
|
|
"tcp-port-used": "^1.0.2",
|
|
"triple-beam": "^1.3.0",
|
|
"typeorm": "^0.3.7",
|
|
"typeorm-logger-adaptor": "^1.1.0",
|
|
"unique-names-generator": "^4.7.1",
|
|
"vader-sentiment": "^1.1.3",
|
|
"webhook-discord": "^3.7.7",
|
|
"wink-sentiment": "^5.0.2",
|
|
"winston": "github:FoxxMD/winston#fbab8de969ecee578981c77846156c7f43b5f01e",
|
|
"winston-daily-rotate-file": "^4.5.5",
|
|
"winston-duplex": "^0.1.1",
|
|
"winston-null": "^2.0.0",
|
|
"winston-transport": "^4.4.0",
|
|
"yaml": "2.0.0-10",
|
|
"zlib": "^1.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@tsconfig/node14": "^1.0.0",
|
|
"@types/async": "^3.2.7",
|
|
"@types/cache-manager": "^3.4.2",
|
|
"@types/chai": "^4.3.0",
|
|
"@types/chai-as-promised": "^7.1.5",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/express": "^4.17.13",
|
|
"@types/express-session": "^1.17.4",
|
|
"@types/express-socket.io-session": "^1.3.6",
|
|
"@types/globrex": "^0.1.1",
|
|
"@types/he": "^1.1.1",
|
|
"@types/http-proxy": "^1.17.7",
|
|
"@types/js-yaml": "^4.0.1",
|
|
"@types/jsonwebtoken": "^8.5.4",
|
|
"@types/lodash": "^4.14.171",
|
|
"@types/lru-cache": "^5.1.1",
|
|
"@types/memory-cache": "^0.2.1",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/mustache": "^4.1.1",
|
|
"@types/node": "^15.14.9",
|
|
"@types/node-fetch": "^2.5.10",
|
|
"@types/object-hash": "^2.1.0",
|
|
"@types/passport": "^1.0.7",
|
|
"@types/passport-jwt": "^3.0.6",
|
|
"@types/pixelmatch": "^5.2.4",
|
|
"@types/sharp": "^0.29.2",
|
|
"@types/string-similarity": "^4.0.0",
|
|
"@types/tcp-port-used": "^1.0.0",
|
|
"@types/triple-beam": "^1.3.2",
|
|
"browserify": "^17.0.0",
|
|
"chai": "^4.3.6",
|
|
"chai-as-promised": "^7.1.1",
|
|
"mocha": "^9.2.1",
|
|
"nyc": "^15.1.0",
|
|
"source-map-support": "^0.5.21",
|
|
"terser": "^5.13.1",
|
|
"ts-essentials": "^9.1.2",
|
|
"ts-json-schema-generator": "^0.93.0",
|
|
"ts-mockito": "^2.6.1",
|
|
"ts-node": "^10.7.0",
|
|
"tsconfig-paths": "^3.13.0",
|
|
"typescript": "^4.6.4",
|
|
"typescript-json-schema": "~0.53"
|
|
},
|
|
"optionalDependencies": {
|
|
"better-sqlite3": "^7.5.0",
|
|
"mongo": "^3.6.0",
|
|
"mysql": "^2.18.1",
|
|
"pg": "^8.7.1",
|
|
"sharp": "^0.29.1"
|
|
}
|
|
}
|