-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.69 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.69 KB
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
{
"name": "threshold",
"version": "0.0.1",
"private": "true",
"sideEffects": [
"*.css",
"components/sentry.js",
"components/global.js"
],
"description": "Threshold Participant.",
"main": "threshold.js",
"scripts": {
"setup:psychojs": "cd psychojs && git checkout threshold-prod && npm ci && cd ..",
"format": "prettier --write \"**/*.{js,css,html,md,ts}\"",
"phrases": "node server/fetch-languages-sheets.mjs && prettier --write components/i18n.js && git add components/i18n.js",
"glossary": "(node server/prepare-glossary.cjs && prettier --write parameters/glossary*.ts && git add parameters/glossary*.ts) || true",
"fetch": "npm run phrases && npm run glossary",
"prepare": "husky install && npm run setup:psychojs",
"check:rust": "sh server/check-rust.sh",
"check:ts": "tsc --noEmit -p tsconfig.json",
"build:rust": "cd @rust && cargo build --release --target wasm32-unknown-unknown && rm -rf pkg && mkdir -p pkg && wasm-bindgen --target web --out-dir pkg target/wasm32-unknown-unknown/release/easyeyes_wasm.wasm",
"start": "node server/start.mjs",
"build": "npm run check:rust && npm run check:ts && vite build --mode production",
"preview": "vite preview",
"examples": "sh server/examples.sh",
"cleanup-examples": "cd examples && ts-node cleanupOldExamples.ts",
"cleanup-examples:dry-run": "cd examples && ts-node cleanupOldExamples.ts --dry-run",
"update:submodules": "git submodule update --init --recursive",
"clean": "rm -r node_modules",
"netlify:install": "npm ci",
"netlify": "npm run netlify:install && npm run update:submodules && npm run setup:psychojs && npm run build && npm run examples",
"netlify:website": "npm run netlify:install && npm run update:submodules && npm run setup:psychojs && npm run build",
"analyze:phrases-undefined": "node server/i18n-phrases-static-analysis.mjs undefined",
"analyze:phrases-unused": "node server/i18n-phrases-static-analysis.mjs unused"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EasyEyes/threshold.git"
},
"keywords": [
"psychology"
],
"author": "EasyEyes",
"license": "MIT",
"bugs": {
"url": "https://github.com/EasyEyes/threshold/issues"
},
"homepage": "https://github.com/EasyEyes/threshold#readme",
"devDependencies": {
"@sentry/vite-plugin": "^2.22.0",
"@types/file-saver": "^2.0.7",
"@types/inquirer": "^9.0.0",
"@types/jest": "^29.5.14",
"@types/papaparse": "^5.3.11",
"@types/webfontloader": "^1.6.37",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"dataframe-js": "^1.4.4",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"file-saver": "^2.0.5",
"googleapis": "^128.0.0",
"husky": "^8.0.3",
"inquirer": "^9.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"vite": "^5.0.0",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0"
},
"lint-staged": {
"*.{js,css,html,md,ts}": "prettier --write"
},
"dependencies": {
"@ffmpeg/core": "^0.11.0",
"@ffmpeg/ffmpeg": "^0.11.6",
"@sentry/browser": "^10.32.1",
"arraybuffer-to-audiobuffer": "^0.0.5",
"axios": "^1.6.1",
"buffer": "^6.0.3",
"chart.js": "^4.4.0",
"firebase": "^10.6.0",
"image-js": "^0.35.3",
"jszip": "^3.10.1",
"mathjs": "^11.9.0",
"merge-audio-buffers": "^1.0.0",
"papaparse": "^5.4.1",
"stats.js": "^0.17.0",
"sweetalert2": "^11.14.0",
"virtual-keypad": "^5.17.0",
"webfontloader": "^1.6.28",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
}
}