forked from mirrors/gecko-dev
This tries to maintain stylistic continuity, while also trying to decouple from newtab as much as possible. This is a first foray, and future patches will further this decoupling. This also modifies about:asrouter to show an error message if the ASRouter devtools pref is not set to true. Differential Revision: https://phabricator.services.mozilla.com/D194811
64 lines
2.4 KiB
JSON
64 lines
2.4 KiB
JSON
{
|
|
"name": "ASRouter",
|
|
"description": "Task running for ASRouter",
|
|
"version": "1.0.0",
|
|
"author": "Mozilla (https://mozilla.org/)",
|
|
"dependencies": {
|
|
"@fluent/bundle": "0.17.1",
|
|
"@fluent/react": "0.15.0",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1",
|
|
"react-redux": "7.2.6",
|
|
"redux": "4.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-optional-chaining": "7.16.0",
|
|
"@babel/preset-react": "7.16.0",
|
|
"babel-loader": "8.2.3",
|
|
"mocha": "9.1.3",
|
|
"npm-run-all": "4.1.5",
|
|
"sass": "1.43.4",
|
|
"sinon": "12.0.1",
|
|
"webpack": "5.56.0",
|
|
"webpack-cli": "4.9.1",
|
|
"yamscripts": "0.1.0"
|
|
},
|
|
"engines": {
|
|
"firefox": ">=45.0 <=*",
|
|
"//": "when changing node versions, also edit .nvmrc",
|
|
"node": "16.19.*",
|
|
"npm": "8.19.3"
|
|
},
|
|
"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",
|
|
"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",
|
|
"help": "yamscripts help",
|
|
"yamscripts": "yamscripts compile",
|
|
"__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
|
|
}
|
|
}
|