build: simply build => juste run 'npm run build'

This commit is contained in:
Jérémy Munsch 2024-06-14 14:52:22 +02:00
parent 1c175c5386
commit 59c8684bd2
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -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",