{
"name": "ev-simulator",
- "version": "1.0.0",
+ "version": "1.0.40",
"engines": {
"node": "14.x.x",
"npm": "6.x.x"
},
"repository": {
"type": "git",
- "url": "https://github.com/LucasBrazi06/ev-simulator.git"
+ "url": "https://github.com/jerome-benoit/ev-simulator.git"
},
"description": "Electric Vehicle charging stations simulator",
"author": "SAP E-Mobility Labs France <e-mobility@sap.com>",
+ "contributors": [
+ {
+ "name": "Jérôme Benoit",
+ "email": "jerome.benoit@piment-noir.org",
+ "url": "https://github.com/jerome-benoit"
+ }
+ ],
"license": "Apache-2.0",
"licenses": [
{
}
],
"main": "dist/start.js",
+ "auto-changelog": {
+ "commitUrl": "https://github.com/jerome-benoit/ev-simulator/commit/{id}",
+ "issueUrl": "https://github.com/jerome-benoit/ev-simulator/issues/{id}",
+ "mergeUrl": "https://github.com/jerome-benoit/ev-simulator/pull/{id}",
+ "compareUrl": "https://github.com/jerome-benoit/ev-simulator/compare/{from}...{to}"
+ },
"scripts": {
"prestart": "npm run build",
"start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
"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",
+ "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
+ "coverage": "nyc report --reporter=lcov",
+ "coverage:html": "nyc report --reporter=html",
"clinic:clean": "clinic clean",
"npm-check": "npm-check",
+ "robohydra": "robohydra test/robohydra/config.json",
"git:sinit": "git submodule update --init --recursive --force",
"git:sdiff": "git diff && git submodule foreach 'git diff'",
"git:supdate": "git submodule update --remote --recursive --merge",
- "git:spush": "git push --recurse-submodules=on-demand"
+ "git:spush": "git push --recurse-submodules=on-demand",
+ "release": "release-it"
},
"dependencies": {
- "mongodb": "^3.6.5",
- "poolifier": "^2.0.1",
+ "basic-ftp": "^4.6.6",
+ "mongodb": "^4.1.0",
+ "poolifier": "^2.0.2",
"source-map-support": "^0.5.19",
- "tslib": "^2.1.0",
+ "tar": "^6.1.10",
+ "tslib": "^2.3.1",
"uuid": "^8.3.2",
"winston": "^3.3.3",
- "winston-daily-rotate-file": "^4.5.1",
- "ws": "^7.4.4"
+ "winston-daily-rotate-file": "^4.5.5",
+ "ws": "^8.2.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.3",
- "utf-8-validate": "^5.0.4"
+ "utf-8-validate": "^5.0.5"
},
"devDependencies": {
- "@types/node": "^14.14.36",
- "@types/uuid": "^8.3.0",
- "@types/ws": "^7.4.0",
- "@typescript-eslint/eslint-plugin": "^4.19.0",
- "@typescript-eslint/parser": "^4.19.0",
- "clinic": "^8.0.1",
+ "@istanbuljs/nyc-config-typescript": "^1.0.1",
+ "@rollup/plugin-json": "^4.1.0",
+ "@types/mocha": "^9.0.0",
+ "@types/mochawesome": "^6.2.1",
+ "@types/node": "^14.17.11",
+ "@types/tar": "^4.0.5",
+ "@types/uuid": "^8.3.1",
+ "@types/ws": "^7.4.7",
+ "@typescript-eslint/eslint-plugin": "^4.29.3",
+ "@typescript-eslint/parser": "^4.29.3",
+ "auto-changelog": "^2.3.0",
+ "clinic": "^9.0.0",
"cross-env": "^7.0.3",
- "eslint": "^7.22.0",
- "eslint-plugin-jsdoc": "^32.3.0",
- "mbt": "^1.1.1",
+ "eslint": "^7.32.0",
+ "eslint-plugin-import": "^2.24.1",
+ "eslint-plugin-jsdoc": "^36.0.7",
+ "eslint-plugin-node": "^11.1.0",
+ "expect": "^27.0.6",
+ "mbt": "^1.2.3",
+ "mocha": "^9.1.0",
+ "mochawesome": "^6.2.2",
"npm-check": "^5.9.2",
- "rollup": "^2.42.4",
+ "nyc": "^15.1.0",
+ "release-it": "^14.11.5",
+ "robohydra": "^0.6.9",
+ "rollup": "^2.56.3",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
+ "rollup-plugin-istanbul": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
- "typescript": "^4.2.3"
+ "ts-node": "^10.2.1",
+ "typescript": "^4.3.5"
}
}