summaryrefslogtreecommitdiffstats
path: root/browser/components/asrouter/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/asrouter/package.json')
-rw-r--r--browser/components/asrouter/package.json82
1 files changed, 82 insertions, 0 deletions
diff --git a/browser/components/asrouter/package.json b/browser/components/asrouter/package.json
new file mode 100644
index 0000000000..8bd8da7b54
--- /dev/null
+++ b/browser/components/asrouter/package.json
@@ -0,0 +1,82 @@
+{
+ "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/preset-react": "7.16.0",
+ "@jsdevtools/coverage-istanbul-loader": "^3.0.5",
+ "babel-loader": "8.2.3",
+ "babel-plugin-jsm-to-esmodules": "0.6.0",
+ "chai": "4.3.4",
+ "chai-json-schema": "1.5.1",
+ "enzyme": "3.11.0",
+ "enzyme-adapter-react-16": "1.15.6",
+ "karma": "6.3.8",
+ "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.3.8",
+ "karma-webpack": "5.0.0",
+ "mocha": "9.1.3",
+ "npm-run-all": "4.1.5",
+ "raw-loader": "4.0.2",
+ "sass": "1.43.4",
+ "sinon": "12.0.1",
+ "stream-browserify": "3.0.0",
+ "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",
+ "import-rollouts": "node ./bin/import-rollouts.js",
+ "help": "yamscripts help",
+ "yamscripts": "yamscripts compile",
+ "__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
+ }
+}