mirror of
https://github.com/leon-ai/leon.git
synced 2024-11-10 15:19:18 +03:00
98 lines
4.2 KiB
JSON
98 lines
4.2 KiB
JSON
{
|
|
"name": "leon",
|
|
"version": "1.0.0-beta.0",
|
|
"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": "cross-env PIPENV_PIPFILE=bridges/python/Pipfile jest --silent --projects test/unit/unit.jest.json",
|
|
"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": "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": "npm run build:app && babel-node scripts/app/dev-app.js",
|
|
"dev:server": "npm run train expressions && nodemon --watch server ./server/src/index.js --exec babel-node",
|
|
"wake": "cross-env LEON_SERVER_HOST=localhost LEON_SERVER_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": "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 . --force-rm",
|
|
"docker:run": "docker run -e TZ=`cat /etc/timezone` -d -p 1337:1337 -it leonai/leon"
|
|
},
|
|
"dependencies": {
|
|
"@ffmpeg-installer/ffmpeg": "^1.0.17",
|
|
"@ffprobe-installer/ffprobe": "^1.0.9",
|
|
"@google-cloud/speech": "^2.1.1",
|
|
"@google-cloud/text-to-speech": "^0.3.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.4.1",
|
|
"dotenv": "^4.0.0",
|
|
"execa": "^0.10.0",
|
|
"express": "^4.15.3",
|
|
"fluent-ffmpeg": "^2.1.2",
|
|
"googleapis": "^25.0.0",
|
|
"moment-timezone": "^0.5.14",
|
|
"natural": "^0.2.1",
|
|
"node-wav": "0.0.2",
|
|
"socket.io": "^2.0.2",
|
|
"superagent": "^3.5.2",
|
|
"watson-developer-cloud": "^3.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babelify": "^7.3.0",
|
|
"browser-sync": "^2.26.3",
|
|
"browserify": "^14.4.0",
|
|
"cli-spinner": "^0.2.8",
|
|
"dev-ip": "^1.0.1",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-airbnb-base": "^11.2.0",
|
|
"eslint-import-resolver-babel-module": "^4.0.0",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-jest": "^21.17.0",
|
|
"git-changelog": "git+https://git@github.com/louistiti/git-changelog.git",
|
|
"husky": "^0.14.3",
|
|
"inquirer": "^5.1.0",
|
|
"jest": "^23.4.1",
|
|
"jest-extended": "^0.7.2",
|
|
"json": "^9.0.6",
|
|
"nodemon": "^1.18.9",
|
|
"semver": "^5.6.0",
|
|
"shx": "^0.2.2"
|
|
}
|
|
}
|