Source code

Revision control

Copy as Markdown

Other Tools

{
"name": "about-welcome",
"description": "Task running for the about:welcome page",
"version": "1.0.0",
"author": "Mozilla (https://mozilla.org/)",
"dependencies": {
"@fluent/bundle": "0.18.0",
"@fluent/react": "0.15.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-redux": "7.2.6",
"react-transition-group": "4.4.2",
"redux": "4.1.2"
},
"devDependencies": {
"@babel/preset-react": "7.23.3",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"babel-loader": "9.1.3",
"chai": "4.3.4",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.8",
"karma": "6.4.2",
"karma-chai": "0.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-firefox-launcher": "2.1.2",
"karma-json-reporter": "1.2.1",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-sinon": "1.0.5",
"karma-sourcemap-loader": "0.4.0",
"karma-webpack": "5.0.1",
"npm-run-all": "4.1.5",
"sass": "1.71.1",
"sinon": "17.0.1",
"webpack": "5.90.3",
"webpack-cli": "5.1.4",
"yamscripts": "0.1.0"
},
"engines": {
"firefox": ">=122.0 <=*",
"//": "when changing node versions, also edit .nvmrc",
"node": "18.19.*",
"npm": "10.2.*"
},
"license": "MPL-2.0",
"config": {
"mc_root": "../../..",
"welcome_path": "browser/components/aboutwelcome"
},
"scripts": {
"bundle": "npm-run-all bundle:*",
"bundle:welcomeBundle": "webpack-cli --config webpack.aboutwelcome.config.js",
"bundle:welcomeCss": "sass content-src:content --no-source-map",
"watchmc": "npm-run-all --parallel watchmc:*",
"watchmc:welcomeBundle": "npm run bundle:welcomeBundle -- --env development -w",
"watchmc:welcomeCss": "npm run bundle:welcomeCss -- --source-map --embed-sources --embed-source-map -w",
"testmc": "npm-run-all testmc:*",
"testmc:lint": "npm run lint",
"testmc:build": "npm run bundle:welcomeBundle",
"testmc:unit": "karma start karma.mc.config.js",
"tddmc": "karma start karma.mc.config.js --tdd",
"debugcoverage": "open logs/coverage/lcov-report/index.html",
"lint": "npm-run-all lint:*",
"lint:codespell": "(cd $npm_package_config_mc_root && ./mach lint -l codespell $npm_package_config_welcome_path)",
"lint:eslint": "(cd $npm_package_config_mc_root && ./mach lint -l eslint $npm_package_config_welcome_path)",
"lint:l10n": "(cd $npm_package_config_mc_root && ./mach lint -l l10n --warnings soft browser/locales/en-US/browser/newtab)",
"lint:license": "(cd $npm_package_config_mc_root && ./mach lint -l license $npm_package_config_welcome_path)",
"lint:stylelint": "(cd $npm_package_config_mc_root && ./mach lint -l stylelint $npm_package_config_welcome_path)",
"test": "npm run testmc",
"tdd": "npm run tddmc",
"fix": "npm-run-all fix:*",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix:stylelint": "npm run lint:stylelint -- --fix",
"help": "yamscripts help",
"yamscripts": "yamscripts compile",
"__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
}
}