зеркало из https://github.com/mozilla/gecko-dev.git
156 строки
6.5 KiB
JSON
156 строки
6.5 KiB
JSON
{
|
|
"name": "activity-streams",
|
|
"description": "A rich visual history feed and a reimagined home page make it easier than ever to find exactly what you're looking for in Firefox.\n\nLearn more about this Test Pilot experiment at https://testpilot.firefox.com/.",
|
|
"version": "1.14.3",
|
|
"author": "Mozilla (https://mozilla.org/)",
|
|
"bugs": {
|
|
"url": "https://github.com/mozilla/activity-stream/issues"
|
|
},
|
|
"dependencies": {
|
|
"fluent": "0.12.0",
|
|
"fluent-react": "0.8.4",
|
|
"react": "16.8.6",
|
|
"react-dom": "16.8.6",
|
|
"react-redux": "7.0.3",
|
|
"react-transition-group": "4.2.1",
|
|
"redux": "4.0.1",
|
|
"reselect": "4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.4.5",
|
|
"@babel/plugin-proposal-async-generator-functions": "7.2.0",
|
|
"@babel/preset-react": "7.0.0",
|
|
"acorn": "6.1.1",
|
|
"babel-eslint": "10.0.1",
|
|
"babel-loader": "8.0.6",
|
|
"babel-plugin-jsm-to-commonjs": "0.5.0",
|
|
"babel-plugin-jsm-to-esmodules": "0.6.0",
|
|
"chai": "4.2.0",
|
|
"chai-json-schema": "1.5.1",
|
|
"cpx": "1.5.0",
|
|
"enzyme": "3.9.0",
|
|
"enzyme-adapter-react-16": "1.13.2",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-prettier": "4.2.0",
|
|
"eslint-plugin-fetch-options": "0.0.5",
|
|
"eslint-plugin-import": "2.17.3",
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
|
"eslint-plugin-mozilla": "1.3.0",
|
|
"eslint-plugin-no-unsanitized": "3.0.2",
|
|
"eslint-plugin-prettier": "3.0.1",
|
|
"eslint-plugin-react": "7.13.0",
|
|
"eslint-plugin-react-hooks": "1.6.0",
|
|
"istanbul-instrumenter-loader": "3.0.1",
|
|
"joi-browser": "13.4.0",
|
|
"karma": "4.1.0",
|
|
"karma-chai": "0.1.0",
|
|
"karma-coverage-istanbul-reporter": "2.0.5",
|
|
"karma-firefox-launcher": "1.1.0",
|
|
"karma-json-reporter": "1.2.1",
|
|
"karma-mocha": "1.3.0",
|
|
"karma-mocha-reporter": "2.2.5",
|
|
"karma-sinon": "1.0.5",
|
|
"karma-sourcemap-loader": "0.3.7",
|
|
"karma-webpack": "3.0.5",
|
|
"loader-utils": "1.2.3",
|
|
"lodash": "4.17.14",
|
|
"minimist": "1.2.0",
|
|
"mocha": "6.1.4",
|
|
"mock-raf": "1.0.1",
|
|
"node-fetch": "2.6.0",
|
|
"node-sass": "4.12.0",
|
|
"npm-run-all": "4.1.5",
|
|
"prettier": "1.17.0",
|
|
"prop-types": "15.7.2",
|
|
"raw-loader": "2.0.0",
|
|
"react-test-renderer": "16.8.6",
|
|
"rimraf": "2.6.3",
|
|
"sass": "1.20.1",
|
|
"sass-lint": "1.13.1",
|
|
"shelljs": "0.8.3",
|
|
"sinon": "7.3.2",
|
|
"webpack": "4.32.2",
|
|
"webpack-cli": "3.3.2",
|
|
"yamscripts": "0.1.0"
|
|
},
|
|
"engines": {
|
|
"firefox": ">=45.0 <=*",
|
|
"//": "when changing node versions, also edit .travis.yml and .nvmrc",
|
|
"node": "8.*",
|
|
"npm": "6.9"
|
|
},
|
|
"homepage": "https://github.com/mozilla/activity-stream",
|
|
"keywords": [
|
|
"mozilla",
|
|
"firefox",
|
|
"activity-stream"
|
|
],
|
|
"license": "MPL-2.0",
|
|
"main": "bootstrap.js",
|
|
"repository": "mozilla/activity-stream",
|
|
"config": {
|
|
"default_locale": "en-US",
|
|
"/*": "NB: This directory is *not* 'locales' to avoid mercurial hook for uplifts.",
|
|
"**": "It contains the source default locale strings to be exported for localization",
|
|
"*/": "and is the path used to update translated strings and to prerender strings.",
|
|
"locales_dir": "locales-src",
|
|
"mc_dir": "../mozilla-central"
|
|
},
|
|
"scripts": {
|
|
"mochitest": "(cd $npm_package_config_mc_dir && ./mach mochitest browser/components/newtab/test/browser --headless)",
|
|
"mochitest-debug": "(cd $npm_package_config_mc_dir && ./mach mochitest --jsdebugger browser/components/newtab/test/browser)",
|
|
"bundle": "npm-run-all bundle:*",
|
|
"bundle:webpack": "webpack --config webpack.system-addon.config.js",
|
|
"bundle:css": "node-sass content-src/styles -o css",
|
|
"bundle:html": "rimraf prerendered && node ./bin/render-activity-stream-html.js",
|
|
"buildmc": "npm-run-all buildmc:*",
|
|
"prebuildmc": "rimraf $npm_package_config_mc_dir/browser/components/newtab/",
|
|
"buildmc:bundle": "npm run bundle",
|
|
"buildmc:copy": "rsync --exclude-from .mcignore -a . $npm_package_config_mc_dir/browser/components/newtab/",
|
|
"buildmc:fluentExport": "cpx \"$npm_package_config_locales_dir/*.ftl\" $npm_package_config_mc_dir/browser/locales/$npm_package_config_default_locale/browser/newtab/",
|
|
"buildmc:copyPingCentre": "cpx \"ping-centre/PingCentre.jsm\" $npm_package_config_mc_dir/browser/modules",
|
|
"builduplift": "npm-run-all builduplift:*",
|
|
"prebuilduplift": "npm run prebuildmc",
|
|
"builduplift:bundle": "npm run bundle",
|
|
"builduplift:copy": "npm run buildmc:copy",
|
|
"buildlibrary": "npm-run-all buildlibrary:*",
|
|
"buildlibrary:webpack": "webpack --config webpack.aboutlibrary.config.js",
|
|
"buildlibrary:css": "node-sass --source-map true --source-map-contents content-src/aboutlibrary -o aboutlibrary/content",
|
|
"buildlibrary:copy": "cpx \"aboutlibrary/**/{,.}*\" $npm_package_config_mc_dir/browser/components/library",
|
|
"startmc": "npm-run-all --parallel startmc:*",
|
|
"prestartmc": "npm run buildmc",
|
|
"startmc:copy": "cpx \"{{,.}*,!(node_modules)/**/{,.}*}\" $npm_package_config_mc_dir/browser/components/newtab/ -w",
|
|
"startmc:copyFluent": "npm run buildmc:fluentExport -- -w",
|
|
"startmc:copyPingCentre": "npm run buildmc:copyPingCentre -- -w",
|
|
"startmc:webpack": "npm run bundle:webpack -- --env.development -w",
|
|
"startmc:css": "npm run bundle:css && npm run bundle:css -- --source-map-embed --source-map-contents -w",
|
|
"importmc": "npm-run-all importmc:*",
|
|
"importmc:src": "rsync --exclude-from .mcignore -a $npm_package_config_mc_dir/browser/components/newtab/ .",
|
|
"importmc:ftl": "rsync -a $npm_package_config_mc_dir/browser/locales/$npm_package_config_default_locale/browser/newtab/ $npm_package_config_locales_dir",
|
|
"testmc": "npm-run-all testmc:*",
|
|
"testmc:lint": "npm run lint",
|
|
"testmc:build": "npm run bundle:webpack",
|
|
"testmc:unit": "karma start karma.mc.config.js",
|
|
"tddmc": "karma start karma.mc.config.js --tdd",
|
|
"debugcoverage": "open logs/coverage/index.html",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:eslint-check": "eslint --cache --print-config . | eslint-config-prettier-check",
|
|
"lint:eslint": "eslint --cache --ext=.js,.jsm,.jsx .",
|
|
"lint:sasslint": "sass-lint -v -q",
|
|
"test": "npm run testmc",
|
|
"tdd": "npm run tddmc",
|
|
"vendor": "npm-run-all vendor:*",
|
|
"vendor:react": "node ./bin/vendor-react.js",
|
|
"fix": "npm-run-all fix:*",
|
|
"fix:eslint": "npm run lint:eslint -- --fix",
|
|
"help": "yamscripts help",
|
|
"yamscripts": "yamscripts compile",
|
|
"__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
|
|
},
|
|
"title": "Activity Stream",
|
|
"permissions": {
|
|
"multiprocess": true,
|
|
"private-browsing": true
|
|
}
|
|
}
|