| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/package", |
| 3 | "name": "e-mobility-charging-stations-simulator", |
| 4 | "version": "1.2.28", |
| 5 | "engines": { |
| 6 | "node": ">=18.18.0", |
| 7 | "pnpm": ">=8.6.0" |
| 8 | }, |
| 9 | "volta": { |
| 10 | "node": "20.10.0", |
| 11 | "pnpm": "8.11.0" |
| 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.js || npx --yes only-allow pnpm", |
| 57 | "prepare": "node prepare.js", |
| 58 | "build-requirements": "node --no-warnings build-requirements.js", |
| 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 --enable-source-maps dist/start.js", |
| 61 | "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js", |
| 62 | "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js", |
| 63 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js", |
| 64 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js", |
| 65 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js", |
| 66 | "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js", |
| 67 | "esbuild": "pnpm build-requirements && node bundle.js", |
| 68 | "build": "pnpm esbuild", |
| 69 | "build:dev": "cross-env BUILD=development pnpm esbuild", |
| 70 | "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build", |
| 71 | "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev", |
| 72 | "clean:dist": "npx rimraf dist", |
| 73 | "clean:node_modules": "npx rimraf node_modules", |
| 74 | "lint": "cross-env TIMING=1 eslint --cache src", |
| 75 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix src", |
| 76 | "format": "prettier --cache --write .", |
| 77 | "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"", |
| 78 | "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"", |
| 79 | "coverage": "c8 report --reporter=lcov", |
| 80 | "coverage:html": "c8 report --reporter=html", |
| 81 | "clinic:clean": "clinic clean", |
| 82 | "release": "release-it" |
| 83 | }, |
| 84 | "pnpm": { |
| 85 | "overrides": { |
| 86 | "cacheable-request": "^10.2.10", |
| 87 | "d3-color": "^3.1.0", |
| 88 | "ejs": "^3.1.9", |
| 89 | "got": "^12.6.1", |
| 90 | "semver": "^7.5.3", |
| 91 | "uuid": "^9.0.0", |
| 92 | "tough-cookie": "^4.1.3" |
| 93 | } |
| 94 | }, |
| 95 | "dependencies": { |
| 96 | "@mikro-orm/core": "^5.9.4", |
| 97 | "@mikro-orm/mariadb": "^5.9.4", |
| 98 | "@mikro-orm/reflection": "^5.9.4", |
| 99 | "@mikro-orm/sqlite": "^5.9.4", |
| 100 | "ajv": "^8.12.0", |
| 101 | "ajv-formats": "^2.1.1", |
| 102 | "basic-ftp": "^5.0.3", |
| 103 | "chalk": "^5.3.0", |
| 104 | "date-fns": "3.0.0-rc.2", |
| 105 | "http-status-codes": "^2.3.0", |
| 106 | "just-merge": "^3.2.0", |
| 107 | "logform": "^2.6.0", |
| 108 | "mnemonist": "^0.39.5", |
| 109 | "mongodb": "^6.3.0", |
| 110 | "poolifier": "^3.0.9", |
| 111 | "tar": "^6.2.0", |
| 112 | "tslib": "^2.6.2", |
| 113 | "winston": "^3.11.0", |
| 114 | "winston-daily-rotate-file": "^4.7.1", |
| 115 | "ws": "^8.14.2" |
| 116 | }, |
| 117 | "optionalDependencies": { |
| 118 | "bufferutil": "^4.0.8", |
| 119 | "utf-8-validate": "^6.0.3" |
| 120 | }, |
| 121 | "devDependencies": { |
| 122 | "@commitlint/cli": "^18.4.3", |
| 123 | "@commitlint/config-conventional": "^18.4.3", |
| 124 | "@mikro-orm/cli": "^5.9.4", |
| 125 | "@release-it/bumper": "^6.0.1", |
| 126 | "@types/node": "^20.10.3", |
| 127 | "@types/tar": "^6.1.10", |
| 128 | "@types/ws": "^8.5.10", |
| 129 | "@typescript-eslint/eslint-plugin": "^6.13.2", |
| 130 | "@typescript-eslint/parser": "^6.13.2", |
| 131 | "auto-changelog": "^2.4.0", |
| 132 | "c8": "^8.0.1", |
| 133 | "clinic": "^13.0.0", |
| 134 | "cross-env": "^7.0.3", |
| 135 | "esbuild": "^0.19.8", |
| 136 | "esbuild-plugin-clean": "^1.0.1", |
| 137 | "esbuild-plugin-copy": "^2.1.1", |
| 138 | "eslint": "^8.55.0", |
| 139 | "eslint-config-prettier": "^9.1.0", |
| 140 | "eslint-import-resolver-typescript": "^3.6.1", |
| 141 | "eslint-plugin-import": "^2.29.0", |
| 142 | "eslint-plugin-jsdoc": "^46.9.0", |
| 143 | "eslint-plugin-n": "^16.3.1", |
| 144 | "eslint-plugin-prettier": "^5.0.1", |
| 145 | "eslint-plugin-tsdoc": "^0.2.17", |
| 146 | "expect": "^29.7.0", |
| 147 | "glob": "^10.3.10", |
| 148 | "husky": "^8.0.3", |
| 149 | "lint-staged": "^15.2.0", |
| 150 | "prettier": "^3.1.0", |
| 151 | "release-it": "^17.0.0", |
| 152 | "rimraf": "^5.0.5", |
| 153 | "semver": "^7.5.4", |
| 154 | "tsx": "^4.6.2", |
| 155 | "typescript": "~5.3.2" |
| 156 | } |
| 157 | } |