diff options
| author | Kana <[email protected]> | 2021-06-19 02:03:57 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-19 02:03:57 +0900 |
| commit | 065c5221a0250838f1d1f9bb7a7922ff4f55e038 (patch) | |
| tree | 8a69a81f00e6bff2752f4f7c59dcbbf21f893b20 /package.json | |
| parent | chore: docs update (diff) | |
| parent | fix: potentially fix the blocked extensions array splitting (diff) | |
| download | host.fuwn.me-065c5221a0250838f1d1f9bb7a7922ff4f55e038.tar.xz host.fuwn.me-065c5221a0250838f1d1f9bb7a7922ff4f55e038.zip | |
Merge pull request #278 from Zephyrrus/Zephyrrus-feature/database_based_settings
Zephyrrus feature/database based settings
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/package.json b/package.json index 5c9e5d2..350c1db 100644 --- a/package.json +++ b/package.json @@ -9,19 +9,19 @@ "url": "https://github.com/Pitu" }, "scripts": { - "setup": "node src/setup.js && npm run migrate && npm run seed && npm run build", - "build": "nuxt build", - "start": "npm run migrate && cross-env NODE_ENV=production node src/api/structures/Server", - "dev": "nuxt", + "setup": "node src/setup.js && npm run migrate && npm run seed", + "start": "npm run migrate && nuxt build && cross-env NODE_ENV=production node src/api/structures/Server", + "dev": "nodemon src/api/structures/Server", "migrate": "knex migrate:latest", "seed": "knex seed:run", - "api": "node src/api/structures/Server", "update": "git pull && npm install && npm run migrate && npm run build && npm run restart", - "restart": "pm2 restart lolisafe", + "restart": "pm2 restart chibisafe", + "overwrite-config": "cross-env OVERWRITE_SETTINGS=true", "test:vue": "jest --testPathPattern=src/site", "test:api": "jest --testPathPattern=src/tests/api", "test:e2e": "jest --testPathPattern=src/tests/e2e", - "tests": "npm run test:api && npm run test:vue && npm run test:e2e" + "tests": "npm run test:api && npm run test:vue && npm run test:e2e", + "sqlite": "sqlite_web -p 5001 database/database.sqlite" }, "repository": { "type": "git", @@ -37,7 +37,7 @@ "@mdi/font": "^5.8.55", "@nuxtjs/axios": "^5.12.5", "adm-zip": "^0.4.13", - "bcrypt": "^5.0.0", + "bcrypt": "^5.0.1", "blake3": "^2.1.4", "body-parser": "^1.18.3", "buefy": "^0.9.4", @@ -59,6 +59,7 @@ "fs-jetpack": "^2.2.2", "helmet": "^3.15.1", "imagesloaded": "^4.1.4", + "joi": "^17.3.0", "jsonwebtoken": "^8.5.0", "knex": "^0.21.15", "masonry-layout": "^4.2.2", @@ -103,7 +104,7 @@ "jest": "^26.6.3", "jest-serializer-vue": "^2.0.2", "node-sass": "^5.0.0", - "nodemon": "^1.19.3", + "nodemon": "^1.19.4", "postcss-css-variables": "^0.11.0", "postcss-nested": "^3.0.0", "puppeteer": "^5.5.0", @@ -131,6 +132,12 @@ } } }, + "nodemonConfig": { + "watch": [ + "src/api/*" + ], + "delay": 2500 + }, "keywords": [ "chibisafe", "lolisafe", @@ -141,5 +148,8 @@ "ssr", "file uploader", "images" - ] + ], + "volta": { + "node": "14.17.0" + } } |