1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-18 14:21:32 +03:00
leon/package.json

101 lines
4.6 KiB
JSON
Raw Normal View History

2019-02-10 15:26:50 +03:00
{
"name": "leon",
2021-03-02 12:05:04 +03:00
"version": "1.0.0-beta.4+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"
},
"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",
2019-02-10 15:26:50 +03:00
"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",
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",
"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",
2019-05-25 07:07:11 +03:00
"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",
2019-02-10 15:26:50 +03:00
"delete-dist:server": "shx rm -rf ./server/dist",
"build": "npm run lint && 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",
2019-02-10 15:26:50 +03:00
"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",
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 .",
"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"
2019-02-10 15:26:50 +03:00
},
"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",
2019-02-10 15:26:50 +03:00
"archiver": "^2.1.1",
"async": "^2.6.0",
"aws-sdk": "^2.382.0",
"body-parser": "^1.17.2",
"cross-env": "^5.2.0",
2019-06-18 19:13:03 +03:00
"deepspeech": "^0.5.0",
2019-02-10 15:26:50 +03:00
"dotenv": "^4.0.0",
"execa": "^0.10.0",
"express": "^4.15.3",
"fluent-ffmpeg": "^2.1.2",
2019-06-07 18:37:08 +03:00
"googleapis": "^40.0.0",
"ibm-watson": "^4.1.3",
2019-02-10 15:26:50 +03:00
"moment-timezone": "^0.5.14",
2019-05-06 13:56:30 +03:00
"node-nlp": "^3.1.1",
2019-02-10 15:26:50 +03:00
"node-wav": "0.0.2",
"socket.io": "^3.1.2",
"superagent": "^3.5.2"
2019-02-10 15:26:50 +03:00
},
"devDependencies": {
2021-03-04 04:30:01 +03:00
"@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",
2019-06-07 21:09:48 +03:00
"babelify": "^10.0.0",
"browser-sync": "^2.26.14",
2021-03-04 04:39:47 +03:00
"browserify": "^17.0.0",
2021-03-04 04:41:41 +03:00
"cli-spinner": "^0.2.10",
"envify": "^4.1.0",
"eslint": "^5.16.0",
2021-03-03 12:14:57 +03:00
"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": "git+https://github.com/leon-ai/git-changelog.git",
2019-02-10 15:26:50 +03:00
"husky": "^0.14.3",
"inquirer": "^5.1.0",
"jest": "^24.7.1",
"jest-canvas-mock": "^2.0.0-alpha.3",
2019-06-07 21:09:48 +03:00
"jest-extended": "git+https://github.com/leon-ai/jest-extended.git",
2019-02-10 15:26:50 +03:00
"json": "^9.0.6",
"nodemon": "^1.18.9",
"semver": "^5.6.0",
"shx": "^0.3.3"
2019-02-10 15:26:50 +03:00
}
}