{ "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", "commitmsg": "babel-node scripts/commit-message.js && npm run lint", "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": "^1.1.0", "archiver": "^2.1.1", "async": "^2.6.0", "aws-sdk": "^2.382.0", "body-parser": "^1.17.2", "cross-env": "^5.2.0", "deepspeech": "^0.5.0", "dotenv": "^4.0.0", "execa": "^0.10.0", "express": "^4.15.3", "fluent-ffmpeg": "^2.1.2", "googleapis": "^40.0.0", "ibm-watson": "^4.1.3", "moment-timezone": "^0.5.14", "node-nlp": "^3.1.1", "node-wav": "0.0.2", "socket.io": "^2.0.2", "superagent": "^3.5.2" }, "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.4.5", "@babel/node": "^7.4.5", "@babel/preset-env": "^7.4.5", "babel-plugin-module-resolver": "^3.2.0", "babelify": "^10.0.0", "browser-sync": "^2.26.7", "browserify": "^14.4.0", "cli-spinner": "^0.2.8", "envify": "^4.1.0", "eslint": "^5.16.0", "eslint-config-airbnb-base": "^11.2.0", "eslint-import-resolver-babel-module": "^5.1.0", "eslint-plugin-import": "^2.12.0", "eslint-plugin-jest": "^21.17.0", "git-changelog": "git+https://github.com/leon-ai/git-changelog.git", "husky": "^0.14.3", "inquirer": "^5.1.0", "jest": "^24.7.1", "jest-canvas-mock": "^2.0.0-alpha.3", "jest-extended": "git+https://github.com/leon-ai/jest-extended.git", "json": "^9.0.6", "nodemon": "^1.18.9", "semver": "^5.6.0", "shx": "^0.2.2" } }