{
+ "$schema": "https://json.schemastore.org/package",
"name": "e-mobility-charging-stations-simulator",
- "version": "1.2.10",
+ "version": "1.2.20",
"engines": {
- "node": ">=16.9.0",
- "pnpm": ">= 8.0.0"
+ "node": ">=16.14.0",
+ "pnpm": ">=8.6.0"
},
"volta": {
- "node": "20.0.0"
+ "node": "20.5.1",
+ "pnpm": "8.7.1"
},
"repository": {
"type": "git",
},
"description": "Electric vehicle charging stations simulator",
"author": "SAP E-Mobility <e-mobility@sap.com>",
+ "keywords": [
+ "ocpp",
+ "ocpp-j",
+ "ocpp1.6",
+ "ocpp2.0",
+ "charging station",
+ "load testing"
+ ],
"contributors": [
{
"name": "Jérôme Benoit",
],
"type": "module",
"exports": [
- "./dist/start.mjs"
+ "./dist/start.js"
],
"auto-changelog": {
"commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
"preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
"prepare": "node prepare.cjs",
"build-requirements": "node --no-warnings build-requirements.mjs",
- "start": "pnpm build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.mjs",
- "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs",
- "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.mjs",
- "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.mjs",
- "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.mjs",
- "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.mjs",
- "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.mjs",
- "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.mjs",
+ "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
+ "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
+ "start:dev:debug": "pnpm 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",
"rollup": "pnpm build-requirements && rollup --config",
"build": "pnpm rollup",
"build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
- "build:dev": "pnpm rollup -- --environment BUILD:development",
- "build:dev:watch": "pnpm rollup -- --environment BUILD:development --watch",
+ "build:dev": "pnpm rollup --environment BUILD:development",
+ "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development",
+ "build:dev:watch": "pnpm rollup --environment BUILD:development --watch",
"clean:dist": "npx rimraf dist",
"clean:node_modules": "npx rimraf node_modules",
- "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src",
- "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src",
+ "lint": "cross-env TIMING=1 eslint --cache src",
+ "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
"format": "prettier --cache --write .",
- "test": "c8 mocha test/**/*Test.ts",
- "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts",
+ "test": "c8 mocha test/**/*.test.ts",
+ "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts",
"coverage": "c8 report --reporter=lcov",
"coverage:html": "c8 report --reporter=html",
"clinic:clean": "clinic clean",
"git:spush": "git push --recurse-submodules=on-demand",
"release": "release-it"
},
- "overrides": {
- "cacheable-request": "^10.2.7",
- "d3-color": "^3.1.0"
+ "pnpm": {
+ "overrides": {
+ "cacheable-request": "^10.2.10",
+ "d3-color": "^3.1.0",
+ "ejs": "^3.1.9",
+ "got": "^12.6.1",
+ "semver": "^7.5.3",
+ "tough-cookie": "^4.1.3"
+ }
},
"dependencies": {
- "@mikro-orm/core": "^5.6.16",
- "@mikro-orm/mariadb": "^5.6.16",
- "@mikro-orm/reflection": "^5.6.16",
- "@mikro-orm/sqlite": "^5.6.16",
+ "@mikro-orm/core": "^5.7.14",
+ "@mikro-orm/mariadb": "^5.7.14",
+ "@mikro-orm/reflection": "^5.7.14",
+ "@mikro-orm/sqlite": "^5.7.14",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
- "basic-ftp": "^5.0.2",
- "chalk": "^5.2.0",
+ "basic-ftp": "^5.0.3",
+ "chalk": "^5.3.0",
+ "date-fns": "^2.30.0",
+ "deep-clone": "^4.0.0",
"http-status-codes": "^2.2.0",
- "just-clone": "^6.2.0",
"just-merge": "^3.2.0",
"logform": "^2.5.1",
"mnemonist": "^0.39.5",
- "moment": "^2.29.4",
- "mongodb": "^5.3.0",
- "poolifier": "^2.4.10",
- "proper-lockfile": "^4.1.2",
+ "mongodb": "^6.0.0",
+ "poolifier": "^2.6.37",
"source-map-support": "^0.5.21",
- "tar": "^6.1.13",
- "tslib": "^2.5.0",
- "winston": "^3.8.2",
+ "tar": "^6.1.15",
+ "tslib": "^2.6.2",
+ "winston": "^3.10.0",
"winston-daily-rotate-file": "^4.7.1",
"ws": "^8.13.0"
},
"utf-8-validate": "^6.0.3"
},
"devDependencies": {
- "@commitlint/cli": "^17.6.1",
- "@commitlint/config-conventional": "^17.6.1",
- "@mikro-orm/cli": "^5.6.16",
- "@release-it/bumper": "^4.0.2",
+ "@commitlint/cli": "^17.7.1",
+ "@commitlint/config-conventional": "^17.7.0",
+ "@mikro-orm/cli": "^5.7.14",
+ "@release-it/bumper": "^5.1.0",
"@rollup/plugin-json": "^6.0.0",
- "@rollup/plugin-terser": "^0.4.1",
- "@rollup/plugin-typescript": "^11.1.0",
+ "@rollup/plugin-terser": "^0.4.3",
+ "@rollup/plugin-typescript": "^11.1.3",
"@types/mocha": "^10.0.1",
"@types/mochawesome": "^6.2.1",
- "@types/node": "^18.15.13",
- "@types/proper-lockfile": "^4.1.2",
- "@types/sinon": "^10.0.14",
- "@types/tar": "^6.1.4",
- "@types/ws": "^8.5.4",
- "@typescript-eslint/eslint-plugin": "^5.59.0",
- "@typescript-eslint/parser": "^5.59.0",
+ "@types/node": "^20.5.7",
+ "@types/sinon": "^10.0.16",
+ "@types/tar": "^6.1.5",
+ "@types/ws": "^8.5.5",
+ "@typescript-eslint/eslint-plugin": "^6.5.0",
+ "@typescript-eslint/parser": "^6.5.0",
+ "@web/rollup-plugin-copy": "^0.4.0",
"auto-changelog": "^2.4.0",
- "c8": "^7.13.0",
- "clinic": "^12.1.0",
+ "c8": "^8.0.1",
+ "clinic": "^13.0.0",
"cross-env": "^7.0.3",
- "eslint": "^8.39.0",
- "eslint-config-prettier": "^8.8.0",
- "eslint-import-resolver-typescript": "^3.5.5",
- "eslint-plugin-import": "^2.27.5",
- "eslint-plugin-jsdoc": "^43.0.7",
- "eslint-plugin-n": "^15.7.0",
- "eslint-plugin-prettier": "^4.2.1",
+ "eslint": "^8.48.0",
+ "eslint-config-prettier": "^9.0.0",
+ "eslint-import-resolver-typescript": "^3.6.0",
+ "eslint-plugin-import": "^2.28.1",
+ "eslint-plugin-jsdoc": "^46.5.0",
+ "eslint-plugin-n": "^16.0.2",
+ "eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
- "expect": "^29.5.0",
+ "expect": "^29.6.4",
"husky": "^8.0.3",
- "lint-staged": "^13.2.1",
+ "lint-staged": "^14.0.1",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
- "prettier": "^2.8.7",
- "release-it": "^15.10.1",
- "rimraf": "^5.0.0",
+ "prettier": "^3.0.3",
+ "release-it": "^16.1.5",
+ "rimraf": "^5.0.1",
"robohydra": "^0.6.9",
- "rollup": "^3.20.7",
+ "rollup": "^3.28.1",
"rollup-plugin-analyzer": "^4.0.0",
- "rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
- "semver": "^7.5.0",
- "sinon": "^15.0.4",
+ "semver": "^7.5.4",
+ "sinon": "^15.2.0",
"ts-node": "^10.9.1",
- "typescript": "^5.0.4"
+ "typescript": "~5.2.2"
}
}