"name": "ev-simulator",
"version": "1.0.0",
"engines": {
- "node": "14.x.x"
+ "node": "14.x.x",
+ "npm": "6.x.x"
},
"repository": {
"type": "git",
- "url": "https://github.com/LucasBrazi06/ev-simulator.git"
+ "url": "https://github.com/sap-labs-france/ev-simulator.git"
},
"description": "Electric Vehicle charging stations simulator",
"author": "SAP E-Mobility Labs France <e-mobility@sap.com>",
"main": "dist/start.js",
"scripts": {
"prestart": "npm run build",
- "start": "node -r source-map-support/register dist/start.js",
- "start:dev": "ts-node-dev -- src/start.ts",
- "start:dev:debug": "ts-node-dev --inspect -- src/start.ts",
- "start:debug": "node -r source-map-support/register --inspect dist/start.js",
- "start:prof": "node -r source-map-support/register --prof dist/start.js",
- "start:doctorprof": "clinic doctor -- node -r source-map-support/register dist/start.js",
- "start:flameprof": "clinic flame -- node -r source-map-support/register dist/start.js",
- "start:bubbleprof": "clinic bubbleprof -- node -r source-map-support/register dist/start.js",
- "grunt": "grunt",
- "build": "npm run build:prod",
- "build:prod": "npm run grunt",
- "build:dev": "npm run grunt -- ts:dev",
- "build:clean": "rimraf ./dist",
+ "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/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",
+ "rollup": "rollup --config",
+ "build": "npm run rollup",
+ "build:dev": "npm run rollup -- --environment BUILD:development",
+ "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
+ "build:mta": "mbt build",
"lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
"lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
+ "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
"tsc": "tsc",
"test": "echo \"Error: no tests implemented\" && exit 1",
"clinic:clean": "clinic clean",
"npm-check": "npm-check",
+ "git:sinit": "git submodule update --init --recursive --force",
"git:sdiff": "git diff && git submodule foreach 'git diff'",
- "git:supdate": "git submodule update --remote --merge",
+ "git:supdate": "git submodule update --remote --recursive --merge",
"git:spush": "git push --recurse-submodules=on-demand"
},
"dependencies": {
+ "mongodb": "^3.6.6",
+ "poolifier": "^2.0.1",
"source-map-support": "^0.5.19",
- "tslib": "^2.0.3",
- "uuid": "^8.3.1",
+ "tslib": "^2.2.0",
+ "uuid": "^8.3.2",
"winston": "^3.3.3",
- "winston-daily-rotate-file": "^4.5.0",
- "worker-threads-pool": "^2.0.0",
- "ws": "^7.4.0"
+ "winston-daily-rotate-file": "^4.5.4",
+ "ws": "^7.4.5"
},
"optionalDependencies": {
- "bufferutil": "^4.0.2",
- "utf-8-validate": "^5.0.3"
+ "bufferutil": "^4.0.3",
+ "utf-8-validate": "^5.0.5"
},
"devDependencies": {
- "@types/node": "^14.14.10",
+ "@types/node": "^14.14.44",
"@types/uuid": "^8.3.0",
- "@types/worker-threads-pool": "^2.0.0",
- "@types/ws": "^7.4.0",
- "@typescript-eslint/eslint-plugin": "^4.9.0",
- "@typescript-eslint/parser": "^4.9.0",
+ "@types/ws": "^7.4.2",
+ "@typescript-eslint/eslint-plugin": "^4.22.1",
+ "@typescript-eslint/parser": "^4.22.1",
"clinic": "^8.0.1",
- "cross-env": "^7.0.2",
- "eslint": "^7.14.0",
- "grunt": "^1.3.0",
- "grunt-ts": "^6.0.0-beta.22",
+ "cross-env": "^7.0.3",
+ "eslint": "^7.25.0",
+ "eslint-plugin-import": "^2.22.1",
+ "eslint-plugin-jsdoc": "^33.1.0",
+ "mbt": "^1.1.1",
"npm-check": "^5.9.2",
- "rimraf": "^3.0.2",
- "ts-node-dev": "^1.0.0",
- "typescript": "^4.1.2"
+ "rollup": "^2.47.0",
+ "rollup-plugin-analyzer": "^4.0.0",
+ "rollup-plugin-copy": "^3.4.0",
+ "rollup-plugin-delete": "^2.0.0",
+ "rollup-plugin-terser": "^7.0.2",
+ "rollup-plugin-typescript2": "^0.30.0",
+ "typescript": "^4.2.4"
}
}