2fas-browser-extension/package.json

118 lines
6.3 KiB
JSON
Raw Normal View History

2023-03-21 08:20:34 +01:00
{
"name": "2fas-browser-extension",
2024-06-25 09:40:48 +02:00
"version": "1.7.2",
2023-03-21 08:20:34 +01:00
"description": "This is the official Browser Extension for the Open Source 2FAS project.",
"engines": {
2024-09-23 17:05:21 +02:00
"node": "20.17.0"
2023-03-21 08:20:34 +01:00
},
"scripts": {
2024-03-04 11:27:24 +01:00
"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",
2024-03-25 14:06:50 +01:00
"browserlist-update": "npx -y browserslist@latest --update-db",
2023-09-13 18:50:23 +02:00
"loco-export": "node webpack/utils/locoExport.js",
"loco-import": "node webpack/utils/locoImport.js",
2024-03-04 11:27:24 +01:00
"check-build-directory": "node webpack/utils/checkBuildDirectoryExists.js",
2023-03-21 08:20:34 +01:00
"generate-locales": "node webpack/utils/generateLocales.js",
2024-03-04 11:27:24 +01:00
"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 .."
2023-03-21 08:20:34 +01:00
},
"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": {
2024-06-25 09:45:06 +02:00
"@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",
2024-05-06 17:23:11 +02:00
"autoprefixer": "^10.4.19",
2023-09-12 08:31:50 +02:00
"babel-loader": "^9.1.3",
2023-03-21 08:20:34 +01:00
"babel-plugin-transform-minify-booleans": "^6.9.4",
"babel-plugin-transform-remove-debugger": "^6.9.4",
"babel-preset-minify": "^0.5.2",
2024-09-23 17:05:21 +02:00
"browserslist": "^4.23.3",
2024-01-29 12:32:07 +01:00
"copy-webpack-plugin": "^12.0.2",
2023-03-21 08:20:34 +01:00
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
2024-06-25 09:45:06 +02:00
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
2024-02-26 12:59:03 +01:00
"dotenv": "^16.4.5",
2024-05-06 17:23:11 +02:00
"dotenv-webpack": "^8.1.0",
2024-09-23 17:05:21 +02:00
"eslint": "9.11.0",
"eslint-config-standard": "^17.1.0",
2023-03-21 08:20:34 +01:00
"eslint-friendly-formatter": "^4.0.1",
2024-05-06 17:23:11 +02:00
"eslint-plugin-import": "^2.29.1",
2024-06-25 09:45:06 +02:00
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-promise": "^6.2.0",
2023-03-21 08:20:34 +01:00
"eslint-plugin-standard": "^5.0.0",
2024-06-25 09:45:06 +02:00
"eslint-webpack-plugin": "^4.2.0",
2024-01-29 12:32:07 +01:00
"exports-loader": "^5.0.0",
2023-03-21 08:20:34 +01:00
"file-loader": "^6.0.0",
2024-01-29 12:32:07 +01:00
"html-loader": "^5.0.0",
2024-05-06 17:23:11 +02:00
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
2023-03-21 08:20:34 +01:00
"noop-loader": "^1.0.0",
"path": "^0.12.7",
2024-03-18 13:41:51 +01:00
"postcss": "^8.4.36",
2024-03-02 13:26:04 +01:00
"postcss-loader": "^8.1.1",
2023-03-21 08:20:34 +01:00
"postcss-sass": "^0.5.0",
"precss": "^4.0.0",
"require-dir": "^1.2.0",
2024-09-23 17:05:21 +02:00
"rimraf": "^6.0.1",
2024-06-25 09:45:06 +02:00
"sass": "^1.77.6",
2024-09-23 17:05:21 +02:00
"sass-loader": "^16.0.2",
2024-01-29 12:32:07 +01:00
"source-map-loader": "^5.0.0",
2023-03-21 08:20:34 +01:00
"stream-browserify": "^3.0.0",
"streamify": "^1.0.0",
2024-05-06 17:23:11 +02:00
"style-loader": "^4.0.0",
2024-09-23 17:05:21 +02:00
"stylelint": "^16.9.0",
2024-03-08 10:01:49 +01:00
"stylelint-config-recommended-scss": "^14.0.0",
2024-06-25 09:45:06 +02:00
"stylelint-webpack-plugin": "^5.0.1",
2023-03-21 08:20:34 +01:00
"svg-inline-loader": "^0.8.2",
2024-05-06 17:23:11 +02:00
"terser-webpack-plugin": "^5.3.10",
2023-03-21 08:20:34 +01:00
"url-loader": "^4.1.0",
2024-06-25 09:45:06 +02:00
"webextension-polyfill": "^0.12.0",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
2023-03-21 08:20:34 +01:00
"webpack-node-externals": "^3.0.0",
2024-06-25 09:45:06 +02:00
"ws": "^8.17.1",
2024-03-04 11:27:24 +01:00
"yarn-or-npm": "^3.0.1"
2023-03-21 08:20:34 +01:00
},
"dependencies": {
2024-06-25 09:45:06 +02:00
"@babel/runtime": "^7.24.7",
2023-05-09 07:51:42 +02:00
"qrcode": "^1.5.3",
2024-06-25 09:45:06 +02:00
"uuid": "^10.0.0"
2023-03-21 08:20:34 +01:00
}
}