X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=b216d8fd62e9495240e861358a62fb0f98b72f23;hb=1555eb1d6c370f21be2218166895a451eb23aa19;hp=4cd71187312fd53b20f12393f7c5efd0cc21af60;hpb=7f774a554aa1ac13c597acb227063cb941eec468;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 4cd71187..b216d8fd 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" } ], - "main": "./dist/start.js", + "main": "./dist/start.cjs", "lint-staged": { "src/**/*.{js,ts}": [ "prettier --write", @@ -45,16 +45,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", @@ -83,7 +84,7 @@ "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", "poolifier": "^2.2.0", @@ -107,7 +108,7 @@ "@types/express": "^4.17.13", "@types/mocha": "^9.1.1", "@types/mochawesome": "^6.2.1", - "@types/node": "^16.11.36", + "@types/node": "^16.11.38", "@types/proper-lockfile": "^4.1.2", "@types/tar": "^6.1.1", "@types/uuid": "^8.3.4", @@ -117,7 +118,7 @@ "auto-changelog": "^2.4.0", "clinic": "^11.1.0", "cross-env": "^7.0.3", - "eslint": "^8.16.0", + "eslint": "^8.17.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^39.3.2", @@ -132,14 +133,14 @@ "prettier": "^2.6.2", "release-it": "^15.0.0", "robohydra": "^0.6.9", - "rollup": "^2.75.4", + "rollup": "^2.75.5", "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" + "ts-node": "^10.8.1", + "typescript": "^4.7.3" } }