X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=package.json;h=d12d0fa634cdffa3cf4a38f3c07e7e0081f3366b;hb=6f8914baad517724c82ceeb9bc27672cdb7e31e2;hp=965854acf2a49df0b6701d0c8307c04d7c5d9ed8;hpb=6c43b4416a202dd8f4cd62a3d141182fcf18e0e5;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 965854ac..d12d0fa6 100644 --- a/package.json +++ b/package.json @@ -75,15 +75,11 @@ "lint": "cross-env TIMING=1 eslint --cache src", "lint:fix": "cross-env TIMING=1 eslint --cache --fix src", "format": "prettier --cache --write .", - "test": "c8 node --loader tsx --no-warnings=ExperimentalWarning --test test/**/*.test.ts", - "test:debug": "node --loader tsx --no-warnings=ExperimentalWarning --test --inspect test/**/*.test.ts", + "test": "glob -c \"c8 node --loader tsx --no-warnings=ExperimentalWarning --test\" \"test/**/*.test.ts\"", + "test:debug": "glob -c \"node --loader tsx --no-warnings=ExperimentalWarning --test --inspect\" \"test/**/*.test.ts\"", "coverage": "c8 report --reporter=lcov", "coverage:html": "c8 report --reporter=html", "clinic:clean": "clinic clean", - "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", "release": "release-it" }, "pnpm": { @@ -132,7 +128,7 @@ "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.4", - "@types/node": "^20.7.1", + "@types/node": "^20.7.2", "@types/sinon": "^10.0.17", "@types/tar": "^6.1.6", "@types/ws": "^8.5.6", @@ -152,6 +148,7 @@ "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", + "glob": "^10.3.10", "husky": "^8.0.3", "lint-staged": "^14.0.1", "prettier": "^3.0.3", @@ -162,6 +159,7 @@ "rollup-plugin-delete": "^2.0.0", "semver": "^7.5.4", "sinon": "^16.0.0", + "ts-node": "^10.9.1", "tsx": "^3.13.0", "typescript": "~5.2.2" }