X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=c16520c18034b47e2f7477f1130caad532559aa5;hb=9ccca265277990663dad8ad0573b7c283e221c6f;hp=43de0bdba382a89c27962d7bfe2c5db39e4eb104;hpb=47d9359924e4b909f8092e78e139ed224105698d;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 43de0bdb..c16520c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ev-simulator", - "version": "1.0.0", + "version": "1.0.19", "engines": { "node": "14.x.x", "npm": "6.x.x" @@ -19,6 +19,12 @@ } ], "main": "dist/start.js", + "auto-changelog": { + "commitUrl": "https://github.com/sap-labs-france/ev-simulator/commit/{id}", + "issueUrl": "https://github.com/sap-labs-france/ev-simulator/issues/{id}", + "mergeUrl": "https://github.com/sap-labs-france/ev-simulator/pull/{id}", + "compareUrl": "https://github.com/sap-labs-france/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", @@ -38,47 +44,64 @@ "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", + "pretest": "npm run build:dev", + "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", "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.6", - "poolifier": "^2.0.1", + "mongodb": "^3.6.9", + "poolifier": "^2.0.2", "source-map-support": "^0.5.19", - "tslib": "^2.2.0", + "tslib": "^2.3.0", "uuid": "^8.3.2", "winston": "^3.3.3", - "winston-daily-rotate-file": "^4.5.2", - "ws": "^7.4.4" + "winston-daily-rotate-file": "^4.5.5", + "ws": "^7.5.0" }, "optionalDependencies": { "bufferutil": "^4.0.3", - "utf-8-validate": "^5.0.4" + "utf-8-validate": "^5.0.5" }, "devDependencies": { - "@types/node": "^14.14.41", + "@istanbuljs/nyc-config-typescript": "^1.0.1", + "@rollup/plugin-json": "^4.1.0", + "@types/mocha": "^8.2.2", + "@types/mochawesome": "^6.2.0", + "@types/node": "^14.17.3", "@types/uuid": "^8.3.0", - "@types/ws": "^7.4.1", - "@typescript-eslint/eslint-plugin": "^4.22.0", - "@typescript-eslint/parser": "^4.22.0", - "clinic": "^8.0.1", + "@types/ws": "^7.4.5", + "@typescript-eslint/eslint-plugin": "^4.27.0", + "@typescript-eslint/parser": "^4.27.0", + "auto-changelog": "^2.3.0", + "clinic": "^9.0.0", "cross-env": "^7.0.3", - "eslint": "^7.24.0", - "eslint-plugin-import": "^2.22.1", - "eslint-plugin-jsdoc": "^32.3.0", - "mbt": "^1.1.1", + "eslint": "^7.29.0", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-jsdoc": "^35.3.2", + "eslint-plugin-node": "^11.1.0", + "expect": "^27.0.2", + "mbt": "^1.2.1", + "mocha": "^9.0.1", + "mochawesome": "^6.2.2", "npm-check": "^5.9.2", - "rollup": "^2.45.2", + "nyc": "^15.1.0", + "release-it": "^14.9.0", + "rollup": "^2.52.1", "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.4" + "ts-node": "^10.0.0", + "typescript": "^4.3.4" } }