This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
94 lines (94 loc) · 4.68 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
{
"name": "rally_core",
"version": "1.4.3",
"type": "module",
"scripts": {
"prebuild": "node scripts/setupTaskcluster.js",
"build": "rollup -c && npm run build-addon && web-ext --config=web-ext-config.cjs build --overwrite-dest && mv web-ext-artifacts/*.zip web-ext-artifacts/rally_core.xpi",
"build-addon": "npm run glean && rollup -c rollup.config.addon.js --config-enable-data-submission --config-enable-glean",
"build-local-addon": "npm run glean && rollup -c rollup.config.addon.js --config-disable-remote-settings --config-studies-list-url=/public/locally-available-studies.json",
"build-storybook": "build-storybook -s ./public",
"glean": "npm run glean-metrics && npm run glean-docs",
"glean-metrics": "glean translate ./metrics.yaml ./pings.yaml -f javascript -o public/generated",
"glean-docs": "glean translate ./metrics.yaml ./pings.yaml -f markdown -o docs",
"lint": "npm run --silent skip-taskcluster || (npm run build && npm-run-all lint-*)",
"lint-addon": "web-ext --config=web-ext-config.cjs lint",
"lint-css": "stylelint 'public/*.css' '.storybook/*.css' 'src/**/*.svelte' 'stories/**/*.svelte'",
"lint-glean": "glean glinter ./metrics.yaml ./pings.yaml",
"lint-js": "eslint . .storybook",
"skip-taskcluster": "node -e \"process.exit(!('TASK_ID' in process.env))\"",
"storybook": "start-storybook -p 6006 -s ./public",
"test": "npm run --silent skip-taskcluster || (npm run test-addon && npm run test-support-library && npm run test-options-page)",
"test-addon": "npm run --silent skip-taskcluster || (mocha --unhandled-rejections=strict --require \"./tests/hooks.cjs\" \"./tests/core-addon/unit/*.js\")",
"test-options-page": "npm run --silent skip-taskcluster || (mocha --unhandled-rejections=strict \"./tests/options-page/unit/*.js\")",
"test-integration": "npm run --silent skip-taskcluster || (npm run test-integration-webserver & npm run build && mocha --unhandled-rejections=strict --timeout 30000 \"./tests/core-addon/integration/*.js\")",
"test-integration-webserver": "npm run --silent skip-taskcluster || (cd tests/core-addon/integration && ws)",
"test-support-library": "npm run --silent skip-taskcluster || (mocha --unhandled-rejections=strict --require \"./tests/hooks.cjs\" \"./tests/support/*.mjs\")",
"watch": "npm-run-all --parallel watch-ui watch-addon watch-webext",
"watch-ui": "rollup -c -w",
"watch-addon": "rollup -c rollup.config.addon.js -w --config-disable-remote-settings --config-studies-list-url=/public/locally-available-studies.json",
"watch-webext": "web-ext --config=web-ext-config.cjs run --watch-file public/build/build.js --watch-file public/addon-build/background.js --watch-file public/addon-build/content-script.js"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@mozilla-protocol/core": "^12.1.0",
"@mozilla/glean": "^1.0.0",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-node-resolve": "^13.0.2",
"@rollup/plugin-replace": "^3.0.0",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.3.12",
"@storybook/svelte": "^6.4.20",
"archiver": "^5.3.0",
"babel-loader": "^8.2.2",
"core-js": "^3.21.1",
"eslint": "^7.29.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-svelte3": "^3.2.0",
"geckodriver": "^3.0.1",
"local-web-server": "^5.1.1",
"micromodal": "^0.4.6",
"mocha": "^9.2.0",
"npm-run-all": "^4.1.5",
"react-is": "^17.0.2",
"rollup": "^2.53.2",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-postcss": "^3.1.8",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.0",
"selenium-webdriver": "^4.0.0-beta.4",
"sinon-chrome": "^3.0.1",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"svelte": "^3.38.3",
"svelte-accessible-dialog": "^2.1.3",
"svelte-loader": "^3.1.2",
"urijs": "^1.19.11",
"web-ext": "^6.2.0",
"webextension-polyfill": "^0.8.0"
},
"dependencies": {
"sirv-cli": "^2.0.2"
},
"engines": {
"node": ">=14.0.0"
},
"description": "This is the Rally Core Add-on: a cross-browser WebExtension that allows users to participate to Rally studies.",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-rally/core-addon.git"
},
"keywords": [],
"author": "Mozilla",
"license": "MPL-2.0",
"private": true,
"bugs": {
"url": "https://github.com/mozilla-rally/core-addon/issues"
},
"homepage": "https://github.com/mozilla-rally/core-addon#readme"
}