forked from mozilla/activity-stream
/
package.json
136 lines (136 loc) · 5.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"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": {
"prop-types": "15.6.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-intl": "2.4.0",
"react-redux": "5.0.6",
"redux": "3.6.0"
},
"devDependencies": {
"@octokit/rest": "14.0.8",
"babel-core": "6.26.0",
"babel-loader": "7.1.2",
"babel-plugin-jsm-to-commonjs": "0.4.0",
"babel-plugin-jsm-to-esmodules": "0.4.0",
"babel-plugin-transform-async-to-module-method": "6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
"babel-preset-react": "6.24.1",
"chai": "4.1.2",
"co-task": "1.0.0",
"cpx": "1.5.0",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"eslint": "4.17.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-json": "1.2.0",
"eslint-plugin-mozilla": "0.8.1",
"eslint-plugin-no-unsanitized": "2.0.2",
"eslint-plugin-promise": "3.6.0",
"eslint-plugin-react": "7.6.1",
"eslint-watch": "3.1.3",
"husky": "0.14.3",
"istanbul-instrumenter-loader": "0.2.0",
"joi-browser": "13.0.1",
"karma": "1.7.1",
"karma-chai": "0.1.0",
"karma-coverage": "1.1.1",
"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": "2.0.9",
"loader-utils": "0.2.16",
"minimist": "1.2.0",
"mocha": "5.1.0",
"mock-raf": "1.0.0",
"node-sass": "4.7.2",
"npm-run-all": "4.1.2",
"pontoon-to-json": "2.0.0",
"react-test-renderer": "16.2.0",
"rimraf": "2.6.2",
"sass-lint": "1.12.1",
"shelljs": "0.8.1",
"simple-git": "1.89.0",
"sinon": "4.2.2",
"webpack": "3.10.0",
"yamscripts": "0.0.3"
},
"engines": {
"firefox": ">=45.0 <=*",
"//": "when changing node versions, also edit .travis.yml and .nvmrc",
"node": "7.*"
},
"homepage": "https://github.com/mozilla/activity-stream",
"keywords": [
"mozilla",
"firefox",
"activity-stream"
],
"license": "MPL-2.0",
"main": "system-addon/bootstrap.js",
"repository": "mozilla/activity-stream",
"config": {
"mc_dir": "../mozilla-central"
},
"scripts": {
"mochitest": "(cd $npm_package_config_mc_dir && ./mach mochitest browser/extensions/activity-stream/test/functional/mochitest )",
"mochitest-debug": "(cd $npm_package_config_mc_dir && ./mach mochitest --jsdebugger browser/extensions/activity-stream/test/functional/mochitest )",
"cleanmc": "rimraf $npm_package_config_mc_dir/browser/extensions/activity-stream",
"buildmc": "npm-run-all buildmc:*",
"prebuildmc": "npm run cleanmc",
"buildmc:locales": "pontoon-to-json --src locales --dest system-addon/data",
"buildmc:webpack": "webpack --config webpack.system-addon.config.js --display-optimization-bailout",
"buildmc:css": "node-sass --source-map true --source-map-contents system-addon/content-src/styles -o system-addon/css",
"buildmc:html": "rimraf system-addon/prerendered && webpack --config webpack.prerender.config.js && node ./bin/render-activity-stream-html.js",
"buildmc:copy": "cpx \"system-addon/**/{,.}*\" $npm_package_config_mc_dir/browser/extensions/activity-stream",
"buildmc:version": "node ./bin/update-version.js $npm_package_config_mc_dir/browser/extensions/activity-stream",
"buildmc:copyPingCentre": "cpx \"system-addon/ping-centre/PingCentre.jsm\" $npm_package_config_mc_dir/browser/modules",
"buildmc:rmextra": "rimraf \"$npm_package_config_mc_dir/browser/extensions/activity-stream/{{,test/unit/}{content-src,ping-centre},data/locales.json}\"",
"packagemc": "npm-run-all packagemc:*",
"prepackagemc": "npm run cleanmc",
"packagemc:build": "npm run buildmc:webpack && npm run buildmc:css && npm run buildmc:locales",
"packagemc:copy": "cpx \"system-addon/**\" dist/system-addon",
"packagemc:version": "node ./bin/update-version.js dist/system-addon",
"packagemc:process": "node ./bin/process-system-addon-for-package.js dist/system-addon",
"packagemc:xpi": "(cd dist/system-addon && zip -r ../activity-stream-system-addon.xpi * )",
"startmc": "npm-run-all --parallel startmc:*",
"prestartmc": "npm run prebuildmc",
"startmc:copy": "npm run buildmc:copy -- -w",
"startmc:copyPingCentre": "npm run buildmc:copyPingCentre -- -w",
"startmc:webpack": "npm run buildmc:webpack -- -w",
"startmc:css": "npm run buildmc:css && npm run buildmc:css -- -w",
"importmc": "cpx \"$npm_package_config_mc_dir/browser/extensions/activity-stream/**/*\" system-addon/",
"testmc": "npm-run-all testmc:*",
"testmc:lint": "npm run lint",
"testmc:build": "npm run buildmc:webpack && npm run buildmc:locales",
"testmc:unit": "karma start karma.mc.config.js || (cat logs/coverage/system-addon/text.txt && exit 2)",
"posttestmc": "cat logs/coverage/system-addon/text-summary.txt",
"tddmc": "karma start karma.mc.config.js --tdd",
"debugcoverage": "open logs/coverage/system-addon/report-html/index.html",
"lint": "npm-run-all lint:*",
"lint:eslint": "esw --ext=.js,.jsm,.json,.jsx .",
"lint:sasslint": "sass-lint -v -q",
"strings-export": "node ./bin/strings-export.js ../activity-stream-l10n",
"strings-import": "node ./bin/strings-import.js ../activity-stream-l10n",
"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
}
}