You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log(I.__,npmRun,cyan('help'),'- Display this help.')
160
+
log(I.__,npmRun,cyan('patch'),'- Will apply some patch/replacements in dependencies.',red('(Apply only once after run "npm install")'))
161
+
log(I.__,npmRun,cyan('clean'),'- Will delete builds and temporary folders.')
162
+
log(I.__,npmRun,cyan('lint'),'- Will run the eslint in pedantic mode with auto fix when possible.')
163
+
log(I.__,npmRun,cyan('doc'),'- Will run jsdoc, and create documentation under `documentation` folder, using the docdash theme')
164
+
log(I.__,npmRun,cyan('test'),'- Will run the test framworks (unit and bench), and create reports under `documentation/report` folder, using the mochawesome theme')
165
+
log(I.__,npmRun,cyan('unit'),'- Will run the karma server for unit tests.')
166
+
log(I.__,npmRun,cyan('bench'),'- Will run the karma server for benchmarks.')
167
+
log(I.__,npmRun,cyan('build'),yellow('--'),green('<options>'),'- Will build the application for development and/or production environments.')
168
+
log(I.___,yellow('Note: The two dash are only required if you provide options !'))
log(I.____,green('-i'),'or',green('--input'),'- The main file path to build',cyan('[Default: "sources/main.js"]'),'.')
171
+
log(I.____,green('-o'),'or',green('--output'),'- The folder where output the build',cyan('[Default: "builds"]'),'.')
172
+
log(
173
+
I.____,
174
+
green('-f:'),
175
+
magenta('<format>'),
176
+
'or',
177
+
green('--format:'),
178
+
magenta('<format>'),
179
+
' - to specify the output build type. Where format could be any of:',magenta('cjs, esm, iife, umd'),'.'
180
+
)
181
+
log(I.____,green('-e:'),magenta('<env>'),'or',green('--env:'),magenta('<env>'),' - to specify the build environment. Where env could be any of:',magenta(
log(I.____,green('-s'),'or',green('--sourcemap'),' - to build with related source map',cyan('[Default: true]'),'.')
184
+
log(I.____,green('-t'),'or',green('--treeshake'),' - allow to perform treeshaking when building',cyan('[Default: true]'),'.')
185
+
log(I.__,npmRun,cyan('release'),'- Will run all the lint, test stuff, and if succeed will build the application.')
186
+
log('')
187
+
log(I._,'In case you have',blue('gulp'),'installed globally, you could use also:')
188
+
log(I.__,blue('gulp'),cyan('command'),'- It will perform the command like using "npm run" but with less characters to type... Because you\'re a developer, right ?')
0 commit comments