Fix docker image build.
[e-mobility-charging-stations-simulator.git] / package.json
index b1d4094d42c4f6805c99f7d243087744ff10ad3e..b5ee8fe855b9c5cb43733d627d9516f570a3c6c0 100644 (file)
@@ -38,6 +38,7 @@
     "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
     "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
     "tsc": "tsc",
+    "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",