chore: Clean build/ folder on every build, remove duplicative scripts
This commit is contained in:
@@ -9,16 +9,14 @@
|
||||
"build:i18n": "i18next --silent 'shared/**/*.tsx' 'shared/**/*.ts' 'app/**/*.tsx' 'app/**/*.ts' 'server/**/*.ts' 'server/**/*.tsx' && yarn copy:i18n",
|
||||
"build:server": "./build.sh",
|
||||
"build:webpack": "webpack --config webpack.config.prod.js",
|
||||
"build": "yarn build:webpack && yarn build:i18n && yarn build:server",
|
||||
"build": "yarn clean && yarn build:webpack && yarn build:i18n && yarn build:server",
|
||||
"start": "node ./build/server/index.js",
|
||||
"dev": "NODE_ENV=development yarn concurrently -n api,collaboration -c \"blue,magenta\" \"node --inspect=0.0.0.0 build/server/index.js --services=collaboration,websockets,admin,web,worker\"",
|
||||
"dev:watch": "nodemon --exec \"yarn build:server && yarn dev\" -e js,ts,tsx --ignore build/ --ignore app/ --ignore shared/editor",
|
||||
"lint": "eslint app server shared",
|
||||
"deploy": "git push heroku master",
|
||||
"prepare": "husky install",
|
||||
"postinstall": "rimraf node_modules/prosemirror-view/dist/index.d.ts",
|
||||
"heroku-postbuild": "yarn build:webpack && yarn build:server && yarn copy:i18n && yarn db:migrate",
|
||||
"sequelize:migrate": "sequelize db:migrate",
|
||||
"heroku-postbuild": "yarn build && yarn db:migrate",
|
||||
"db:create-migration": "sequelize migration:create",
|
||||
"db:create": "sequelize db:create",
|
||||
"db:migrate": "sequelize db:migrate",
|
||||
|
||||
Reference in New Issue
Block a user