2fas-browser-extension/package.json
2024-01-15 10:58:29 +01:00

117 lines
6.2 KiB
JSON

{
"name": "2fas-browser-extension",
"version": "1.6.0",
"description": "This is the official Browser Extension for the Open Source 2FAS project.",
"engines": {
"node": "20.9.0"
},
"scripts": {
"clean": "rimraf --glob ./public/*",
"chrome-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Chrome node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"chrome-prod": "yarn clean && yarn generate-locales && npx update-browserslist-db@latest && cross-env EXT_PLATFORM=Chrome NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"chrome-build": "yarn chrome-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/chrome_ext_%npm_package_version%.zip",
"opera-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Opera node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"opera-prod": "yarn clean && yarn generate-locales && npx update-browserslist-db@latest && cross-env EXT_PLATFORM=Opera NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"opera-build": "yarn opera-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/opera_ext_%npm_package_version%.zip",
"firefox-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Firefox node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"firefox-prod": "yarn clean && yarn generate-locales && npx update-browserslist-db@latest && cross-env EXT_PLATFORM=Firefox NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"firefox-build": "yarn firefox-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/firefox_ext_%npm_package_version%.zip",
"firefox-run": "web-ext run --source-dir ./public/",
"edge-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Edge node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"edge-prod": "yarn clean && yarn generate-locales && npx update-browserslist-db@latest && cross-env EXT_PLATFORM=Edge NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"edge-build": "yarn edge-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/edge_ext_%npm_package_version%.zip",
"safari-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Safari node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"safari-prod": "yarn clean && yarn generate-locales && npx update-browserslist-db@latest && cross-env EXT_PLATFORM=Safari NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"all-build": "rimraf --glob ./build/* && yarn generate-license-info && yarn chrome-build && yarn opera-build && yarn firefox-build && yarn edge-build",
"browserlist-update": "npx update-browserslist-db@latest",
"loco-export": "node webpack/utils/locoExport.js",
"loco-import": "node webpack/utils/locoImport.js",
"generate-locales": "node webpack/utils/generateLocales.js",
"generate-license-info-html": "license-report --output=html >> open-source-licenses.html",
"generate-license-info-json": "license-report --output=json >> open-source-licenses.json",
"generate-license-info": "yarn generate-license-info-html && yarn generate-license-info-json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/twofas/2fas-browser-extension.git"
},
"author": {
"name": "Grzegorz Zając",
"email": "g.zajac@2fas.com"
},
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/twofas/2fas-browser-extension/issues"
},
"homepage": "https://github.com/twofas/2fas-browser-extension#readme",
"funding": {
"type": "individual",
"url": "https://2fas.com/donate/"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.23.8",
"@babel/register": "^7.22.15",
"@babel/runtime": "^7.23.8",
"autoprefixer": "^10.4.15",
"babel-loader": "^9.1.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-minify-booleans": "^6.9.4",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-remove-debugger": "^6.9.4",
"babel-preset-minify": "^0.5.2",
"browserslist": "^4.22.2",
"copy-webpack-plugin": "^12.0.1",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.9.0",
"css-minimizer-webpack-plugin": "^5.0.1",
"dotenv": "^16.3.1",
"dotenv-webpack": "^8.0.1",
"eslint": "8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-webpack-plugin": "^4.0.1",
"exports-loader": "^4.0.0",
"file-loader": "^6.0.0",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.3",
"mini-css-extract-plugin": "^2.7.7",
"noop-loader": "^1.0.0",
"path": "^0.12.7",
"postcss": "^8.4.29",
"postcss-loader": "^7.3.3",
"postcss-sass": "^0.5.0",
"precss": "^4.0.0",
"require-dir": "^1.2.0",
"rimraf": "^5.0.1",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"source-map-loader": "^4.0.1",
"stream-browserify": "^3.0.0",
"streamify": "^1.0.0",
"style-loader": "^3.3.4",
"stylelint": "^15.10.3",
"stylelint-config-recommended-scss": "^13.1.0",
"stylelint-webpack-plugin": "^4.1.1",
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^5.3.9",
"url-loader": "^4.1.0",
"webextension-polyfill": "^0.10.0",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0",
"ws": "^8.14.1"
},
"dependencies": {
"qrcode": "^1.5.3",
"uuid": "^9.0.0"
}
}