2fas-browser-extension/package.json

117 lines
6.2 KiB
JSON
Raw Normal View History

2023-03-21 08:20:34 +01:00
{
"name": "2fas-browser-extension",
2023-12-08 13:39:32 +01:00
"version": "1.6.0",
2023-03-21 08:20:34 +01:00
"description": "This is the official Browser Extension for the Open Source 2FAS project.",
"engines": {
2023-11-13 19:54:38 +01:00
"node": "20.9.0"
2023-03-21 08:20:34 +01:00
},
"scripts": {
2023-04-11 09:49:33 +02:00
"clean": "rimraf --glob ./public/*",
2023-03-21 08:20:34 +01:00
"chrome-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Chrome node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
2023-10-22 19:51:46 +02:00
"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",
2023-03-28 16:51:20 +02:00
"chrome-build": "yarn chrome-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/chrome_ext_%npm_package_version%.zip",
2023-03-21 08:20:34 +01:00
"opera-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Opera node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
2023-10-22 19:51:46 +02:00
"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",
2023-03-28 16:51:20 +02:00
"opera-build": "yarn opera-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/opera_ext_%npm_package_version%.zip",
2023-03-21 08:20:34 +01:00
"firefox-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Firefox node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
2023-10-22 19:51:46 +02:00
"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",
2023-03-28 16:51:20 +02:00
"firefox-build": "yarn firefox-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/firefox_ext_%npm_package_version%.zip",
2023-03-21 08:20:34 +01:00
"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",
2023-10-22 19:51:46 +02:00
"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",
2023-03-28 16:51:20 +02:00
"edge-build": "yarn edge-prod && rimraf ./public/.gitkeep && powershell Compress-Archive ./public/* ./build/edge_ext_%npm_package_version%.zip",
2023-03-21 08:20:34 +01:00
"safari-dev": "yarn clean && yarn generate-locales && cross-env EXT_PLATFORM=Safari node_modules/.bin/webpack --mode development --progress --config webpack/development.config.js",
2023-10-22 19:51:46 +02:00
"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",
2023-05-09 11:15:56 +02:00
"all-build": "rimraf --glob ./build/* && yarn generate-license-info && yarn chrome-build && yarn opera-build && yarn firefox-build && yarn edge-build",
2023-10-22 19:51:46 +02:00
"browserlist-update": "npx update-browserslist-db@latest",
2023-09-13 18:50:23 +02:00
"loco-export": "node webpack/utils/locoExport.js",
"loco-import": "node webpack/utils/locoImport.js",
2023-03-21 08:20:34 +01:00
"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": {
2023-11-13 19:55:25 +01:00
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
2023-11-28 11:29:40 +01:00
"@babel/plugin-transform-runtime": "^7.23.4",
2023-11-13 19:55:25 +01:00
"@babel/preset-env": "^7.23.3",
2023-09-12 08:31:50 +02:00
"@babel/register": "^7.22.15",
2023-11-28 11:29:40 +01:00
"@babel/runtime": "^7.23.4",
2023-09-12 08:31:50 +02:00
"autoprefixer": "^10.4.15",
"babel-loader": "^9.1.3",
2023-03-21 08:20:34 +01:00
"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",
2023-12-11 09:35:08 +01:00
"browserslist": "^4.22.2",
2023-03-21 08:20:34 +01:00
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
2023-09-13 18:50:23 +02:00
"dotenv": "^16.3.1",
2023-03-21 08:20:34 +01:00
"dotenv-webpack": "^8.0.1",
2023-12-11 09:35:08 +01:00
"eslint": "8.55.0",
"eslint-config-standard": "^17.1.0",
2023-03-21 08:20:34 +01:00
"eslint-friendly-formatter": "^4.0.1",
2023-11-13 19:55:25 +01:00
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.1",
2023-03-21 08:20:34 +01:00
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
2023-04-11 09:49:33 +02:00
"eslint-webpack-plugin": "^4.0.1",
2023-03-21 08:20:34 +01:00
"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.6",
2023-03-21 08:20:34 +01:00
"noop-loader": "^1.0.0",
"path": "^0.12.7",
2023-09-12 08:31:50 +02:00
"postcss": "^8.4.29",
"postcss-loader": "^7.3.3",
2023-03-21 08:20:34 +01:00
"postcss-sass": "^0.5.0",
"precss": "^4.0.0",
"require-dir": "^1.2.0",
"rimraf": "^5.0.1",
2023-11-13 19:55:25 +01:00
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
2023-03-21 08:20:34 +01:00
"source-map-loader": "^4.0.1",
"stream-browserify": "^3.0.0",
"streamify": "^1.0.0",
"style-loader": "^3.3.3",
2023-09-12 08:31:50 +02:00
"stylelint": "^15.10.3",
2023-11-13 19:55:25 +01:00
"stylelint-config-recommended-scss": "^13.1.0",
2023-04-11 09:49:33 +02:00
"stylelint-webpack-plugin": "^4.1.1",
2023-03-21 08:20:34 +01:00
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^5.3.9",
2023-03-21 08:20:34 +01:00
"url-loader": "^4.1.0",
"webextension-polyfill": "^0.10.0",
2023-09-12 08:31:50 +02:00
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
2023-03-21 08:20:34 +01:00
"webpack-node-externals": "^3.0.0",
2023-09-12 08:31:50 +02:00
"ws": "^8.14.1"
2023-03-21 08:20:34 +01:00
},
"dependencies": {
2023-05-09 07:51:42 +02:00
"qrcode": "^1.5.3",
2023-03-21 08:20:34 +01:00
"uuid": "^9.0.0"
}
}