-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 9.85 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 9.85 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "simple-zeeguu",
"version": "0.1.0",
"private": true,
"homepage": "https://www.zeeguu.org/",
"dependencies": {
"@capacitor/android": "^7.4.3",
"@capacitor/app": "^7.1.1",
"@capacitor/cli": "^7.4.3",
"@capacitor/core": "^7.4.3",
"@capacitor/ios": "^7.4.3",
"@capacitor/preferences": "^7.0.3",
"@capacitor/splash-screen": "^7.0.3",
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@mozilla/readability": "^0.6.0",
"@mui/icons-material": "^5.0.1",
"@mui/material": "^5.0.1",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-tooltip": "^1.2.8",
"@sentry/cli": "^2.21.2",
"@sentry/react": "^7.74.1",
"@tiptap/extension-link": "^2.26.2",
"@tiptap/react": "^2.26.2",
"@tiptap/starter-kit": "^2.26.1",
"axios": "^1.4.0",
"cross-fetch": "^4.0.0",
"date-fns": "^2.19.0",
"email-validator": "^2.0.4",
"fast-levenshtein": "3.0.0",
"franc": "^6.2.0",
"franc-min": "^6.2.0",
"js-cookie": "^3.0.1",
"linked-list": "^3.0.1",
"localized-strings": "^0.2.4",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"puppeteer": "^24.34.0",
"qs": "^6.10.3",
"react": "^18.3.1",
"react-click-outside-hook": "^1.1.1",
"react-confetti": "^6.1.0",
"react-datepicker": "^4.1.1",
"react-dom": "^18.3.1",
"react-icons": "^4.2.0",
"react-idle-timer": "^5.7.2",
"react-loader-spinner": "^4.0.0",
"react-modal": "^3.14.4",
"react-router-dom": "^5.2.0",
"react-swipeable": "^7.0.2",
"react-toastify": "^9.1.3",
"react-youtube": "^10.1.0",
"react18-bootstrap-sweetalert": "^5.2.2",
"remove-accents": "^0.4.2",
"styled-components": "^6.1.19",
"uuid": "^9.0.0",
"web-vitals": "^2.1.0",
"webpack-cli": "^4.9.2"
},
"scripts": {
"start": "vite",
"dev": "vite",
"local": "VITE_API_URL='http://localhost:9001' vite",
"remote": "VITE_API_URL='https://api.zeeguu.org' vite",
"screenshots": "cd ios/App/appstore-screenshots && rm -f output/*.png && BASE_URL=${BASE_URL:-http://localhost:3000} node render-live.js && node render.js && node copy-to-fastlane.js",
"test": "vitest",
"build": "vite build",
"build:with-sourcemaps": "vite build --sourcemap && npm run sentry:sourcemaps",
"preview": "vite preview",
"sentry:sourcemaps": "./node_modules/.bin/sentry-cli sourcemaps inject --org it-university-of-copenhagen --project zeeguu-web ./build && ./node_modules/.bin/sentry-cli sourcemaps upload --org it-university-of-copenhagen --project zeeguu-web ./build",
"ext:updateZeeguuReact": "cd src/extension && git submodule update --remote --merge && (cd src/zeeguu-react/ && npm install)",
"ext:installDepsWindows": "cd src/extension && cd .\\src\\zeeguu-react && npm install && cd ..\\..\\. && mklink /d .\\node_modules .\\src\\zeeguu-react\\node_modules",
"ext:installDeps": "cd src/extension && (cd src/zeeguu-react/ && npm install) && ln -s src/zeeguu-react/node_modules .",
"ext:prebuild": "cd src/extension && rm -rf build",
"ext:buildDev": "npm run ext:buildDevUnix:popup && npm run ext:buildDev:bg && npm run ext:buildDev:izo && cd src/extension && rm ./build/manifest.* && cp ./manifest.chrome.dev.json ./build/manifest.json",
"ext:buildProd": "npm run ext:buildUnix:popup && npm run ext:build:bg && npm run ext:build:izo && cd src/extension && rm ./build/manifest.* && cp ./manifest.chrome.json ./build/manifest.json",
"ext:buildWindows": "cd src/extension && npm-run-all buildWindows:* && npm-run-all build:* && copy .\\public\\manifest.chrome.json .\\build\\manifest.json /Y",
"ext:buildWindowsDev": "cd src/extension && npm-run-all buildWindows:* && npm-run-all build:* && copy .\\public\\manifest.chrome.dev.json .\\build\\manifest.json /Y",
"ext:buildUnix:popup": "cd src/extension && webpack --mode production ./src/popup.js --output-path ./build/ --output-filename popup.js",
"ext:buildDevUnix:popup": "cd src/extension && NODE_ENV=development webpack --mode development ./src/popup.js --output-path ./build/ --output-filename popup.js",
"ext:buildWindows:popup": "cd src/extension && webpack --mode production ./src/popup.js --output-path ./build/ --output-filename popup.js",
"ext:build:bg": "cd src/extension && webpack --mode production ./src/background/background.js --output-path ./build/ --output-filename background.js",
"ext:buildDev:bg": "cd src/extension && NODE_ENV=development webpack --mode development ./src/background/background.js --output-path ./build/ --output-filename background.js",
"ext:build:izo": "cd src/extension && webpack --mode production ./src/injectOnZeeguuOrg/injectOnZeeguuOrg.js --output-path ./build/ --output-filename injectOnZeeguuOrg.js",
"ext:buildDev:izo": "cd src/extension && NODE_ENV=development webpack --mode development ./src/injectOnZeeguuOrg/injectOnZeeguuOrg.js --output-path ./build/ --output-filename injectOnZeeguuOrg.js",
"ext:pub": "cd src/extension && zip -FSr build.zip build && open https://chrome.google.com/webstore/devconsole/7f6da896-c12c-4cb3-8ad7-b1641fc8efbc/ckncjmaednfephhbpeookmknhmjjodcd/edit/package",
"ext:buildFirefox": "npm run ext:buildUnix:popup && npm run ext:build:bg && npm run ext:build:izo && cd src/extension && rm ./build/manifest.* && cp ./manifest.firefox.json ./build/manifest.json",
"ext:buildFirefoxDev": "npm run ext:buildUnix:popup && npm run ext:build:bg && npm run ext:build:izo && cd src/extension && rm ./build/manifest.* && cp ./manifest.firefox.dev.json ./build/manifest.json",
"ext:buildFirefoxWindows": "cd src/extension && npm-run-all buildWindows:* && npm-run-all build:* && copy .\\public\\manifest.firefox.json .\\build\\manifest.json /Y",
"ext:buildFirefoxWindowsDev": "cd src/extension && npm-run-all buildWindows:* && npm-run-all build:* && copy .\\public\\manifest.firefox.dev.json .\\build\\manifest.json /Y",
"ext:pubFirefox": "(cd src/extension/build && zip -FSr ../build.zip *) && npm run ext:zipSources && open https://addons.mozilla.org/en-US/developers/addons",
"ext:pub-ci": "cd src/extension && (cd src && git clone -b development https://github.com/zeeguu-ecosystem/zeeguu-react.git && cd zeeguu-react && npm ci) && cp ./public/manifest.chrome.json ./build/manifest.json && npm-run-all build:* && zip -FSr build.zip build",
"ext:pub-ci-firefox": "cd src/extension && (cd src && git clone -b development https://github.com/zeeguu-ecosystem/zeeguu-react.git && cd zeeguu-react && npm ci) && npm run buildFirefox && zip -FSr build.zip build",
"ext:zip-build": "cd src/extension && (cd build && zip -r ../build.zip . -x \"*.DS_Store\" \"debug*\" \"test-*\" \"simple.html\")",
"ext:buildZipChrome": "npm run ext:buildUnix:popup && npm run ext:build:bg && npm run ext:build:izo && cd src/extension && mkdir -p ./build/images && cp ./index.html ./build/index.html && cp ../../public/static/images/* ./build/images/ && cp ./manifest.chrome.json ./build/manifest.json && npm run ext:zip-build",
"ext:buildZipFirefox": "npm run ext:buildFirefox && npm run ext:zip-build",
"ext:version": "node src/extension/scripts/update-version.js",
"ext:release": "node src/extension/scripts/prepare-release.js",
"ext:git": "node src/extension/scripts/git-helpers.js",
"ext:get-refresh-token": "node src/extension/scripts/get-refresh-token.js",
"ext:publish:chrome": "npm run ext:buildZipChrome && node src/extension/scripts/publish-chrome.js",
"ext:publish:firefox": "npm run ext:buildZipFirefox && node src/extension/scripts/publish-firefox.js",
"ext:publish": "npm run ext:publish:chrome && npm run ext:publish:firefox",
"ext:zipSources": "cd src/extension && zip -FSr zeeguu-reader-source-code.zip . -x 'build/*' 'node_modules/*' 'src/zeeguu-react/node_modules/*' 'src/zeeguu-react/build/*' '.git/*' build.zip '.idea/*'",
"prebuild": "BROWSERSLIST_IGNORE_OLD_DATA=1 node scripts/update-service-worker-version.js",
"mobile:dev": "bash scripts/cap-dev.sh both",
"android:dev": "bash scripts/cap-dev.sh android",
"android:build": "npm run build && npx cap sync android",
"android:open": "npm run android:build && npx cap open android",
"android:beta": "npm run android:build && cd android && fastlane beta",
"android:release": "npm run android:build && cd android && fastlane release",
"ios:dev": "bash scripts/cap-dev.sh ios",
"ios:build": "npm run build && npx cap sync ios",
"ios:open": "npm run ios:build && npx cap open ios",
"ios:version": "grep MARKETING_VERSION ios/App/App.xcodeproj/project.pbxproj | head -1 && cd ios/App && agvtool what-version",
"ios:bump": "cd ios/App && agvtool new-marketing-version",
"ios:beta": "npm run ios:build && cd ios/App && fastlane beta",
"ios:release": "npm run ios:build && cd ios/App && fastlane release",
"ios:release-force": "npm run ios:build && cd ios/App && fastlane release_force",
"ios:copy-screenshots": "node ios/App/appstore-screenshots/copy-to-fastlane.js",
"ios:render-screenshots": "node ios/App/appstore-screenshots/render.js",
"ios:render-live-screenshots": "node ios/App/appstore-screenshots/render-live.js"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.28.5",
"@vitejs/plugin-react": "^5.1.1",
"babel-loader": "^8.2.3",
"babel-plugin-styled-components": "^2.1.4",
"jsdom": "^27.0.1",
"prettier": "3.2.5",
"svg-inline-loader": "^0.8.2",
"typescript": "^5.9.3",
"vite": "^7.2.6",
"vite-plugin-svgr": "^4.5.0",
"vitest": "^3.2.4",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.10.2"
},
"overrides": {
"d3-color": "3.1.0",
"nth-check": "2.1.1",
"serialize-javascript": "^7.0.3"
}
}