package.json (3140B)
1 { 2 "description": "Task running for the about:welcome page", 3 "author": "Mozilla (https://mozilla.org/)", 4 "dependencies": { 5 "@fluent/bundle": "0.18.0", 6 "@fluent/react": "0.15.2", 7 "react": "16.13.1", 8 "react-dom": "16.13.1", 9 "react-redux": "7.2.6", 10 "react-transition-group": "4.4.5", 11 "redux": "4.1.2" 12 }, 13 "devDependencies": { 14 "@babel/preset-react": "7.26.3", 15 "@jsdevtools/coverage-istanbul-loader": "^3.0.5", 16 "babel-loader": "9.2.1", 17 "chai": "4.3.4", 18 "enzyme": "3.11.0", 19 "enzyme-adapter-react-16": "1.15.8", 20 "karma": "6.4.4", 21 "karma-chai": "0.1.0", 22 "karma-coverage-istanbul-reporter": "3.0.3", 23 "karma-firefox-launcher": "2.1.3", 24 "karma-json-reporter": "1.2.1", 25 "karma-mocha": "2.0.1", 26 "karma-mocha-reporter": "2.2.5", 27 "karma-sinon": "1.0.5", 28 "karma-sourcemap-loader": "0.4.0", 29 "karma-webpack": "5.0.1", 30 "npm-run-all": "4.1.5", 31 "sass": "1.72.0", 32 "sinon": "17.0.1", 33 "webpack": "5.97.1", 34 "webpack-cli": "5.1.4", 35 "yamscripts": "0.1.0" 36 }, 37 "overrides": { 38 "globals": "13.24.0", 39 "cheerio": "1.0.0-rc.12" 40 }, 41 "engines": { 42 "firefox": ">=122.0 <=*", 43 "//": "when changing node versions, also edit .nvmrc", 44 "node": "18.19.*", 45 "npm": "10.2.*" 46 }, 47 "license": "MPL-2.0", 48 "config": { 49 "mc_root": "../../..", 50 "welcome_path": "browser/components/aboutwelcome" 51 }, 52 "scripts": { 53 "bundle": "npm-run-all bundle:*", 54 "bundle:welcomeBundle": "webpack-cli --config webpack.aboutwelcome.config.js", 55 "bundle:welcomeCss": "sass content-src:content --no-source-map", 56 "watchmc": "npm-run-all --parallel watchmc:*", 57 "watchmc:welcomeBundle": "npm run bundle:welcomeBundle -- --env development -w", 58 "watchmc:welcomeCss": "npm run bundle:welcomeCss -- --source-map --embed-sources --embed-source-map -w", 59 "testmc": "npm-run-all testmc:*", 60 "testmc:lint": "npm run lint", 61 "testmc:build": "npm run bundle:welcomeBundle", 62 "testmc:unit": "karma start karma.mc.config.js", 63 "tddmc": "karma start karma.mc.config.js --tdd", 64 "debugcoverage": "open logs/coverage/lcov-report/index.html", 65 "lint": "npm-run-all lint:*", 66 "lint:codespell": "(cd $npm_package_config_mc_root && ./mach lint -l codespell $npm_package_config_welcome_path)", 67 "lint:eslint": "(cd $npm_package_config_mc_root && ./mach lint -l eslint $npm_package_config_welcome_path)", 68 "lint:l10n": "(cd $npm_package_config_mc_root && ./mach lint -l l10n --warnings soft browser/locales/en-US/browser/newtab)", 69 "lint:license": "(cd $npm_package_config_mc_root && ./mach lint -l license $npm_package_config_welcome_path)", 70 "lint:stylelint": "(cd $npm_package_config_mc_root && ./mach lint -l stylelint $npm_package_config_welcome_path)", 71 "test": "npm run testmc", 72 "tdd": "npm run tddmc", 73 "fix": "npm-run-all fix:*", 74 "fix:eslint": "npm run lint:eslint -- --fix", 75 "fix:stylelint": "npm run lint:stylelint -- --fix", 76 "help": "yamscripts help", 77 "yamscripts": "yamscripts compile", 78 "__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!" 79 } 80 }