154 строки
6.5 KiB
JSON
154 строки
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.6.4",
|
|
"fluent-react": "0.7.0",
|
|
"react": "16.2.0",
|
|
"react-dom": "16.2.0",
|
|
"react-intl": "2.4.0",
|
|
"react-redux": "5.1.0",
|
|
"redux": "4.0.1",
|
|
"reselect": "4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@octokit/rest": "15.17.0",
|
|
"acorn": "6.0.4",
|
|
"babel-core": "6.26.3",
|
|
"babel-eslint": "10.0.1",
|
|
"babel-loader": "7.1.4",
|
|
"babel-plugin-jsm-to-commonjs": "0.5.0",
|
|
"babel-plugin-jsm-to-esmodules": "0.6.0",
|
|
"babel-plugin-transform-async-generator-functions": "6.24.1",
|
|
"babel-plugin-transform-async-to-generator": "6.24.1",
|
|
"babel-plugin-transform-async-to-module-method": "6.24.1",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
|
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
"babel-preset-react": "6.24.1",
|
|
"chai": "4.2.0",
|
|
"chai-json-schema": "1.5.0",
|
|
"co-task": "1.0.0",
|
|
"cpx": "1.5.0",
|
|
"enzyme": "3.7.0",
|
|
"enzyme-adapter-react-16": "1.7.0",
|
|
"eslint": "5.9.0",
|
|
"eslint-plugin-import": "2.14.0",
|
|
"eslint-plugin-json": "1.2.1",
|
|
"eslint-plugin-mozilla": "1.1.0",
|
|
"eslint-plugin-no-unsanitized": "3.0.2",
|
|
"eslint-plugin-promise": "4.0.1",
|
|
"eslint-plugin-react": "7.11.1",
|
|
"eslint-watch": "4.0.2",
|
|
"husky": "1.1.3",
|
|
"istanbul-instrumenter-loader": "3.0.1",
|
|
"joi-browser": "13.4.0",
|
|
"karma": "3.1.1",
|
|
"karma-chai": "0.1.0",
|
|
"karma-coverage-istanbul-reporter": "2.0.4",
|
|
"karma-firefox-launcher": "1.1.0",
|
|
"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": "0.2.16",
|
|
"minimist": "1.2.0",
|
|
"mocha": "5.2.0",
|
|
"mock-raf": "1.0.1",
|
|
"node-fetch": "2.2.1",
|
|
"node-sass": "4.10.0",
|
|
"npm-run-all": "4.1.5",
|
|
"pontoon-to-json": "2.0.0",
|
|
"prop-types": "15.6.2",
|
|
"raw-loader": "0.5.1",
|
|
"react-test-renderer": "16.6.1",
|
|
"rimraf": "2.6.2",
|
|
"sass": "1.14.3",
|
|
"sass-lint": "1.12.1",
|
|
"shelljs": "0.8.2",
|
|
"simple-git": "1.107.0",
|
|
"sinon": "7.1.1",
|
|
"webpack": "4.25.1",
|
|
"webpack-cli": "3.1.2",
|
|
"yamscripts": "0.1.0"
|
|
},
|
|
"engines": {
|
|
"firefox": ">=45.0 <=*",
|
|
"//": "when changing node versions, also edit .travis.yml and .nvmrc",
|
|
"node": "8.*"
|
|
},
|
|
"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:locales": "pontoon-to-json --src $npm_package_config_locales_dir --dest data",
|
|
"bundle:webpack": "webpack --config webpack.system-addon.config.js",
|
|
"bundle:css": "node-sass --source-map true --source-map-contents content-src/styles -o css",
|
|
"bundle:html": "rimraf prerendered && webpack --config webpack.prerender.config.js && 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:stringsExport": "cp $npm_package_config_locales_dir/$npm_package_config_default_locale/strings.properties $npm_package_config_mc_dir/browser/locales/$npm_package_config_default_locale/chrome/browser/activity-stream/newtab.properties",
|
|
"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:copyPingCentre": "npm run buildmc:copyPingCentre -- -w",
|
|
"startmc:webpack": "npm run bundle:webpack -- -w",
|
|
"startmc:css": "npm run bundle:css && npm run bundle:css -- -w",
|
|
"importmc": "rsync --exclude-from .mcignore -a $npm_package_config_mc_dir/browser/components/newtab/ .",
|
|
"testmc": "npm-run-all testmc:*",
|
|
"testmc:lint": "npm run lint",
|
|
"testmc:build": "npm run bundle:webpack && npm run bundle:locales",
|
|
"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": "esw --ext=.js,.jsm,.json,.jsx .",
|
|
"lint:sasslint": "sass-lint -v -q",
|
|
"strings-import": "node ./bin/strings-import.js",
|
|
"test": "npm run testmc",
|
|
"tdd": "npm run tddmc",
|
|
"prepush": "npm run lint && npm run yamscripts",
|
|
"help": "yamscripts help",
|
|
"yamscripts": "yamscripts compile",
|
|
"__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
|
|
},
|
|
"title": "Activity Stream",
|
|
"permissions": {
|
|
"multiprocess": true,
|
|
"private-browsing": true
|
|
}
|
|
}
|