Files
writer/package.json
dependabot[bot] 74655ac753 Bump minimatch and mocha
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `mocha` from 9.0.3 to 9.2.2
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.3...v9.2.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 23:42:01 +01:00

95 lines
3.8 KiB
JSON

{
"name": "writer-backend",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.2.21",
"@types/concurrently": "^6.2.1",
"@types/eslint": "^7.28.0",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/jsonwebtoken": "^8.5.4",
"@types/koa": "^2.13.4",
"@types/koa-logger": "^3.1.1",
"@types/koa-router": "^7.4.4",
"@types/koa-send": "^4.1.3",
"@types/koa-sslify": "^4.0.2",
"@types/koa-static": "^4.0.2",
"@types/koa__cors": "^3.0.3",
"@types/lodash": "^4.14.171",
"@types/mocha": "^9.0.0",
"@types/mysql": "^2.15.19",
"@types/node": "^16.4.8",
"@types/prettier": "^2.3.2",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"supertest": "^6.1.4",
"ts-node-dev": "^1.1.8"
},
"dependencies": {
"@koa/cors": "^3.1.0",
"bcrypt": "^5.0.1",
"concurrently": "^6.2.0",
"cross-env": "^7.0.3",
"jsonwebtoken": "^9.0.0",
"koa": "^2.13.1",
"koa-body": "^4.2.0",
"koa-jwt": "^4.0.1",
"koa-logger": "^3.2.1",
"koa-router": "^10.0.0",
"koa-send": "^5.0.1",
"koa-sslify": "^5.0.0",
"koa-static": "^5.0.0",
"lodash": "^4.17.21",
"mysql": "^2.18.1",
"reflect-metadata": "^0.1.13",
"ts-node": "10.1.0",
"tsconfig-paths": "^3.10.1",
"typeorm": "0.2.36",
"typescript": "^4.3.5"
},
"cacheDirectories": [
"frontend/node_modules",
"node_modules"
],
"scripts": {
"ts-node-dev": "ts-node-dev -r tsconfig-paths/register src/server.ts",
"start": "ts-node -T -r tsconfig-paths/register src/server.ts",
"build-frontend": "cd frontend && npm i && npm i --only dev && npm run build",
"build-backend": "npm i",
"build": "npm run build-backend && npm run build-frontend",
"frontend": "cd frontend && npm start",
"dev": "cross-env NODE_ENV=development concurrently npm:ts-node-dev npm:frontend -c 'blue,green'",
"test": "cross-env NODE_ENV=test mocha --timeout 15000 -r ts-node/register -r tsconfig-paths/register 'src/tests/**/*.ts' ",
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx && tsc --noEmit",
"lint-fix": "eslint ./src/** --ext .js,.jsx,.ts,.tsx --fix",
"lint-frontend": "cd frontend && npm run lint",
"lint-frontend-fix": "cd frontend && npm run lint-fix",
"lint-all": "npm run lint && npm run lint-frontend",
"lint-all-fix": "npm run lint-fix && npm run lint-frontend-fix",
"prettier-check": "prettier src/**/*.ts frontend/src/**/*.ts frontend/src/**/*.tsx --check",
"prettify": "prettier src/**/*.ts frontend/src/**/*.ts frontend/src/**/*.tsx --write",
"typeorm-dev": "cross-env NODE_ENV=development ts-node -T -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"typeorm": "cross-env NODE_ENV=production ts-node -T -r tsconfig-paths/register ./node_modules/typeorm/cli.js"
},
"husky": {
"hooks": {
"pre-commit": "prettier src/** --write && prettier frontend/src/** --write",
"pre-push": "npm test && cd frontend && npm test"
}
},
"engines": {
"node": "14.x"
}
}