X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=e2d1580dec2f68592dc63dce4ebe81b868368c41;hb=0f16a6625f6ec995565a7a8de7ff08808eeb5c86;hp=f49ed11b39fab78b0efd1abecd5038ee3f892dfe;hpb=4160581a82c639b3e47f359b63d0bf263a0392e3;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index f49ed11b..e2d1580d 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "ev-simulator", - "version": "1.0.36", + "name": "charging-stations-simulator", + "version": "1.1.2", "engines": { "node": "14.x.x", "npm": "6.x.x" }, "repository": { "type": "git", - "url": "https://github.com/jerome-benoit/ev-simulator.git" + "url": "https://github.com/jerome-benoit/charging-stations-simulator.git" }, "description": "Electric Vehicle charging stations simulator", "author": "SAP E-Mobility Labs France ", @@ -27,10 +27,14 @@ ], "main": "dist/start.js", "auto-changelog": { - "commitUrl": "https://github.com/jerome-benoit/ev-simulator/commit/{id}", - "issueUrl": "https://github.com/jerome-benoit/ev-simulator/issues/{id}", - "mergeUrl": "https://github.com/jerome-benoit/ev-simulator/pull/{id}", - "compareUrl": "https://github.com/jerome-benoit/ev-simulator/compare/{from}...{to}" + "commitUrl": "https://github.com/jerome-benoit/charging-stations-simulator/commit/{id}", + "issueUrl": "https://github.com/jerome-benoit/charging-stations-simulator/issues/{id}", + "mergeUrl": "https://github.com/jerome-benoit/charging-stations-simulator/pull/{id}", + "compareUrl": "https://github.com/jerome-benoit/charging-stations-simulator/compare/{from}...{to}" + }, + "mikro-orm": { + "tsConfigPath": "./tsconfig.orm.json", + "useTsNode": true }, "scripts": { "prestart": "npm run build", @@ -50,7 +54,6 @@ "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", - "pretest": "npm run build:dev", "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts", "coverage": "nyc report --reporter=lcov", "coverage:html": "nyc report --reporter=html", @@ -64,16 +67,22 @@ "release": "release-it" }, "dependencies": { + "@mikro-orm/core": "^4.5.9", + "@mikro-orm/mariadb": "^4.5.9", + "@mikro-orm/reflection": "^4.5.9", + "@mikro-orm/sqlite": "^4.5.9", "basic-ftp": "^4.6.6", - "mongodb": "^4.1.0", - "poolifier": "^2.0.2", - "source-map-support": "^0.5.19", - "tar": "^6.1.8", + "chalk": "^4.1.2", + "mongodb": "^4.1.2", + "poolifier": "^2.1.0", + "proper-lockfile": "^4.1.2", + "source-map-support": "^0.5.20", + "tar": "^6.1.11", "tslib": "^2.3.1", "uuid": "^8.3.2", "winston": "^3.3.3", "winston-daily-rotate-file": "^4.5.5", - "ws": "^8.1.0" + "ws": "^8.2.2" }, "optionalDependencies": { "bufferutil": "^4.0.3", @@ -81,38 +90,39 @@ }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", + "@mikro-orm/cli": "^4.5.9", "@rollup/plugin-json": "^4.1.0", "@types/mocha": "^9.0.0", "@types/mochawesome": "^6.2.1", - "@types/node": "^14.17.9", + "@types/node": "^14.17.17", + "@types/proper-lockfile": "^4.1.2", "@types/tar": "^4.0.5", "@types/uuid": "^8.3.1", "@types/ws": "^7.4.7", - "@typescript-eslint/eslint-plugin": "^4.29.1", - "@typescript-eslint/parser": "^4.29.1", + "@typescript-eslint/eslint-plugin": "^4.31.1", + "@typescript-eslint/parser": "^4.31.1", "auto-changelog": "^2.3.0", "clinic": "^9.0.0", "cross-env": "^7.0.3", "eslint": "^7.32.0", - "eslint-plugin-import": "^2.24.0", - "eslint-plugin-jsdoc": "^36.0.7", + "eslint-plugin-import": "^2.24.2", + "eslint-plugin-jsdoc": "^36.1.0", "eslint-plugin-node": "^11.1.0", - "expect": "^27.0.6", - "mbt": "^1.2.3", - "mocha": "^9.0.3", + "expect": "^27.2.0", + "mocha": "^9.1.1", "mochawesome": "^6.2.2", "npm-check": "^5.9.2", "nyc": "^15.1.0", "release-it": "^14.11.5", "robohydra": "^0.6.9", - "rollup": "^2.56.2", + "rollup": "^2.56.3", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-istanbul": "^3.0.0", "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript2": "^0.30.0", - "ts-node": "^10.2.0", - "typescript": "^4.3.5" + "rollup-plugin-ts": "^1.4.2", + "ts-node": "^10.2.1", + "typescript": "^4.4.3" } }