Fix build command with auto clean

This commit is contained in:
Jérémy Munsch 2023-04-13 09:09:56 +02:00
parent ee0eed43c3
commit f7b76289fa
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
2 changed files with 3 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@ldc-web/cookie-notice",
"version": "3.0.1",
"version": "3.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ldc-web/cookie-notice",
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",
"dependencies": {
"core-js": "^3.30.0"

View file

@ -31,7 +31,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prod": "npm run build",
"build": "webpack --progress",
"build": "rm -rf ./dist/{esm,typings} && webpack --progress",
"prebuild": "npm run stylelint && npm run eslint && tsc -p ./tsconfig.json",
"eslint": "node ./node_modules/.bin/eslint -c .eslintrc.json ./src",
"eslint-ci": "node ./node_modules/.bin/eslint -c .eslintrc.json ./src -f junit",