Purge build directory before build
This commit is contained in:
parent
5f86d77a46
commit
e574945972
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "webpack -p",
|
||||
"extract-json-messages": "babel src 'src/**/*.{ts,tsx}' -o build/dashboard.bundle.js",
|
||||
"extract-json-messages": "rimraf build/locale && babel src 'src/**/*.{ts,tsx}' -o build/dashboard.bundle.js",
|
||||
"extract-pot-messages": "rip json2pot \"build/locale/**/*.json\" -c description -o locale/messages.pot",
|
||||
"extract-messages": "npm run extract-json-messages && npm run extract-pot-messages",
|
||||
"build-messages": "rip po2json 'locale/**/*.po' -m 'build/locale/**/*.json' -o 'locale' -c 'description'",
|
||||
|
@ -178,4 +178,4 @@
|
|||
"test": "jest src/",
|
||||
"test-e2e": "testcafe 'chrome:headless' .testcafe"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue