3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 20:55:01 +00:00

Dashboard work. Move configs to DB. Some script reorganization. Add nodemon configs.

This commit is contained in:
Dragory 2019-06-22 18:52:24 +03:00
parent 168d82a966
commit 2adc5af8d7
39 changed files with 8441 additions and 2915 deletions

View file

@ -4,27 +4,26 @@
"description": "",
"private": true,
"scripts": {
"test": "jest src",
"start-bot-dev": "ts-node src/index.ts",
"start-bot-watch": "nodemon --config nodemon-bot.json",
"start-bot-prod": "cross-env NODE_ENV=production node dist/index.js",
"format": "prettier --write \"./**/*.ts\"",
"typeorm": "ts-node ./node_modules/typeorm/cli.js",
"watch-bot": "nodemon --config nodemon-bot.json",
"build": "rimraf dist && tsc",
"build-dashboard-frontend": "rimraf dist-frontend && parcel build src/dashboard/frontend/index.html --out-dir dist-frontend",
"start-dashboard-frontend-dev": "parcel src/dashboard/frontend/index.html",
"start-dashboard-api-dev": "ts-node src/dashboard/server/index.ts",
"start-dashboard-api-watch": "nodemon --config nodemon-dashboard-api.json",
"start-dashboard-api": "cross-env NODE_ENV=production node dist/dashboard/server/index.js",
"start-api-dev": "ts-node src/api/index.ts",
"start-api-prod": "cross-env NODE_ENV=production node dist/api/index.js",
"watch-api": "nodemon --config nodemon-api.json",
"format": "prettier --write \"./src/**/*.ts\"",
"typeorm": "ts-node ./node_modules/typeorm/cli.js",
"migrate": "npm run typeorm -- migration:run",
"migrate-rollback": "npm run typeorm -- migration:revert"
"migrate-rollback": "npm run typeorm -- migration:revert",
"test": "jest src"
},
"dependencies": {
"ajv": "^6.7.0",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"dotenv": "^4.0.0",
"emoji-regex": "^7.0.1",
"eris": "github:abalabahaha/eris#dev",
"eris": "^0.10.0",
"escape-string-regexp": "^1.0.5",
"express": "^4.17.0",
"humanize-duration": "^3.15.0",
@ -48,12 +47,14 @@
"ts-node": "^3.3.0",
"typeorm": "^0.2.14",
"typescript": "^3.3.3333",
"uuid": "^3.3.2"
"uuid": "^3.3.2",
"vuex": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-typescript": "^7.3.3",
"@types/cors": "^2.8.5",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.11",
"@types/lodash.at": "^4.6.3",
@ -67,7 +68,6 @@
"jest": "^24.7.1",
"lint-staged": "^8.1.5",
"nodemon": "^1.17.5",
"parcel-bundler": "^1.12.3",
"prettier": "^1.16.4",
"rimraf": "^2.6.2",
"tslint": "^5.13.1",