2019-02-10 15:26:50 +03:00
{
"name" : "leon" ,
2022-08-24 16:35:26 +03:00
"version" : "1.0.0-beta.8+dev" ,
2022-02-13 02:48:17 +03:00
"description" : "Server, skills and web app of the Leon personal assistant" ,
2019-02-10 15:26:50 +03:00
"author" : {
"name" : "Louis Grenard" ,
2022-08-23 18:01:46 +03:00
"email" : "louis@getleon.ai" ,
2022-02-19 04:24:34 +03:00
"url" : "https://twitter.com/grenlouis"
2019-02-10 15:26:50 +03:00
} ,
"license" : "MIT" ,
"homepage" : "https://getleon.ai" ,
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/leon-ai/leon.git"
} ,
"bugs" : {
"url" : "https://github.com/leon-ai/leon/issues"
} ,
2021-03-28 08:20:06 +03:00
"engines" : {
2021-11-07 05:24:00 +03:00
"node" : ">=16.0.0" ,
"npm" : ">=8.0.0"
2021-03-28 08:20:06 +03:00
} ,
2019-02-10 15:26:50 +03:00
"scripts" : {
2022-08-28 06:37:32 +03:00
"lint" : "ts-node scripts/lint.js" ,
2022-02-03 16:44:49 +03:00
"test" : "npm run test:json && npm run test:over-http && npm run test:unit && npm run test:e2e" ,
2022-10-04 09:19:56 +03:00
"test:unit" : "npm run train en && cross-env PIPENV_PIPFILE=bridges/python/src/Pipfile LEON_NODE_ENV=testing jest --forceExit --silent --projects test/unit/unit.jest.json && npm run train" ,
2019-02-10 15:26:50 +03:00
"test:e2e" : "npm run test:e2e:nlp-modules && npm run test:e2e:modules" ,
2022-10-04 09:19:56 +03:00
"test:e2e:modules" : "ts-node scripts/run-clean-test-dbs.js && npm run train en && cross-env PIPENV_PIPFILE=bridges/python/src/Pipfile LEON_NODE_ENV=testing jest --forceExit --silent --verbose --projects test/e2e/modules/e2e.modules.jest.json && ts-node scripts/run-clean-test-dbs.js && npm run train" ,
"test:e2e:nlp-modules" : "npm run train en && cross-env PIPENV_PIPFILE=bridges/python/src/Pipfile LEON_NODE_ENV=testing jest --forceExit --silent --verbose --setupTestFrameworkScriptFile=./test/paths.setup.js test/e2e/nlp-modules.spec.js && npm run train" ,
2019-02-10 15:26:50 +03:00
"test:json" : "jest --silent --projects test/json/json.jest.json" ,
2022-10-04 09:19:56 +03:00
"test:over-http" : "npm run generate:skills-endpoints && npm run train && cross-env PIPENV_PIPFILE=bridges/python/src/Pipfile LEON_NODE_ENV=testing LEON_HOST=http://localhost LEON_PORT=1338 LEON_HTTP_API_KEY=72aeb5ba324580963114481144385d7179c106fc jest --forceExit --silent --verbose --notify=false --bail --collectCoverage=false test/e2e/over-http.spec.js" ,
2022-08-28 06:37:32 +03:00
"test:module" : "ts-node scripts/test-module.js" ,
"setup:offline" : "ts-node scripts/setup-offline/setup-offline.js" ,
"setup:offline-stt" : "ts-node scripts/setup-offline/run-setup-stt.js" ,
"setup:offline-tts" : "ts-node scripts/setup-offline/run-setup-tts.js" ,
"setup:offline-hotword" : "ts-node scripts/setup-offline/run-setup-hotword.js" ,
2022-10-07 05:41:04 +03:00
"setup:python-bridge" : "ts-node scripts/setup/setup-python-dev-env.js python-bridge" ,
"setup:tcp-server" : "ts-node scripts/setup/setup-python-dev-env.js tcp-server" ,
2019-02-10 15:26:50 +03:00
"preinstall" : "node scripts/setup/preinstall.js" ,
2022-08-28 06:37:32 +03:00
"postinstall" : "ts-node scripts/setup/setup.js" ,
2021-03-15 20:11:40 +03:00
"dev:app" : "vite --config app/vite.config.js" ,
2022-09-03 12:29:22 +03:00
"dev:server" : "npm run train && npm run generate:skills-endpoints && cross-env LEON_NODE_ENV=development tsc-watch --noClear --onSuccess \"nodemon\"" ,
2019-05-25 07:07:11 +03:00
"wake" : "cross-env LEON_HOST=http://localhost LEON_PORT=1337 node hotword/index.js" ,
2019-02-10 15:26:50 +03:00
"delete-dist:server" : "shx rm -rf ./server/dist" ,
2022-10-04 09:19:56 +03:00
"clean:python-deps" : "shx rm -rf ./bridges/python/src/.venv && npm run postinstall" ,
2021-12-27 17:57:06 +03:00
"prepare" : "husky install" ,
2022-08-28 06:37:32 +03:00
"generate:skills-endpoints" : "ts-node scripts/generate/run-generate-skills-endpoints.js" ,
"generate:http-api-key" : "ts-node scripts/generate/run-generate-http-api-key.js" ,
2021-12-27 13:02:32 +03:00
"build" : "npm run build:app && npm run build:server" ,
2022-08-28 06:37:32 +03:00
"build:app" : "cross-env LEON_NODE_ENV=production ts-node scripts/app/run-build-app.js" ,
2022-09-03 06:58:10 +03:00
"build:server" : "npm run delete-dist:server && npm run train && npm run generate:skills-endpoints && tsc && resolve-tspaths && shx rm -rf server/dist/core server/dist/package.json && shx mv -f server/dist/server/src/* server/dist && shx rm -rf server/dist/server && shx mkdir -p server/dist/tmp" ,
2022-10-07 05:41:04 +03:00
"build:python-bridge" : "ts-node scripts/build-binaries.js python-bridge" ,
"build:tcp-server" : "ts-node scripts/build-binaries.js tcp-server" ,
2022-10-07 06:26:39 +03:00
"start:tcp-server" : "cross-env PIPENV_PIPFILE=tcp_server/src/Pipfile pipenv run python tcp_server/src/main.py" ,
2022-09-03 04:51:35 +03:00
"start" : "cross-env LEON_NODE_ENV=production node ./server/dist/index.js" ,
2022-11-06 16:57:04 +03:00
"python-bridge" : "cross-env PIPENV_PIPFILE=bridges/python/src/Pipfile pipenv run python bridges/python/src/main.py server/src/intent-object.sample.json" ,
2022-08-28 06:37:32 +03:00
"train" : "ts-node scripts/train/run-train.js" ,
"prepare-release" : "ts-node scripts/release/prepare-release.js" ,
2022-10-09 16:27:12 +03:00
"pre-release:python-bridge" : "ts-node scripts/release/pre-release-binaries.js python-bridge" ,
"pre-release:tcp-server" : "ts-node scripts/release/pre-release-binaries.js tcp-server" ,
2022-10-18 19:22:37 +03:00
"check" : "ts-node scripts/check.js" ,
2022-08-23 15:59:09 +03:00
"docker:build" : "docker build -t leon-ai/leon ." ,
"docker:run" : "docker compose up" ,
"docker:dev" : "docker compose --file=docker-compose.dev.yml up" ,
"docker:check" : "docker run --rm --interactive leon-ai/leon npm run check"
2019-02-10 15:26:50 +03:00
} ,
"dependencies" : {
2021-06-05 04:21:14 +03:00
"@aws-sdk/client-polly" : "^3.18.0" ,
2022-09-03 14:57:19 +03:00
"@fastify/static" : "^6.5.0" ,
2021-12-27 14:05:52 +03:00
"@ffmpeg-installer/ffmpeg" : "^1.1.0" ,
2022-09-04 18:59:18 +03:00
"@ffprobe-installer/ffprobe" : "^1.4.1" ,
2021-03-05 08:10:43 +03:00
"@google-cloud/speech" : "^4.2.0" ,
2021-05-17 06:05:23 +03:00
"@google-cloud/text-to-speech" : "^3.2.1" ,
2022-02-12 14:10:27 +03:00
"@nlpjs/builtin-microsoft" : "^4.22.7" ,
"@nlpjs/core-loader" : "^4.22.7" ,
2022-02-11 16:34:39 +03:00
"@nlpjs/lang-all" : "^4.22.12" ,
2022-02-12 14:10:27 +03:00
"@nlpjs/nlp" : "^4.22.17" ,
2022-10-06 14:48:17 +03:00
"archiver" : "^5.3.1" ,
2021-03-05 07:47:01 +03:00
"async" : "^3.2.0" ,
2022-10-19 14:23:28 +03:00
"axios" : "1.1.2" ,
2021-03-05 07:35:27 +03:00
"cross-env" : "^7.0.3" ,
2022-09-12 07:45:25 +03:00
"dayjs" : "^1.11.5" ,
2021-06-13 03:05:26 +03:00
"dotenv" : "^10.0.0" ,
2021-03-04 17:49:52 +03:00
"execa" : "^5.0.0" ,
2022-10-19 14:23:28 +03:00
"extract-zip" : "2.0.1" ,
2022-09-03 14:57:19 +03:00
"fastify" : "^4.5.3" ,
2019-02-10 15:26:50 +03:00
"fluent-ffmpeg" : "^2.1.2" ,
2022-10-29 06:48:16 +03:00
"getos" : "^3.2.1" ,
2021-03-05 07:53:57 +03:00
"googleapis" : "^67.1.1" ,
2021-06-05 04:19:06 +03:00
"ibm-watson" : "^6.1.1" ,
2019-02-10 15:26:50 +03:00
"node-wav" : "0.0.2" ,
2022-10-29 06:48:16 +03:00
"os-name" : "^4.0.1" ,
2022-10-07 05:41:04 +03:00
"pretty-bytes" : "^5.6.0" ,
2022-10-22 20:00:55 +03:00
"pretty-ms" : "^7.0.1" ,
2022-09-04 18:53:05 +03:00
"socket.io" : "^4.5.2" ,
"socket.io-client" : "^4.5.2" ,
2022-09-10 06:51:23 +03:00
"stt" : "^1.4.0" ,
2022-03-06 17:09:04 +03:00
"tree-kill" : "^1.2.2"
2019-02-10 15:26:50 +03:00
} ,
"devDependencies" : {
2022-06-26 12:37:21 +03:00
"@nlpjs/utils" : "^4.24.1" ,
2022-09-03 04:51:35 +03:00
"@swc/core" : "^1.2.245" ,
"@tsconfig/node16-strictest" : "^1.0.3" ,
2022-09-16 21:58:24 +03:00
"@types/cli-spinner" : "0.2.1" ,
2022-08-28 06:37:32 +03:00
"@types/node" : "^18.7.13" ,
2022-09-03 13:17:16 +03:00
"@typescript-eslint/eslint-plugin" : "^5.36.1" ,
"@typescript-eslint/parser" : "^5.36.1" ,
2021-03-04 04:41:41 +03:00
"cli-spinner" : "^0.2.10" ,
2022-09-04 06:56:02 +03:00
"eslint" : "8.22.0" ,
2022-09-03 14:12:41 +03:00
"eslint-config-prettier" : "^8.5.0" ,
2022-09-26 19:01:03 +03:00
"eslint-import-resolver-typescript" : "^3.5.1" ,
"eslint-plugin-import" : "^2.26.0" ,
2022-09-26 23:10:27 +03:00
"eslint-plugin-unicorn" : "43.0.2" ,
2021-03-04 15:01:00 +03:00
"git-changelog" : "^2.0.0" ,
2021-12-27 17:57:06 +03:00
"husky" : "^7.0.0" ,
2021-06-05 04:17:42 +03:00
"inquirer" : "^8.1.0" ,
2022-02-03 14:37:56 +03:00
"jest" : "^27.4.7" ,
2021-03-04 15:16:06 +03:00
"jest-canvas-mock" : "^2.3.1" ,
2022-02-03 14:37:56 +03:00
"jest-extended" : "^2.0.0" ,
2021-03-04 15:01:00 +03:00
"json" : "^10.0.0" ,
2022-09-03 15:33:32 +03:00
"lint-staged" : "^13.0.3" ,
2022-09-03 07:06:00 +03:00
"nodemon" : "^2.0.19" ,
2022-09-03 13:37:56 +03:00
"prettier" : "2.7.1" ,
2022-09-03 08:08:54 +03:00
"resolve-tspaths" : "^0.7.4" ,
2021-05-22 04:22:06 +03:00
"semver" : "^7.3.5" ,
2021-03-15 20:11:40 +03:00
"shx" : "^0.3.3" ,
2022-08-28 06:37:32 +03:00
"ts-node" : "^10.9.1" ,
2022-09-03 12:29:22 +03:00
"tsc-watch" : "^5.0.3" ,
2022-08-28 06:37:32 +03:00
"tsconfig-paths" : "^4.1.0" ,
"typescript" : "^4.8.2" ,
2022-09-04 18:50:17 +03:00
"vite" : "^3.0.9"
2019-02-10 15:26:50 +03:00
}
}