@bdelab/roar-sre 1.15.13 → 1.15.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@bdelab/roar-sre",
3
3
  "description": "The ROAR hackathon version of the timed sentence reading efficiency",
4
- "version": "1.15.13",
4
+ "version": "1.15.14",
5
5
  "author": "Jasmine Tran <jasetran@stanford.edu>",
6
- "module": "lib/index.b5e26d22.js",
7
- "main": "lib/index.b5e26d22.js",
6
+ "module": "lib/index.DVbLP9JI.js",
7
+ "main": "lib/index.DVbLP9JI.js",
8
8
  "type": "module",
9
9
  "files": [
10
10
  "lib"
@@ -13,14 +13,23 @@
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
14
  "build:dev": "npx webpack --mode production --env dbmode=development",
15
15
  "build:prod": "npx webpack --mode production --env dbmode=production",
16
+ "emulate:start": "npx firebase emulators:start",
17
+ "emulate:import": "npx firebase emulators:start --project=gse-roar-assessment-dev --import=./emulator-exports --export-on-exit=./emulator-exports",
18
+ "emulate:stop": "npx kill-port 4000 5000 8080 9099 9000",
19
+ "emulate:serve": "npx webpack serve --open --mode development --env dbmode=emulator",
20
+ "emulate:serve-ci": "npx http-server dist -p 8000",
21
+ "emulate:build": "npx webpack --mode production --env dbmode=emulator",
22
+ "preemulate:import": "mkdir -p firebase && curl -o firebase/firestore.rules https://raw.githubusercontent.com/yeatmanlab/roar-dashboard/main/firebase/assessment/firestore.rules",
23
+ "preemulate:start": "mkdir -p firebase && curl -o firebase/firestore.rules https://raw.githubusercontent.com/yeatmanlab/roar-dashboard/main/firebase/assessment/firestore.rules",
24
+ "preemulate:serve": "npx kill-port 8000",
16
25
  "prepackage": "rimraf lib/",
17
26
  "package": "npx rollup -c",
18
27
  "postpackage": "node postBuildPackage.js",
19
28
  "prepublishOnly": "npm run package",
20
29
  "postversion": "GIT_REMOTE=$(git remote -v | grep \"yeatmanlab/roar-sre.git \\(push\\)\" | cut -f 1) && git push $GIT_REMOTE && git push $GIT_REMOTE --tags",
21
- "predev": "fkill :8000 -f || true",
30
+ "predev": "kill-port 8000 || true",
22
31
  "dev": "npx webpack serve --open --mode development --env dbmode=development",
23
- "preprod": "fkill :8000 -f || true",
32
+ "preprod": "kill-port 8000 || true",
24
33
  "prod": "npx webpack serve --open --mode development --env dbmode=production",
25
34
  "lint": "npx eslint --ext .ts,.tsx,.js,.jsx .",
26
35
  "format": "npx prettier . --write",
@@ -45,7 +54,7 @@
45
54
  "dependencies": {
46
55
  "@babel/core": "^7.19.3",
47
56
  "@babel/preset-env": "^7.19.4",
48
- "@bdelab/roar-firekit": "^4.7.0",
57
+ "@bdelab/roar-firekit": "^9.0.0",
49
58
  "@bdelab/roar-utils": "^1.2.2",
50
59
  "@jspsych-contrib/plugin-audio-multi-response": "^1.0.0",
51
60
  "@jspsych-contrib/plugin-html-multi-response": "^1.0.2",
@@ -61,9 +70,9 @@
61
70
  "@sentry/integrations": "^7.101.1",
62
71
  "@sentry/wasm": "^7.101.0",
63
72
  "babel-loader": "^8.2.5",
64
- "dotenv": "^16.3.1",
73
+ "dotenv": "^16.4.5",
65
74
  "file-loader": "^6.2.0",
66
- "firebase": "^10.5.0",
75
+ "firebase": "^10.13.2",
67
76
  "i18next": "^23.2.11",
68
77
  "i18next-browser-languagedetector": "^7.1.0",
69
78
  "jspsych": "^7.3.4",
@@ -83,23 +92,33 @@
83
92
  "@rollup/plugin-terser": "^0.4.3",
84
93
  "@sentry/rollup-plugin": "^2.14.0",
85
94
  "@sentry/webpack-plugin": "^2.14.0",
95
+ "buffer": "^6.0.3",
86
96
  "css-loader": "^6.7.1",
87
97
  "csv-loader": "^3.0.5",
88
- "cypress": "^13.6.4",
98
+ "cypress": "^13.15.0",
99
+ "cypress-fs": "^0.2.6",
100
+ "dotenv-webpack": "^8.1.0",
89
101
  "eslint": "^8.25.0",
90
102
  "eslint-config-airbnb-base": "^15.0.0",
91
103
  "eslint-config-prettier": "^9.0.0",
92
104
  "eslint-plugin-cypress": "^2.15.1",
93
105
  "eslint-plugin-import": "^2.26.0",
94
- "fkill-cli": "^8.0.0",
106
+ "events": "^3.3.0",
107
+ "firebase-tools": "^13.20.0",
95
108
  "folder-hash": "^4.0.2",
96
- "html-webpack-plugin": "^5.5.0",
109
+ "html-webpack-plugin": "^5.6.0",
110
+ "http-server": "^14.1.1",
111
+ "kill-port": "^2.0.1",
112
+ "path-browserify": "^1.0.1",
97
113
  "prettier": "^3.0.3",
98
114
  "rimraf": "^5.0.1",
99
115
  "rollup-plugin-postcss": "^4.0.2",
100
116
  "sass": "^1.65.1",
101
117
  "sass-loader": "^13.3.2",
118
+ "stream-browserify": "^3.0.0",
102
119
  "style-loader": "^3.3.1",
120
+ "util": "^0.12.5",
121
+ "wait-on": "^8.0.1",
103
122
  "webpack-cli": "^5.1.4",
104
123
  "webpack-merge": "^5.8.0"
105
124
  }