mirror of
https://github.com/codex-team/editor.js
synced 2024-05-09 18:06:59 +02:00
Update build commands (#1545)
* Update build commands * Update package.json
This commit is contained in:
parent
3f39cb735d
commit
5cbeabd1cb
|
@ -13,9 +13,10 @@
|
|||
],
|
||||
"scripts": {
|
||||
"clear": "rimraf dist && mkdirp dist",
|
||||
"build": "yarn clear && yarn svg && yarn build:prod",
|
||||
"build:dev": "webpack --mode development --progress --display-error-details --display-entrypoints --watch",
|
||||
"build:prod": "webpack --mode production",
|
||||
"build": "yarn clear && yarn svg && yarn build:webpack:prod",
|
||||
"build:dev": "yarn clear && yarn svg && yarn build:webpack:dev",
|
||||
"build:webpack:dev": "webpack --mode development --progress --display-error-details --display-entrypoints --watch",
|
||||
"build:webpack:prod": "webpack --mode production",
|
||||
"lint": "eslint src/ --ext .ts && yarn lint:tests",
|
||||
"lint:errors": "eslint src/ --ext .ts --quiet",
|
||||
"lint:fix": "eslint src/ --ext .ts --fix",
|
||||
|
|
Loading…
Reference in a new issue