| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "e-mobility-charging-stations-simulator", |
| 4 | "version": "1.2.20", |
| 5 | "engines": { |
| 6 | "node": ">=16.14.0", |
| 7 | "pnpm": ">=8.6.0" |
| 8 | }, |
| 9 | "volta": { |
| 10 | "node": "20.5.1", |
| 11 | "pnpm": "8.7.1" |
| 12 | }, |
| 13 | "repository": { |
| 14 | "type": "git", |
| 15 | "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" |
| 16 | }, |
| 17 | "description": "Electric vehicle charging stations simulator", |
| 18 | "author": "SAP E-Mobility <e-mobility@sap.com>", |
| 19 | "keywords": [ |
| 20 | "ocpp", |
| 21 | "ocpp-j", |
| 22 | "ocpp1.6", |
| 23 | "ocpp2.0", |
| 24 | "charging station", |
| 25 | "load testing" |
| 26 | ], |
| 27 | "contributors": [ |
| 28 | { |
| 29 | "name": "Jérôme Benoit", |
| 30 | "email": "jerome.benoit@piment-noir.org", |
| 31 | "url": "https://github.com/jerome-benoit" |
| 32 | } |
| 33 | ], |
| 34 | "license": "Apache-2.0", |
| 35 | "licenses": [ |
| 36 | { |
| 37 | "type": "Apache-2.0", |
| 38 | "url": "http://www.apache.org/licenses/LICENSE-2.0" |
| 39 | } |
| 40 | ], |
| 41 | "type": "module", |
| 42 | "exports": [ |
| 43 | "./dist/start.js" |
| 44 | ], |
| 45 | "auto-changelog": { |
| 46 | "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", |
| 47 | "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", |
| 48 | "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}", |
| 49 | "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" |
| 50 | }, |
| 51 | "mikro-orm": { |
| 52 | "tsConfigPath": "./tsconfig-orm.json", |
| 53 | "useTsNode": true |
| 54 | }, |
| 55 | "scripts": { |
| 56 | "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm", |
| 57 | "prepare": "node prepare.cjs", |
| 58 | "build-requirements": "node --no-warnings build-requirements.mjs", |
| 59 | "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js", |
| 60 | "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", |
| 61 | "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", |
| 62 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", |
| 63 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", |
| 64 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", |
| 65 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", |
| 66 | "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js", |
| 67 | "rollup": "pnpm build-requirements && rollup --config", |
| 68 | "build": "pnpm rollup", |
| 69 | "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup", |
| 70 | "build:dev": "pnpm rollup --environment BUILD:development", |
| 71 | "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development", |
| 72 | "build:dev:watch": "pnpm rollup --environment BUILD:development --watch", |
| 73 | "clean:dist": "npx rimraf dist", |
| 74 | "clean:node_modules": "npx rimraf node_modules", |
| 75 | "lint": "cross-env TIMING=1 eslint --cache src", |
| 76 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix src", |
| 77 | "format": "prettier --cache --write .", |
| 78 | "test": "c8 mocha test/**/*.test.ts", |
| 79 | "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts", |
| 80 | "coverage": "c8 report --reporter=lcov", |
| 81 | "coverage:html": "c8 report --reporter=html", |
| 82 | "clinic:clean": "clinic clean", |
| 83 | "robohydra": "robohydra test/robohydra/config.json", |
| 84 | "git:sinit": "git submodule update --init --recursive --force", |
| 85 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
| 86 | "git:supdate": "git submodule update --remote --recursive --merge", |
| 87 | "git:spush": "git push --recurse-submodules=on-demand", |
| 88 | "release": "release-it" |
| 89 | }, |
| 90 | "pnpm": { |
| 91 | "overrides": { |
| 92 | "cacheable-request": "^10.2.10", |
| 93 | "d3-color": "^3.1.0", |
| 94 | "ejs": "^3.1.9", |
| 95 | "got": "^12.6.1", |
| 96 | "semver": "^7.5.3", |
| 97 | "tough-cookie": "^4.1.3" |
| 98 | } |
| 99 | }, |
| 100 | "dependencies": { |
| 101 | "@mikro-orm/core": "^5.7.14", |
| 102 | "@mikro-orm/mariadb": "^5.7.14", |
| 103 | "@mikro-orm/reflection": "^5.7.14", |
| 104 | "@mikro-orm/sqlite": "^5.7.14", |
| 105 | "ajv": "^8.12.0", |
| 106 | "ajv-formats": "^2.1.1", |
| 107 | "basic-ftp": "^5.0.3", |
| 108 | "chalk": "^5.3.0", |
| 109 | "date-fns": "^2.30.0", |
| 110 | "deep-clone": "^4.0.0", |
| 111 | "http-status-codes": "^2.2.0", |
| 112 | "just-merge": "^3.2.0", |
| 113 | "logform": "^2.5.1", |
| 114 | "mnemonist": "^0.39.5", |
| 115 | "mongodb": "^6.0.0", |
| 116 | "poolifier": "^2.6.40", |
| 117 | "source-map-support": "^0.5.21", |
| 118 | "tar": "^6.1.15", |
| 119 | "tslib": "^2.6.2", |
| 120 | "winston": "^3.10.0", |
| 121 | "winston-daily-rotate-file": "^4.7.1", |
| 122 | "ws": "^8.13.0" |
| 123 | }, |
| 124 | "optionalDependencies": { |
| 125 | "bufferutil": "^4.0.7", |
| 126 | "utf-8-validate": "^6.0.3" |
| 127 | }, |
| 128 | "devDependencies": { |
| 129 | "@commitlint/cli": "^17.7.1", |
| 130 | "@commitlint/config-conventional": "^17.7.0", |
| 131 | "@mikro-orm/cli": "^5.7.14", |
| 132 | "@release-it/bumper": "^5.1.0", |
| 133 | "@rollup/plugin-json": "^6.0.0", |
| 134 | "@rollup/plugin-terser": "^0.4.3", |
| 135 | "@rollup/plugin-typescript": "^11.1.3", |
| 136 | "@types/mocha": "^10.0.1", |
| 137 | "@types/mochawesome": "^6.2.1", |
| 138 | "@types/node": "^20.5.7", |
| 139 | "@types/sinon": "^10.0.16", |
| 140 | "@types/tar": "^6.1.5", |
| 141 | "@types/ws": "^8.5.5", |
| 142 | "@typescript-eslint/eslint-plugin": "^6.5.0", |
| 143 | "@typescript-eslint/parser": "^6.5.0", |
| 144 | "@web/rollup-plugin-copy": "^0.4.0", |
| 145 | "auto-changelog": "^2.4.0", |
| 146 | "c8": "^8.0.1", |
| 147 | "clinic": "^13.0.0", |
| 148 | "cross-env": "^7.0.3", |
| 149 | "eslint": "^8.48.0", |
| 150 | "eslint-config-prettier": "^9.0.0", |
| 151 | "eslint-import-resolver-typescript": "^3.6.0", |
| 152 | "eslint-plugin-import": "^2.28.1", |
| 153 | "eslint-plugin-jsdoc": "^46.5.1", |
| 154 | "eslint-plugin-n": "^16.0.2", |
| 155 | "eslint-plugin-prettier": "^5.0.0", |
| 156 | "eslint-plugin-tsdoc": "^0.2.17", |
| 157 | "expect": "^29.6.4", |
| 158 | "husky": "^8.0.3", |
| 159 | "lint-staged": "^14.0.1", |
| 160 | "mocha": "^10.2.0", |
| 161 | "mochawesome": "^7.1.3", |
| 162 | "prettier": "^3.0.3", |
| 163 | "release-it": "^16.1.5", |
| 164 | "rimraf": "^5.0.1", |
| 165 | "robohydra": "^0.6.9", |
| 166 | "rollup": "^3.28.1", |
| 167 | "rollup-plugin-analyzer": "^4.0.0", |
| 168 | "rollup-plugin-delete": "^2.0.0", |
| 169 | "semver": "^7.5.4", |
| 170 | "sinon": "^15.2.0", |
| 171 | "ts-node": "^10.9.1", |
| 172 | "typescript": "~5.2.2" |
| 173 | } |
| 174 | } |