| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- {
- "$schema": "https://json.schemastore.org/package",
- "name": "e-mobility-charging-stations-simulator",
- "version": "2.0.3",
- "engines": {
- "node": ">=20.0.0",
- "pnpm": ">=9.0.0"
- },
- "volta": {
- "node": "22.14.0",
- "pnpm": "10.7.0"
- },
- "packageManager": "pnpm@10.7.0",
- "repository": {
- "type": "git",
- "url": "https://github.com/sap/e-mobility-charging-stations-simulator.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",
- "email": "jerome.benoit@piment-noir.org",
- "url": "https://github.com/jerome-benoit"
- }
- ],
- "license": "Apache-2.0",
- "licenses": [
- {
- "type": "Apache-2.0",
- "url": "http://www.apache.org/licenses/LICENSE-2.0"
- }
- ],
- "type": "module",
- "exports": "./dist/start.js",
- "mikro-orm": {
- "tsConfigPath": "./tsconfig-mikro-orm.json",
- "useTsNode": true
- },
- "scripts": {
- "prepare": "node scripts/prepare.js",
- "build-requirements": "node scripts/build-requirements.js",
- "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
- "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
- "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
- "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
- "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
- "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
- "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
- "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
- "esbuild": "pnpm build-requirements && node scripts/bundle.js",
- "build": "pnpm esbuild",
- "build:dev": "cross-env BUILD=development pnpm esbuild",
- "build:cf": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
- "build:cf:dev": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
- "build:entities": "tsc -p tsconfig-mikro-orm.json",
- "clean:dist": "pnpm exec rimraf dist",
- "clean:node_modules": "pnpm exec rimraf node_modules",
- "lint": "cross-env TIMING=1 eslint --cache src tests scripts ./*.js ./*.ts",
- "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests scripts ./*.js ./*.ts",
- "format": "prettier --cache --write .; eslint --cache --fix src tests scripts ./*.js ./*.ts",
- "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
- "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
- "coverage": "c8 report --reporter=lcov",
- "coverage:html": "c8 report --reporter=html",
- "clinic:clean": "clinic clean",
- "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && pnpm dlx ncp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 && pnpm exec rimraf ./dist/evse-simulator.blob"
- },
- "pnpm": {
- "overrides": {
- "cacheable-request": "^10.2.10",
- "d3-color": "^3.1.0",
- "ejs": "^3.1.9",
- "got": "^12.6.1",
- "nanoid": "^3.3.8",
- "semver": "^7.5.3",
- "tough-cookie": "^4.1.3",
- "uuid": "^9.0.0"
- }
- },
- "dependencies": {
- "@mikro-orm/core": "^6.4.11",
- "@mikro-orm/mariadb": "^6.4.11",
- "@mikro-orm/reflection": "^6.4.11",
- "@mikro-orm/sqlite": "^6.4.11",
- "ajv": "^8.17.1",
- "ajv-formats": "^3.0.1",
- "basic-ftp": "^5.0.5",
- "chalk": "^5.4.1",
- "date-fns": "^4.1.0",
- "http-status-codes": "^2.3.0",
- "logform": "^2.7.0",
- "mnemonist": "0.40.3",
- "mongodb": "^6.15.0",
- "poolifier": "^4.4.5",
- "rambda": "^9.4.2",
- "tar": "^7.4.3",
- "winston": "^3.17.0",
- "winston-daily-rotate-file": "^5.0.0",
- "ws": "^8.18.1"
- },
- "optionalDependencies": {
- "bufferutil": "^4.0.9",
- "utf-8-validate": "^6.0.5"
- },
- "devDependencies": {
- "@commitlint/cli": "^19.8.0",
- "@commitlint/config-conventional": "^19.8.0",
- "@cspell/eslint-plugin": "^8.18.0",
- "@eslint/js": "^9.23.0",
- "@mikro-orm/cli": "^6.4.11",
- "@std/expect": "npm:@jsr/std__expect@^1.0.14",
- "@types/node": "^22.13.14",
- "@types/semver": "^7.7.0",
- "@types/ws": "^8.18.0",
- "c8": "^10.1.3",
- "clinic": "^13.0.0",
- "cross-env": "^7.0.3",
- "esbuild": "^0.25.1",
- "esbuild-plugin-clean": "^1.0.1",
- "esbuild-plugin-copy": "^2.1.1",
- "eslint": "^9.23.0",
- "eslint-plugin-jsdoc": "^50.6.9",
- "eslint-plugin-perfectionist": "^4.10.1",
- "eslint-plugin-vue": "^9.33.0",
- "glob": "^11.0.1",
- "husky": "^9.1.7",
- "lint-staged": "^15.5.0",
- "neostandard": "^0.12.1",
- "prettier": "^3.5.3",
- "rimraf": "^6.0.1",
- "semver": "^7.7.1",
- "ts-node": "^10.9.2",
- "tsx": "^4.19.3",
- "typescript": "~5.8.2"
- }
- }
|