1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-18 06:11:34 +03:00
leon/package.json

99 lines
4.4 KiB
JSON

{
"name": "leon",
"version": "1.0.0-beta.4+dev",
"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"
},
"scripts": {
"lint": "babel-node scripts/lint.js",
"test": "npm run test:json && npm run test:unit && npm run test:e2e",
"test:unit": "npm run train expressions:en && cross-env PIPENV_PIPFILE=bridges/python/Pipfile jest --silent --projects test/unit/unit.jest.json && npm run train expressions",
"test:e2e": "npm run test:e2e:nlp-modules && npm run test:e2e:modules",
"test:e2e:modules": "npm run train expressions:en && cross-env PIPENV_PIPFILE=bridges/python/Pipfile jest --silent --verbose --projects test/e2e/modules/e2e.modules.jest.json && npm run train expressions",
"test:e2e:nlp-modules": "npm run train expressions:en && cross-env PIPENV_PIPFILE=bridges/python/Pipfile jest --silent --verbose --setupTestFrameworkScriptFile=./test/paths.setup.js test/e2e/nlp-modules.spec.js && npm run train expressions",
"test:json": "jest --silent --projects test/json/json.jest.json",
"test:module": "babel-node scripts/test-module.js",
"setup:offline": "babel-node scripts/setup-offline/setup-offline.js",
"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",
"dev:app": "babel-node scripts/app/dev-app.js",
"dev:server": "npm run train expressions && cross-env LEON_NODE_ENV=development nodemon --watch server ./server/src/index.js --ignore server/src/tmp/ --exec babel-node",
"wake": "cross-env LEON_HOST=http://localhost LEON_PORT=1337 node hotword/index.js",
"delete-dist:server": "shx rm -rf ./server/dist",
"build": "npm run lint && npm run build:app && npm run build:server",
"build:app": "cross-env LEON_NODE_ENV=production babel-node scripts/app/run-build-app.js",
"build:server": "npm run delete-dist:server && npm run train expressions && babel ./server/src -d ./server/dist --copy-files && shx mkdir -p server/dist/tmp",
"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",
"check": "babel-node scripts/run-check.js",
"docker:build": "docker build -t leonai/leon .",
"docker:run": "docker run -e TZ=`cat /etc/timezone` -p 1337:1337 -it leonai/leon",
"docker:check": "docker run --rm -it -p 1337:1337 leonai/leon npm run check"
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.0.17",
"@ffprobe-installer/ffprobe": "^1.0.9",
"@google-cloud/speech": "^3.2.0",
"@google-cloud/text-to-speech": "^3.1.3",
"archiver": "^5.2.0",
"async": "^3.2.0",
"aws-sdk": "^2.382.0",
"body-parser": "^1.19.0",
"cross-env": "^7.0.3",
"deepspeech": "^0.5.0",
"dotenv": "^8.2.0",
"execa": "^5.0.0",
"express": "^4.17.1",
"fluent-ffmpeg": "^2.1.2",
"googleapis": "^67.1.1",
"ibm-watson": "^4.1.3",
"moment-timezone": "^0.5.33",
"node-nlp": "^3.1.1",
"node-wav": "0.0.2",
"socket.io": "^3.1.2",
"superagent": "^6.1.0"
},
"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.8",
"@babel/node": "^7.13.0",
"@babel/preset-env": "^7.13.9",
"babel-plugin-module-resolver": "^4.1.0",
"babelify": "^10.0.0",
"browser-sync": "^2.26.14",
"browserify": "^17.0.0",
"cli-spinner": "^0.2.10",
"envify": "^4.1.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^11.3.2",
"eslint-import-resolver-babel-module": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^21.27.2",
"git-changelog": "^2.0.0",
"inquirer": "^8.0.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.1",
"jest-extended": "^0.11.5",
"json": "^10.0.0",
"nodemon": "^2.0.7",
"semver": "^7.3.4",
"shx": "^0.3.3"
}
}