2fas-browser-extension/package.json
2024-09-23 17:05:21 +02:00

118 lines
6.3 KiB
JSON

{
"name": "2fas-browser-extension",
"version": "1.7.2",
"description": "This is the official Browser Extension for the Open Source 2FAS project.",
"engines": {
"node": "20.17.0"
},
"scripts": {
"clean": "npx -y rimraf --glob ./public/*",
"chrome-dev": "yon clean && yon generate-locales && npx -y cross-env EXT_PLATFORM=Chrome node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"chrome-prod": "yon clean && yon generate-locales && yon browserlist-update && npx -y cross-env EXT_PLATFORM=Chrome NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"chrome-build": "yon chrome-prod && npx -y rimraf ./public/.gitkeep && yon check-build-directory && npx -y cross-env PLATFORM=Chrome yon zip-build",
"opera-dev": "yon clean && yon generate-locales && npx -y cross-env EXT_PLATFORM=Opera node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"opera-prod": "yon clean && yon generate-locales && yon browserlist-update && npx -y cross-env EXT_PLATFORM=Opera NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"opera-build": "yon opera-prod && npx -y rimraf ./public/.gitkeep && yon check-build-directory && npx -y cross-env PLATFORM=Opera yon zip-build",
"firefox-dev": "yon clean && yon generate-locales && npx -y cross-env EXT_PLATFORM=Firefox node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"firefox-prod": "yon clean && yon generate-locales && yon browserlist-update && npx -y cross-env EXT_PLATFORM=Firefox NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"firefox-build": "yon firefox-prod && npx -y rimraf ./public/.gitkeep && yon check-build-directory && npx -y cross-env PLATFORM=Firefox yon zip-build",
"firefox-run": "npx -y web-ext run --source-dir ./public/",
"edge-dev": "yon clean && yon generate-locales && npx -y cross-env EXT_PLATFORM=Edge node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"edge-prod": "yon clean && yon generate-locales && yon browserlist-update && npx -y cross-env EXT_PLATFORM=Edge NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"edge-build": "yon edge-prod && npx -y rimraf ./public/.gitkeep && yon check-build-directory && npx -y cross-env PLATFORM=Edge yon zip-build",
"safari-dev": "yon clean && yon generate-locales && npx -y cross-env EXT_PLATFORM=Safari node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
"safari-prod": "yon clean && yon generate-locales && yon browserlist-update && npx -y cross-env EXT_PLATFORM=Safari NODE_ENV=production node_modules/.bin/webpack --mode production --progress --config webpack/production.config.js",
"all-build": "npx -y rimraf --glob ./build/* && yon generate-license-info && yon chrome-build && yon opera-build && yon firefox-build && yon edge-build",
"browserlist-update": "npx -y browserslist@latest --update-db",
"loco-export": "node webpack/utils/locoExport.js",
"loco-import": "node webpack/utils/locoImport.js",
"check-build-directory": "node webpack/utils/checkBuildDirectoryExists.js",
"generate-locales": "node webpack/utils/generateLocales.js",
"generate-license-info-html": "npx -y license-report --output=html >> open-source-licenses.html",
"generate-license-info-json": "npx -y license-report --output=json >> open-source-licenses.json",
"generate-license-info": "yon generate-license-info-html && yon generate-license-info-json",
"zip-build": "cd ./public/ && npx -y cross-var npx -y bestzip ../build/$PLATFORM_ext_$npm_package_version.zip * & cd .."
},
"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.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/register": "^7.24.6",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"babel-plugin-transform-minify-booleans": "^6.9.4",
"babel-plugin-transform-remove-debugger": "^6.9.4",
"babel-preset-minify": "^0.5.2",
"browserslist": "^4.23.3",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"dotenv": "^16.4.5",
"dotenv-webpack": "^8.1.0",
"eslint": "9.11.0",
"eslint-config-standard": "^17.1.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-promise": "^6.2.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-webpack-plugin": "^4.2.0",
"exports-loader": "^5.0.0",
"file-loader": "^6.0.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
"noop-loader": "^1.0.0",
"path": "^0.12.7",
"postcss": "^8.4.36",
"postcss-loader": "^8.1.1",
"postcss-sass": "^0.5.0",
"precss": "^4.0.0",
"require-dir": "^1.2.0",
"rimraf": "^6.0.1",
"sass": "^1.77.6",
"sass-loader": "^16.0.2",
"source-map-loader": "^5.0.0",
"stream-browserify": "^3.0.0",
"streamify": "^1.0.0",
"style-loader": "^4.0.0",
"stylelint": "^16.9.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-webpack-plugin": "^5.0.1",
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^5.3.10",
"url-loader": "^4.1.0",
"webextension-polyfill": "^0.12.0",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0",
"ws": "^8.17.1",
"yarn-or-npm": "^3.0.1"
},
"dependencies": {
"@babel/runtime": "^7.24.7",
"qrcode": "^1.5.3",
"uuid": "^10.0.0"
}
}