2019-02-10 15:26:50 +03:00
{
"name" : "leon" ,
2021-12-28 16:33:06 +03:00
"version" : "1.0.0-beta.6+dev" ,
2019-02-10 15:26:50 +03:00
"description" : "Server, packages and web app of the Leon personal assistant" ,
"author" : {
"name" : "Louis Grenard" ,
"email" : "louis.grenard@gmail.com" ,
"url" : "https://twitter.com/louistiti_fr"
} ,
"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" : {
"lint" : "babel-node scripts/lint.js" ,
"test" : "npm run test:json && npm run test:unit && npm run test:e2e" ,
2021-12-27 12:09:12 +03:00
"test:unit" : "npm run train en && cross-env PIPENV_PIPFILE=bridges/python/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" ,
2021-12-27 12:09:12 +03:00
"test:e2e:modules" : "babel-node scripts/run-clean-test-dbs.js && npm run train en && cross-env PIPENV_PIPFILE=bridges/python/Pipfile LEON_NODE_ENV=testing jest --forceExit --silent --verbose --projects test/e2e/modules/e2e.modules.jest.json && babel-node scripts/run-clean-test-dbs.js && npm run train" ,
"test:e2e:nlp-modules" : "npm run train en && cross-env PIPENV_PIPFILE=bridges/python/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" ,
"test:module" : "babel-node scripts/test-module.js" ,
2019-06-08 07:55:48 +03:00
"setup:offline" : "babel-node scripts/setup-offline/setup-offline.js" ,
2019-02-10 15:26:50 +03:00
"setup:offline-stt" : "babel-node scripts/setup-offline/run-setup-stt.js" ,
"setup:offline-tts" : "babel-node scripts/setup-offline/run-setup-tts.js" ,
"setup:offline-hotword" : "babel-node scripts/setup-offline/run-setup-hotword.js" ,
"preinstall" : "node scripts/setup/preinstall.js" ,
"postinstall" : "babel-node scripts/setup/setup.js" ,
2021-03-15 20:11:40 +03:00
"dev:app" : "vite --config app/vite.config.js" ,
2021-12-27 12:09:12 +03:00
"dev:server" : "npm run train && cross-env LEON_NODE_ENV=development nodemon --watch server ./server/src/index.js --ignore server/src/tmp/ --exec babel-node" ,
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" ,
2021-12-27 17:57:06 +03:00
"prepare" : "husky install" ,
2021-12-27 13:02:32 +03:00
"build" : "npm run build:app && npm run build:server" ,
2019-05-25 07:07:11 +03:00
"build:app" : "cross-env LEON_NODE_ENV=production babel-node scripts/app/run-build-app.js" ,
2021-12-27 12:09:12 +03:00
"build:server" : "npm run delete-dist:server && npm run train && babel ./server/src -d ./server/dist --copy-files && shx mkdir -p server/dist/tmp" ,
2019-02-10 15:26:50 +03:00
"start" : "cross-env LEON_NODE_ENV=production node ./server/dist/index.js" ,
"train" : "babel-node scripts/run-train.js" ,
"prepare-release" : "babel-node scripts/release/prepare-release.js" ,
2019-02-12 16:25:02 +03:00
"check" : "babel-node scripts/run-check.js" ,
2019-05-12 04:19:28 +03:00
"docker:build" : "docker build -t leonai/leon ." ,
2021-04-05 18:47:34 +03:00
"docker:run" : "docker-compose up" ,
"docker:dev" : "docker-compose --file=docker-compose.dev.yml up" ,
"docker:check" : "docker run --rm -it leonai/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" ,
2021-12-27 14:05:52 +03:00
"@ffmpeg-installer/ffmpeg" : "^1.1.0" ,
"@ffprobe-installer/ffprobe" : "^1.3.0" ,
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" ,
2021-04-03 05:59:07 +03:00
"@nlpjs/basic" : "^4.22.0" ,
2021-04-01 12:07:09 +03:00
"@nlpjs/builtin-microsoft" : "^4.22.0" ,
2021-03-26 15:15:10 +03:00
"@nlpjs/core-loader" : "^4.22.0" ,
2021-04-02 14:52:17 +03:00
"@nlpjs/ner" : "^4.22.0" ,
2021-03-28 08:02:54 +03:00
"@nlpjs/nlp" : "^4.22.0" ,
2021-05-22 04:21:42 +03:00
"archiver" : "^5.3.0" ,
2021-03-05 07:47:01 +03:00
"async" : "^3.2.0" ,
2021-03-05 07:35:27 +03:00
"cross-env" : "^7.0.3" ,
2021-03-06 08:04:24 +03:00
"deepspeech" : "^0.9.3" ,
2021-06-13 03:05:26 +03:00
"dotenv" : "^10.0.0" ,
2021-03-04 17:49:52 +03:00
"execa" : "^5.0.0" ,
2021-12-27 14:18:40 +03:00
"fastify" : "^3.25.2" ,
"fastify-static" : "^4.5.0" ,
2019-02-10 15:26:50 +03:00
"fluent-ffmpeg" : "^2.1.2" ,
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" ,
2021-03-04 15:28:56 +03:00
"moment-timezone" : "^0.5.33" ,
2019-02-10 15:26:50 +03:00
"node-wav" : "0.0.2" ,
2021-12-27 14:46:18 +03:00
"socket.io" : "^4.4.0" ,
"socket.io-client" : "^4.4.0" ,
2022-01-23 14:50:51 +03:00
"stt" : "^1.1.0" ,
2021-03-04 15:24:48 +03:00
"superagent" : "^6.1.0"
2019-02-10 15:26:50 +03:00
} ,
"devDependencies" : {
2021-11-07 05:24:00 +03:00
"@babel/cli" : "^7.16.0" ,
"@babel/core" : "^7.16.0" ,
"@babel/node" : "^7.16.0" ,
"@babel/preset-env" : "^7.16.0" ,
2021-03-04 04:30:01 +03:00
"babel-plugin-module-resolver" : "^4.1.0" ,
2021-03-04 04:41:41 +03:00
"cli-spinner" : "^0.2.10" ,
2021-06-05 04:16:05 +03:00
"eslint" : "^7.28.0" ,
2021-03-15 20:11:40 +03:00
"eslint-config-airbnb-base" : "^14.2.1" ,
2021-05-22 04:16:49 +03:00
"eslint-import-resolver-babel-module" : "^5.3.1" ,
2021-05-17 06:02:33 +03:00
"eslint-plugin-import" : "^2.23.2" ,
2021-05-29 04:51:05 +03:00
"eslint-plugin-jest" : "^24.3.6" ,
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" ,
2021-12-27 13:37:42 +03:00
"jest" : "^27.4.5" ,
2021-03-04 15:16:06 +03:00
"jest-canvas-mock" : "^2.3.1" ,
2021-12-27 13:37:42 +03:00
"jest-extended" : "^1.2.0" ,
2021-03-04 15:01:00 +03:00
"json" : "^10.0.0" ,
2021-03-04 15:04:24 +03:00
"nodemon" : "^2.0.7" ,
2021-05-22 04:22:06 +03:00
"semver" : "^7.3.5" ,
2021-03-15 20:11:40 +03:00
"shx" : "^0.3.3" ,
2021-12-27 13:39:30 +03:00
"vite" : "^2.7.7"
2019-02-10 15:26:50 +03:00
}
}