From 59c8684bd27dc6040d63accf5483d31e7e37912e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 14 Jun 2024 14:52:22 +0200 Subject: [PATCH] build: simply build => juste run 'npm run build' --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 68ce051..bafeb21 100644 --- a/package.json +++ b/package.json @@ -31,10 +31,10 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prod": "npm run build", - "build": "rm -rf ./dist/umd && webpack --progress && npm run buildbrowser", + "build": "npm run prebuild && rm -rf ./dist/umd && webpack --progress && npm run buildbrowser", "buildbrowser": "rm -rf ./dist/browser && node ./node_modules/.bin/rollup --bundleConfigAsCjs -c rollup.config.js", "prebuild": "npm run stylelint && npm run eslint && rm -rf ./dist/typings && rm -rf ./dist/esm && tsc -p ./tsconfig.json", - "buildPackage": "git checkout main && git reset && git merge --no-ff --no-commit -m \"chore: 📦 Npm run build\" develop && npm run prebuild && npm run build && git add -f \"dist/\" && git commit --no-edit && echo 'DONE !!';", + "buildPackage": "git checkout main && git reset && git merge --no-ff --no-commit -m \"chore: 📦 Npm run build\" develop && npm run build && git add -f \"dist/\" && git commit --no-edit && echo 'DONE !!';", "eslint": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./src", "eslint-fix": "node ./node_modules/.bin/eslint --fix --max-warnings 0 -c .eslintrc.json ./src", "eslint-ci": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./src -f junit",