chore: install optimizations for the build

This commit is contained in:
Amin Yahyaabadi 2021-09-14 02:47:05 -05:00
parent 0e7542179a
commit 22ab9fad17
1 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,9 @@
"lint": "eslint . --fix",
"test.lint": "eslint .",
"clean": "shx rm -rf dist",
"tsc": "tsc -p src/tsconfig.json || echo done",
"test.tsc": "tsc -p src/tsconfig.json --noEmit",
"dev": "cross-env NODE_ENV=development parcel watch",
"build": "cross-env NODE_ENV=production parcel build",
"build": "cross-env NODE_ENV=production parcel build --detailed-report",
"prepare": "npm run build"
},
"engines": {
@ -24,7 +24,8 @@
"targets": {
"main": {
"context": "node",
"includeNodeModules": true
"includeNodeModules": true,
"optimize": true
}
},
"prettier": "prettier-config-atomic",