Bug 1944416: Restore individual tabs from closed groups in closed windows r=dao,sessi...
[gecko.git] / browser / components / aboutwelcome / yamscripts.yml
blobc2bc2f18e396709b1d04232d8ca2c7f58230d905
1 # This file compiles to package.json scripts.
2 # When you add or modify anything, you *MUST* run:
3 #      npm run yamscripts
4 # to compile your changes.
6 scripts:
7   # bundle: Build all assets for activity stream
8   bundle:
9     welcomeBundle: webpack-cli --config webpack.aboutwelcome.config.js
10     welcomeCss: sass content-src:content --no-source-map
12   # watchmc:  Automatically rebuild when files are changed. NOTE: Includes sourcemaps, do not use for profiling/perf testing.
13   watchmc:
14     _parallel: true
15     welcomeBundle: =>bundle:welcomeBundle -- --env development -w
16     welcomeCss: =>bundle:welcomeCss -- --source-map --embed-sources --embed-source-map -w
18   testmc:
19     lint: =>lint
20     build: =>bundle:welcomeBundle
21     unit: karma start karma.mc.config.js
23   tddmc: karma start karma.mc.config.js --tdd
25   debugcoverage: open logs/coverage/lcov-report/index.html
27   # lint: Run various linters with mach or local dev dependencies
28   lint:
29     codespell: (cd $npm_package_config_mc_root && ./mach lint -l codespell $npm_package_config_welcome_path)
30     eslint: (cd $npm_package_config_mc_root && ./mach lint -l eslint $npm_package_config_welcome_path)
31     l10n: (cd $npm_package_config_mc_root && ./mach lint -l l10n --warnings soft browser/locales/en-US/browser/newtab)
32     license: (cd $npm_package_config_mc_root && ./mach lint -l license $npm_package_config_welcome_path)
33     stylelint: (cd $npm_package_config_mc_root && ./mach lint -l stylelint $npm_package_config_welcome_path)
35   # test: Run all tests once
36   test: =>testmc
38   # tdd: Run content tests continuously
39   tdd: =>tddmc
41   fix:
42     # Note that since we're currently running eslint-plugin-prettier,
43     # running fix:eslint will also reformat changed JS files using prettier.
44     eslint: =>lint:eslint -- --fix
45     stylelint: =>lint:stylelint -- --fix