package.json (3135B)
1 { 2 "description": "Task running for ASRouter", 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 "redux": "4.1.2" 11 }, 12 "devDependencies": { 13 "@babel/preset-react": "7.26.3", 14 "@jsdevtools/coverage-istanbul-loader": "^3.0.5", 15 "babel-loader": "9.2.1", 16 "chai": "4.3.4", 17 "chai-json-schema": "1.5.1", 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 "mocha": "10.8.2", 31 "npm-run-all": "4.1.5", 32 "raw-loader": "4.0.2", 33 "sass": "1.72.0", 34 "sinon": "17.0.1", 35 "webpack": "5.97.1", 36 "webpack-cli": "5.1.4", 37 "yamscripts": "0.1.0" 38 }, 39 "overrides": { 40 "globals": "13.24.0", 41 "cheerio": "1.0.0-rc.12" 42 }, 43 "engines": { 44 "firefox": ">=122.0 <=*", 45 "//": "when changing node versions, also edit .nvmrc", 46 "node": "18.19.*", 47 "npm": "10.2.*" 48 }, 49 "license": "MPL-2.0", 50 "config": { 51 "mc_root": "../../..", 52 "asrouter_path": "browser/components/asrouter" 53 }, 54 "scripts": { 55 "bundle": "npm-run-all bundle:*", 56 "bundle:admin": "webpack-cli --config webpack.asrouter-admin.config.js", 57 "bundle:css": "sass content-src:content --no-source-map", 58 "watchmc": "npm-run-all --parallel watchmc:*", 59 "watchmc:bundle": "npm run bundle:admin -- --env development -w", 60 "watchmc:css": "npm run bundle:css -- --source-map --embed-sources --embed-source-map -w", 61 "testmc": "npm-run-all testmc:*", 62 "testmc:lint": "npm run lint", 63 "testmc:build": "npm run bundle:admin", 64 "testmc:unit": "karma start karma.mc.config.js", 65 "testmc:import": "npm run import-rollouts", 66 "tddmc": "karma start karma.mc.config.js --tdd", 67 "debugcoverage": "open logs/coverage/lcov-report/index.html", 68 "lint": "npm-run-all lint:*", 69 "lint:codespell": "(cd $npm_package_config_mc_root && ./mach lint -l codespell $npm_package_config_asrouter_path)", 70 "lint:eslint": "(cd $npm_package_config_mc_root && ./mach lint -l eslint $npm_package_config_asrouter_path)", 71 "lint:license": "(cd $npm_package_config_mc_root && ./mach lint -l license $npm_package_config_asrouter_path)", 72 "lint:stylelint": "(cd $npm_package_config_mc_root && ./mach lint -l stylelint $npm_package_config_asrouter_path)", 73 "test": "npm run testmc", 74 "tdd": "npm run tddmc", 75 "try": "node ./bin/try-runner.js", 76 "fix": "npm-run-all fix:*", 77 "fix:eslint": "npm run lint:eslint -- --fix", 78 "fix:stylelint": "npm run lint:stylelint -- --fix", 79 "import-rollouts": "node ./bin/import-rollouts.js", 80 "help": "yamscripts help", 81 "yamscripts": "yamscripts compile", 82 "__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!" 83 } 84 }