This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
78 lines (78 loc) · 3.43 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
{
"name": "rally-study-template",
"version": "0.5.0",
"scripts": {
"build": "cp manifest.prod.json manifest.json && npm run build:glean && rollup -c && npm run tailwind",
"dev": "cp manifest.dev.json manifest.json && npm run build:glean && npm run clean && npm run tailwind && npm run dev:extension",
"dev:extension": "rollup -c --config-enable-developer-mode -w --watch.onEnd \"npm run dev:webext\"",
"dev:extension:emulator": "rollup -c --config-enable-emulator-mode -w --watch.onEnd \"npm run dev:webext\"",
"lint": "npm run build && eslint . && npm run lint:glean",
"clean": "rimraf dist/*",
"build:glean": "npm run build:glean:metrics && npm run build:glean:docs",
"build:glean:metrics": "glean translate ./metrics.yaml ./pings.yaml -f typescript -o src/generated",
"build:glean:docs": "glean translate ./metrics.yaml ./pings.yaml -f markdown -o docs",
"lint:glean": "glean glinter ./metrics.yaml ./pings.yaml",
"build:developer": "cp manifest.dev.json manifest.json && rollup -c --config-enable-developer-mode && npm run tailwind",
"build:emulator": "cp manifest.prod.json manifest.json && rollup -c --config-enable-emulator-mode && npm run tailwind",
"tailwind": "tailwindcss -o dist/tailwind.css",
"dev:emulator": "npm-run-all --parallel dev:extension:emulator dev:webext",
"package": "npm run build && npm run package:webext",
"package:webext": "web-ext build",
"package:developer": "npm run build:developer && npm run package:webext -- -n developer.zip --overwrite-dest",
"package:emulator": "npm run build:emulator && npm run package:webext -- -n emulator.zip --overwrite-dest",
"start": "npm run build && web-ext run",
"test:integration": "./scripts/integration-test.sh",
"test:integration:jest": "jest ./tests/integration/",
"dev:webext": "web-ext run -t ${TARGET=chromium} --start-url 'https://example.com' --watch-file dist/exampleWorkerScript.worker.js"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.17.12",
"@mozilla/glean": "^1.0.0",
"@mozilla/rally-sdk": "^0.9.14",
"@mozilla/web-science": "^0.5.1",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.3.2",
"@types/jest": "^27.5.2",
"@types/selenium-webdriver": "^4.0.18",
"chromedriver": "^103.0.0",
"dexie": "^3.2.2",
"eslint": "^8.16.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-node": "^11.1.0",
"geckodriver": "^3.0.1",
"globby": "^11.0.3",
"http-server": "^14.1.1",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"pako": "^2.0.4",
"rollup": "^2.75.5",
"rollup-plugin-copy": "^3.4.0",
"selenium-webdriver": "^4.1.1",
"tailwindcss": "^3.0.24",
"ts-jest": "^27.1.5",
"typescript": "^4.7.3",
"wait-on": "^6.0.1",
"web-ext": "^7.0.0",
"webextension-polyfill": "^0.8.0"
},
"engines": {
"node": ">=14.0.0"
},
"description": "This a basic template for a Rally study.",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-rally/study-template.git"
},
"keywords": [],
"author": "Mozilla",
"license": "MPL-2.0",
"private": true,
"bugs": {
"url": "https://github.com/mozilla-rally/study-template/issues"
},
"homepage": "https://github.com/mozilla-rally/study-template#readme"
}