You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB
JSON

{
"name": "redmine-reactions-frontend",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:firefox": "cp manifest-firefox.json manifest.json && tsc && vite build",
"package:firefox": "npm run build:firefox && web-ext build --source-dir dist/ --overwrite-dest",
"package:firefox-signed": "echo -e 'nameserver 1.1.1.1\noptions single-request-reopen' > /etc/resolv.conf && npm run build:firefox && web-ext sign --source-dir dist/ --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET",
"build:chrome": "cp manifest-chrome.json manifest.json && npm run build",
"package:chrome": "npm run build:chrome && crx3 dist/ --key redmine-reactions.pem --output dist/redmine-reactions.crx"
},
"dependencies": {
"webextension-polyfill": "^0.10.0",
"web-ext": "^7.8.0",
"crx3": "^1.1.2",
"emoji-picker-react": "^4.9.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.0-beta.21",
"@types/chrome": "^0.0.254",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/webextension-polyfill": "^0.10.7",
"@vitejs/plugin-react": "^4.2.0",
"typescript": "^5.2.2",
"vite": "^5.0.0"
}
}