diff --git a/js/package.json b/js/package.json index 956b71e..a045439 100644 --- a/js/package.json +++ b/js/package.json @@ -9,20 +9,13 @@ "prettier": "^2.5.1", "@flarum/prettier-config": "^1.0.0", "flarum-tsconfig": "^1.0.2", - "typescript": "^4.5.4", - "typescript-coverage-report": "^0.6.1" + "typescript": "^4.5.4" }, "scripts": { "dev": "webpack --mode development --watch", "build": "webpack --mode production", - "analyze": "cross-env ANALYZER=true npm run build", "format": "prettier --write src", - "format-check": "prettier --check src", - "clean-typings": "npx rimraf dist-typings && mkdir dist-typings", - "build-typings": "npm run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && npm run post-build-typings", - "post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'", - "check-typings": "tsc --noEmit --emitDeclarationOnly false", - "check-typings-coverage": "typescript-coverage-report" + "format-check": "prettier --check src" }, "prettier": "@flarum/prettier-config" }