build: simply build => juste run 'npm run build'
This commit is contained in:
parent
1c175c5386
commit
59c8684bd2
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue