Source code

Revision control

Copy as Markdown

Other Tools

{
"name": "ASRouter",
"description": "Task running for ASRouter",
"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",
"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",
"chai-json-schema": "1.5.1",
"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",
"mocha": "10.3.0",
"npm-run-all": "4.1.5",
"raw-loader": "4.0.2",
"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": "../../..",
"asrouter_path": "browser/components/asrouter"
},
"scripts": {
"bundle": "npm-run-all bundle:*",
"bundle:admin": "webpack-cli --config webpack.asrouter-admin.config.js",
"bundle:css": "sass content-src:content --no-source-map",
"watchmc": "npm-run-all --parallel watchmc:*",
"watchmc:bundle": "npm run bundle:admin -- --env development -w",
"watchmc:css": "npm run bundle:css -- --source-map --embed-sources --embed-source-map -w",
"testmc": "npm-run-all testmc:*",
"testmc:lint": "npm run lint",
"testmc:build": "npm run bundle:admin",
"testmc:unit": "karma start karma.mc.config.js",
"testmc:import": "npm run import-rollouts",
"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_asrouter_path)",
"lint:eslint": "(cd $npm_package_config_mc_root && ./mach lint -l eslint $npm_package_config_asrouter_path)",
"lint:license": "(cd $npm_package_config_mc_root && ./mach lint -l license $npm_package_config_asrouter_path)",
"lint:stylelint": "(cd $npm_package_config_mc_root && ./mach lint -l stylelint $npm_package_config_asrouter_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",
"import-rollouts": "node ./bin/import-rollouts.js",
"help": "yamscripts help",
"yamscripts": "yamscripts compile",
"__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
}
}