mirror of https://github.com/aminya/setup-cpp
chore: install optimizations for the build
This commit is contained in:
parent
0e7542179a
commit
22ab9fad17
|
@ -11,9 +11,9 @@
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
"test.lint": "eslint .",
|
"test.lint": "eslint .",
|
||||||
"clean": "shx rm -rf dist",
|
"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",
|
"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"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -24,7 +24,8 @@
|
||||||
"targets": {
|
"targets": {
|
||||||
"main": {
|
"main": {
|
||||||
"context": "node",
|
"context": "node",
|
||||||
"includeNodeModules": true
|
"includeNodeModules": true,
|
||||||
|
"optimize": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prettier": "prettier-config-atomic",
|
"prettier": "prettier-config-atomic",
|
||||||
|
|
Loading…
Reference in New Issue