2019-02-10 15:26:50 +03:00
{
"name" : "leon" ,
2023-05-01 05:23:19 +03:00
"version" : "1.0.0-beta.9+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\"" ,
2023-02-10 17:18:56 +03:00
"dev:server:no-lint" : "npm run train && npm run generate:skills-endpoints && cross-env LEON_NODE_ENV=development \"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" ,
2023-01-06 23:18:19 +03:00
"generate:json-schemas" : "ts-node scripts/generate/run-generate-json-schemas.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" ,
2023-04-30 16:36:07 +03:00
"build:server" : "npm run delete-dist:server && npm run train && npm run generate:skills-endpoints && tsc --project tsconfig.json && 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" ,
2023-04-30 19:36:03 +03:00
"build:nodejs-bridge" : "ts-node scripts/build-binaries.js nodejs-bridge" ,
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-11-11 16:43:24 +03:00
"start" : "cross-env LEON_NODE_ENV=production node server/dist/pre-check.js && 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" ,
2023-05-08 16:35:14 +03:00
"skill-package" : "ts-node scripts/skill-package.js" ,
2023-04-30 18:39:39 +03:00
"pre-release:nodejs-bridge" : "ts-node scripts/release/pre-release-binaries.js nodejs-bridge" ,
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" : {
2023-02-11 06:36:08 +03:00
"@aws-sdk/client-polly" : "3.18.0" ,
2023-03-20 18:37:55 +03:00
"@fastify/static" : "6.9.0" ,
2023-02-11 06:36:08 +03:00
"@ffmpeg-installer/ffmpeg" : "1.1.0" ,
"@ffprobe-installer/ffprobe" : "1.4.1" ,
"@google-cloud/speech" : "4.2.0" ,
"@google-cloud/text-to-speech" : "3.2.1" ,
"@nlpjs/builtin-microsoft" : "4.22.7" ,
"@nlpjs/core-loader" : "4.22.7" ,
"@nlpjs/lang-all" : "4.22.12" ,
"@nlpjs/nlp" : "4.22.17" ,
2022-11-13 15:00:15 +03:00
"@segment/ajv-human-errors" : "2.1.2" ,
"@sinclair/typebox" : "0.25.8" ,
"ajv" : "8.11.0" ,
"ajv-formats" : "2.1.1" ,
2023-02-11 06:36:08 +03:00
"archiver" : "5.3.1" ,
2023-03-20 18:46:27 +03:00
"async" : "3.2.4" ,
2022-10-19 14:23:28 +03:00
"axios" : "1.1.2" ,
2023-02-11 06:36:08 +03:00
"cross-env" : "7.0.3" ,
"dayjs" : "1.11.5" ,
"dotenv" : "10.0.0" ,
"execa" : "5.0.0" ,
2022-10-19 14:23:28 +03:00
"extract-zip" : "2.0.1" ,
2023-03-20 18:37:55 +03:00
"fastify" : "4.15.0" ,
2023-02-11 06:36:08 +03:00
"fluent-ffmpeg" : "2.1.2" ,
"getos" : "3.2.1" ,
"googleapis" : "67.1.1" ,
"ibm-watson" : "6.1.1" ,
2019-02-10 15:26:50 +03:00
"node-wav" : "0.0.2" ,
2023-02-11 06:36:08 +03:00
"os-name" : "4.0.1" ,
"pretty-bytes" : "5.6.0" ,
"pretty-ms" : "7.0.1" ,
2023-05-14 18:22:01 +03:00
"react" : "18.2.0" ,
"react-dom" : "18.2.0" ,
2023-02-11 06:36:08 +03:00
"socket.io" : "4.5.2" ,
"socket.io-client" : "4.5.2" ,
"stt" : "1.4.0" ,
"tree-kill" : "1.2.2"
2019-02-10 15:26:50 +03:00
} ,
"devDependencies" : {
2023-02-11 06:36:08 +03:00
"@nlpjs/utils" : "4.24.1" ,
"@swc/core" : "1.3.14" ,
2023-03-20 18:35:07 +03:00
"@tsconfig/node16-strictest" : "1.0.4" ,
2023-04-03 18:20:00 +03:00
"@types/archiver" : "5.3.2" ,
2022-09-16 21:58:24 +03:00
"@types/cli-spinner" : "0.2.1" ,
2023-02-11 06:36:08 +03:00
"@types/fluent-ffmpeg" : "2.1.20" ,
2023-04-12 19:11:23 +03:00
"@types/getos" : "3.0.1" ,
2023-02-11 06:36:08 +03:00
"@types/node" : "18.7.13" ,
"@types/node-wav" : "0.0.0" ,
2023-05-14 18:22:01 +03:00
"@types/react" : "18.2.6" ,
"@types/react-dom" : "18.2.4" ,
2023-03-20 18:35:07 +03:00
"@typescript-eslint/eslint-plugin" : "5.55.0" ,
"@typescript-eslint/parser" : "5.55.0" ,
2023-05-06 16:38:49 +03:00
"@vercel/ncc" : "0.36.1" ,
2023-05-14 18:22:01 +03:00
"@vitejs/plugin-react" : "4.0.0" ,
2023-02-11 06:36:08 +03:00
"cli-spinner" : "0.2.10" ,
2022-09-04 06:56:02 +03:00
"eslint" : "8.22.0" ,
2023-02-11 06:36:08 +03:00
"eslint-config-prettier" : "8.5.0" ,
"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" ,
2023-02-11 06:36:08 +03:00
"git-changelog" : "2.0.0" ,
"husky" : "7.0.0" ,
"inquirer" : "8.1.0" ,
"jest" : "27.4.7" ,
"jest-canvas-mock" : "2.3.1" ,
"jest-extended" : "2.0.0" ,
"json" : "10.0.0" ,
"lint-staged" : "13.0.3" ,
"nodemon" : "2.0.19" ,
2023-04-03 21:58:02 +03:00
"prettier" : "2.8.7" ,
2023-03-20 18:35:07 +03:00
"resolve-tspaths" : "0.8.8" ,
2023-02-11 06:36:08 +03:00
"semver" : "7.3.5" ,
"shx" : "0.3.3" ,
"ts-node" : "10.9.1" ,
2023-03-20 18:35:07 +03:00
"tsc-watch" : "6.0.0" ,
"tsconfig-paths" : "4.1.2" ,
"typescript" : "5.0.2" ,
2023-05-14 18:20:41 +03:00
"vite" : "4.3.5"
2019-02-10 15:26:50 +03:00
}
}