mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
parent
99ddd486a7
commit
60bc9a336c
@ -166,6 +166,16 @@
|
||||
// */
|
||||
// // "autoinstallerName": "my-task"
|
||||
// }
|
||||
{
|
||||
"commandKind": "bulk",
|
||||
"name": "lint:fix",
|
||||
"summary": "Lint&Fix",
|
||||
"description": "Lint and autofix linting issues",
|
||||
"enableParallelism": true,
|
||||
"incremental": true,
|
||||
"ignoreDependencyOrder": false,
|
||||
"ignoreMissingScript": true
|
||||
},
|
||||
{
|
||||
"commandKind": "bulk",
|
||||
"name": "build:watch",
|
||||
@ -183,6 +193,13 @@
|
||||
* For example, you might define a "--production" parameter for the "rush build" command.
|
||||
*/
|
||||
"parameters": [
|
||||
{
|
||||
"parameterKind": "flag",
|
||||
"longName": "--lite",
|
||||
"shortName": "-l",
|
||||
"description": "Enable Heft lite building option, will skip some phases.",
|
||||
"associatedCommands": ["build", "rebuild"]
|
||||
},
|
||||
// {
|
||||
// /**
|
||||
// * (Required) Determines the type of custom parameter.
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "1.0.1",
|
||||
"license": "EPL-2.0",
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --stats-error-details",
|
||||
"build": "cross-env NODE_ENV=production webpack --stats-error-details && echo 'done'",
|
||||
"analyze": "cross-env NODE_ENV=production webpack --json > stats.json",
|
||||
"show": "webpack-bundle-analyzer stats.json dist",
|
||||
"dev": "cross-env webpack serve --content-base public",
|
||||
|
Loading…
Reference in New Issue
Block a user