hedgedoc/package.json
David Mehren c7e77d25a0 test: support running e2e tests with mariadb
Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-06 22:24:21 +01:00

121 lines
3.7 KiB
JSON

{
"name": "hedgedoc",
"version": "2.0.0",
"description": "Realtime collaborative markdown notes on all platforms.",
"author": "",
"private": true,
"license": "AGPL-3.0",
"scripts": {
"build": "rimraf dist && nest build",
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "rimraf dist && nest start",
"start:dev": "rimraf dist && nest start --watch",
"start:debug": "rimraf dist && nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint --max-warnings 0 \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config jest-e2e.json && rimraf test_uploads*",
"test:e2e:cov": "jest --config jest-e2e.json --coverage && rimraf test_uploads*",
"seed": "ts-node src/seed.ts"
},
"dependencies": {
"@azure/storage-blob": "12.8.0",
"@nestjs/common": "8.4.0",
"@nestjs/config": "1.2.0",
"@nestjs/core": "8.4.0",
"@nestjs/passport": "8.2.1",
"@nestjs/platform-express": "8.4.0",
"@nestjs/schedule": "1.0.2",
"@nestjs/swagger": "5.2.0",
"@nestjs/typeorm": "8.0.3",
"@types/bcrypt": "5.0.0",
"@types/cron": "1.7.3",
"@types/minio": "7.0.12",
"@types/node-fetch": "2.6.1",
"@types/passport-http-bearer": "1.0.37",
"base32-encode": "1.2.0",
"bcrypt": "5.0.1",
"class-transformer": "0.5.1",
"class-validator": "0.13.2",
"cli-color": "2.0.1",
"connect-typeorm": "1.1.4",
"express-session": "1.17.2",
"file-type": "16.5.3",
"joi": "17.6.0",
"minio": "7.0.26",
"mysql": "^2.18.1",
"nest-router": "1.0.9",
"node-fetch": "2.6.7",
"passport": "0.5.2",
"passport-http-bearer": "1.0.1",
"passport-local": "1.0.0",
"pg": "^8.7.3",
"raw-body": "2.5.1",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.4",
"sqlite3": "5.0.2",
"swagger-ui-express": "4.3.0",
"typeorm": "0.2.45"
},
"devDependencies": {
"@nestjs/cli": "8.2.2",
"@nestjs/schematics": "8.0.7",
"@nestjs/testing": "8.4.0",
"@trivago/prettier-plugin-sort-imports": "3.2.0",
"@tsconfig/node12": "1.0.9",
"@types/cli-color": "2.0.2",
"@types/express": "4.17.13",
"@types/express-session": "1.17.4",
"@types/jest": "27.4.1",
"@types/mysql": "^2",
"@types/node": "16.11.26",
"@types/passport-local": "1.0.34",
"@types/pg": "^8",
"@types/source-map-support": "0.5.4",
"@types/supertest": "2.0.11",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"eslint": "8.10.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "26.1.1",
"eslint-plugin-local-rules": "1.1.0",
"eslint-plugin-prettier": "4.0.0",
"http-proxy-middleware": "2.0.3",
"jest": "27.5.1",
"mocked-env": "1.3.5",
"prettier": "2.5.1",
"source-map-support": "0.5.21",
"supertest": "6.2.2",
"ts-jest": "27.1.3",
"ts-node": "10.7.0",
"tsconfig-paths": "3.13.0",
"typescript": "4.6.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"globals": {
"ts-jest": {
"tsconfig": "test/tsconfig.json"
}
}
},
"packageManager": "yarn@3.2.0"
}