X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=a35a0f487d76822b99b53c2071a8799078e7d0fb;hb=ff82dc5fce136c2a9a677c896d70a19e8d90dfb0;hp=c51af1c61962e5486b6724a641835ab97542e840;hpb=6439c85a78e4637513e4997160f218279c21a9e3;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index c51af1c6..a35a0f48 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "emobility-charging-stations-simulator", - "version": "1.1.60", + "name": "e-mobility-charging-stations-simulator", + "version": "1.1.63", "engines": { "node": ">=16.0.0", "npm": ">=8.0.0" }, "repository": { "type": "git", - "url": "https://github.com/sap/emobility-charging-stations-simulator.git" + "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" }, "description": "Electric Vehicle charging stations simulator", "author": "SAP E-Mobility ", @@ -25,7 +25,10 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" } ], - "main": "./dist/start.js", + "exports": [ + "./dist/start.cjs", + "./dist/start.mjs" + ], "lint-staged": { "src/**/*.{js,ts}": [ "prettier --write", @@ -33,10 +36,10 @@ ] }, "auto-changelog": { - "commitUrl": "https://github.com/sap/emobility-charging-stations-simulator/commit/{id}", - "issueUrl": "https://github.com/sap/emobility-charging-stations-simulator/issues/{id}", - "mergeUrl": "https://github.com/sap/emobility-charging-stations-simulator/pull/{id}", - "compareUrl": "https://github.com/sap/emobility-charging-stations-simulator/compare/{from}...{to}" + "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", + "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", + "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}", + "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" }, "mikro-orm": { "tsConfigPath": "./tsconfig-orm.json", @@ -45,16 +48,17 @@ "scripts": { "prepare": "node prepare.js", "prestart": "npm run build", - "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js", - "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/start.js", - "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js", - "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", - "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", - "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", - "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", - "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", - "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", - "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js", + "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs", + "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/start.cjs", + "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs", + "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs", + "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.cjs", + "start:dev:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs", + "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.cjs", + "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.cjs", + "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs", + "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.cjs", + "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.cjs", "rollup": "rollup --config", "build": "npm run rollup", "build:dev": "npm run rollup -- --environment BUILD:development", @@ -73,28 +77,29 @@ "git:sdiff": "git diff && git submodule foreach 'git diff'", "git:supdate": "git submodule update --remote --recursive --merge", "git:spush": "git push --recurse-submodules=on-demand", + "sonar:properties": "./src/scripts/updateSonarProps.sh", "release": "release-it" }, "dependencies": { - "@mikro-orm/core": "^5.1.5", - "@mikro-orm/mariadb": "^5.1.5", - "@mikro-orm/reflection": "^5.1.5", - "@mikro-orm/sqlite": "^5.1.5", + "@mikro-orm/core": "^5.2.1", + "@mikro-orm/mariadb": "^5.2.1", + "@mikro-orm/reflection": "^5.2.1", + "@mikro-orm/sqlite": "^5.2.1", "basic-ftp": "^4.6.6", "chalk": "^4.1.2", "express": "^4.18.1", - "mnemonist": "^0.39.1", + "mnemonist": "^0.39.2", "moment": "^2.29.3", - "mongodb": "^4.6.0", + "mongodb": "^4.7.0", "poolifier": "^2.2.0", "proper-lockfile": "^4.1.2", "source-map-support": "^0.5.21", "tar": "^6.1.11", "tslib": "^2.4.0", "uuid": "^8.3.2", - "winston": "^3.7.2", + "winston": "^3.8.1", "winston-daily-rotate-file": "^4.7.1", - "ws": "^8.7.0" + "ws": "^8.8.0" }, "optionalDependencies": { "bufferutil": "^4.0.6", @@ -102,44 +107,45 @@ }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", - "@mikro-orm/cli": "^5.1.5", + "@mikro-orm/cli": "^5.2.1", "@rollup/plugin-json": "^4.1.0", "@types/express": "^4.17.13", "@types/mocha": "^9.1.1", "@types/mochawesome": "^6.2.1", - "@types/node": "^16.11.36", + "@types/node": "^18.0.0", "@types/proper-lockfile": "^4.1.2", "@types/tar": "^6.1.1", "@types/uuid": "^8.3.4", "@types/ws": "^8.5.3", - "@typescript-eslint/eslint-plugin": "^5.27.0", - "@typescript-eslint/parser": "^5.27.0", + "@typescript-eslint/eslint-plugin": "^5.30.3", + "@typescript-eslint/parser": "^5.30.3", "auto-changelog": "^2.4.0", "clinic": "^11.1.0", "cross-env": "^7.0.3", - "eslint": "^8.16.0", + "eslint": "^8.18.0", "eslint-config-prettier": "^8.5.0", + "eslint-import-resolver-typescript": "^3.1.4", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.3.2", + "eslint-plugin-jsdoc": "^39.3.3", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^4.0.0", - "expect": "^28.1.0", + "eslint-plugin-prettier": "^4.2.1", + "expect": "^28.1.1", "husky": "^8.0.1", - "lint-staged": "^13.0.0", + "lint-staged": "^13.0.3", "mocha": "^10.0.0", "mochawesome": "^7.1.3", "nyc": "^15.1.0", - "prettier": "^2.6.2", - "release-it": "^15.0.0", + "prettier": "^2.7.1", + "release-it": "^15.1.1", "robohydra": "^0.6.9", - "rollup": "^2.75.4", + "rollup": "^2.75.7", "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-ts": "^3.0.1", - "ts-node": "^10.8.0", - "typescript": "^4.7.2" + "rollup-plugin-ts": "^3.0.2", + "ts-node": "^10.8.1", + "typescript": "^4.7.4" } }