Rename "dist" task to more relevant "build"
This commit is contained in:
parent
9e07d4bff4
commit
a4df579937
@ -7,14 +7,14 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest --verbose --runInBand",
|
|
||||||
"dist-webpack": "webpack --mode production",
|
"dist-webpack": "webpack --mode production",
|
||||||
"dist": "yarn compile && yarn dist-webpack",
|
|
||||||
"clean": "(test ! -d dist || rm -r dist)",
|
"clean": "(test ! -d dist || rm -r dist)",
|
||||||
"compile": "yarn clean && tsc && mv dist/src/* dist/",
|
"compile": "yarn clean && tsc && mv dist/src/* dist/",
|
||||||
|
"build": "yarn compile && yarn dist-webpack",
|
||||||
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
||||||
"dev": "concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"webpack --watch --mode development\" \"maildev\"",
|
"dev": "concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"webpack --watch --mode development\" \"maildev\"",
|
||||||
"start": "yarn dist && node dist/main.js",
|
"start": "yarn build && node dist/main.js",
|
||||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
|
"test": "jest --verbose --runInBand"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.9.0",
|
"@babel/core": "^7.9.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user