From f285b649a78282b82850fa2999422d0001766ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Wed, 22 Mar 2023 12:54:32 +0100 Subject: [PATCH] fix: lint before emitting any file --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bba20829..8e701347 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "README.md" ], "scripts": { - "build": "npm run clean && npm run compile && npm run lint && npm run generate-types && npm run compile-webpack-loader", + "build": "npm run lint && npm run clean && npm run compile && npm run generate-types && npm run compile-webpack-loader", "compile": "NODE_OPTIONS=--max_old_space_size=4096 rollup --config rollup/rollup.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup.json`}' --vscode-version ${npm_package_config_vscode_version}", "clean": "rm -rf dist/", "compile-webpack-loader": "tsc --target es2020 -lib es2020 --module commonjs --skipLibCheck --moduleResolution node --declaration --outDir dist src/webpack-loader.ts && mv dist/webpack-loader.js dist/webpack-loader.cjs",