Release 1.0.5
[e-mobility-charging-stations-simulator.git] / package.json
index d081f84e2a5f2be14fa8e14ee9e9e667e0dfb7e8..c3b9f64ac4d9e81b40110305019478dbed010f83 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "ev-simulator",
-  "version": "1.0.1-3",
+  "version": "1.0.5",
   "engines": {
     "node": "14.x.x",
     "npm": "6.x.x"
     "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",
     "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",
-    "postversion": "git push && git push upstream && git push --tags && git push upstream --tags"
+    "release": "release-it"
   },
   "dependencies": {
     "mongodb": "^3.6.9",
     "utf-8-validate": "^5.0.5"
   },
   "devDependencies": {
+    "@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.1",
     "@types/uuid": "^8.3.0",
     "@types/ws": "^7.4.4",
     "@typescript-eslint/eslint-plugin": "^4.25.0",
     "@typescript-eslint/parser": "^4.25.0",
+    "auto-changelog": "^2.3.0",
     "clinic": "^9.0.0",
     "cross-env": "^7.0.3",
     "eslint": "^7.27.0",
-    "eslint-plugin-import": "^2.23.3",
-    "eslint-plugin-jsdoc": "^35.0.0",
+    "eslint-plugin-import": "^2.23.4",
+    "eslint-plugin-jsdoc": "^35.1.0",
+    "expect": "^27.0.2",
     "mbt": "^1.2.1",
+    "mocha": "^8.4.0",
+    "mochawesome": "^6.2.2",
     "npm-check": "^5.9.2",
+    "nyc": "^15.1.0",
+    "release-it": "^14.7.0",
     "rollup": "^2.50.4",
     "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",
+    "ts-node": "^10.0.0",
     "typescript": "^4.3.2"
   }
 }