This repository was archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
109 lines (109 loc) · 4.47 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
{
"name": "rally-study-01",
"version": "0.5.1",
"scripts": {
"build": "npm run build:schema && npm run build:addon",
"build:addon": "npm run build:glean && rollup -c && web-ext build --overwrite-dest",
"build:glean": "npm run build:glean:metrics && npm run build:glean:docs",
"build:glean:metrics": "glean translate ./metrics.yaml ./pings.yaml -f javascript -o src/generated",
"build:glean:docs": "glean translate ./metrics.yaml ./pings.yaml -f markdown -o docs",
"build:schema": "node schemas/generate-schema.mjs",
"build:storybook": "build-storybook -s ./",
"dev": "rollup -c --config-enable-developer-mode",
"doc": "jsdoc -c jsdoc.conf.json && mkdir -p docs/images && cp images/rally-logo.png docs/images/",
"lint": "npm-run-all lint:web-ext lint:eslint",
"lint:eslint": "eslint .",
"lint:glean": "glean glinter ./metrics.yaml ./pings.yaml",
"lint:web-ext": "web-ext lint",
"package": "npm run build && web-ext build --overwrite-dest --ignore-files \"./tests/**/*\" --ignore-files \"./src/**/*\" --ignore-files \"./rollup.config.js\"",
"start": "npm run build && web-ext run",
"test:unit": "jest",
"test:integration": "npm run package && mv web-ext-artifacts/*.zip web-ext-artifacts/study.xpi && mocha --timeout 30000 \"./tests/integration/*.js\"",
"watch": "npm-run-all --parallel watch:raw watch:bundled",
"watch:raw": "npm run build:schema && npm run dev -- -w",
"watch:bundled": "npm run build:schema && web-ext run --watch-file dist/background.js --watch-file dist/content-scripts/attention-collector.js --watch-file schemas/measurements.1.schema.json"
},
"jest": {
"verbose": true,
"moduleFileExtensions": [
"js",
"json",
"jsx",
"ts",
"tsx",
"node"
],
"moduleNameMapper": {
"^@mozilla/glean/webext$": "<rootDir>/node_modules/@mozilla/glean/dist/webext/index/webext.js",
"^@mozilla/glean/webext/plugins/encryption$": "<rootDir>/node_modules/@mozilla/glean/dist/webext/plugins/encryption.js",
"^@mozilla/glean/webext/private/metrics/(.*)$": "<rootDir>/node_modules/@mozilla/glean/dist/webext/core/metrics/types/$1.js",
"^@mozilla/glean/webext/private/ping$": "<rootDir>/node_modules/@mozilla/glean/dist/webext/core/pings/ping_type.js",
"^jose/jwe/compact/encrypt$": "<rootDir>/node_modules/jose/dist/node/cjs/jwe/compact/encrypt.js",
"^jose/jwk/parse": "<rootDir>/node_modules/jose/dist/node/cjs/jwk/parse.js",
"^jose/jwk/thumbprint": "<rootDir>/node_modules/jose/dist/node/cjs/jwk/thumbprint.js"
},
"testEnvironment": "./tests/jest-custom-environment.js",
"transform": {
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
"^.+\\.js$": "babel-jest"
},
"setupFiles": [
"jest-webextension-mock"
],
"transformIgnorePatterns": [
"/node_modules/@mozilla/rally.js"
]
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@mozilla/glean": "^0.15.0",
"@mozilla/rally": "0.7.1",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.1",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.2.2",
"core-js": "^3.8.1",
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.1.0",
"geckodriver": "^1.21.0",
"jest": "^26.6.3",
"jest-transform-stub": "^2.0.0",
"jest-webextension-mock": "^3.7.6",
"jsdoc": "^3.6.6",
"mocha": "^8.1.3",
"npm-run-all": "^4.1.5",
"rollup": "^2.33.1",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"selenium-webdriver": "^4.0.0-alpha.7",
"sinon-chrome": "^3.0.1",
"tidy-jsdoc": "^1.4.0",
"web-ext": "^6.0.0",
"webextension-polyfill": "^0.7.0"
},
"dependencies": {
"sirv-cli": "^1.0.10"
},
"engines": {
"node": ">=14.0.0"
},
"description": "An exploratory study on what sites people use and how long they use them.",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-rally/rally-study-01.git"
},
"keywords": [],
"author": "Mozilla Rally",
"license": "MPL-2.0",
"private": true,
"bugs": {
"url": "https://github.com/mozilla-rally/rally-study-01/issues"
},
"homepage": "https://github.com/mozilla-rally/rally-study-01#readme"
}