-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62cab53
commit 2240dcc
Showing
28 changed files
with
4,970 additions
and
555 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,43 @@ | ||
{ | ||
"name": "image-browser-extension", | ||
"targets": { | ||
"webext-dev": { | ||
"sourceMap": { | ||
"inline": true, | ||
"inlineSources": true | ||
}, | ||
"distDir": "build" | ||
}, | ||
"webext-prod-firefox": { | ||
"distDir": "build-firefox" | ||
}, | ||
"webext-prod-chrome": { | ||
"distDir": "build-chrome" | ||
} | ||
}, | ||
"scripts": { | ||
"start": "parcel serve src/manifest.json --target webext-dev --dist-dir build", | ||
"clean": "rm -rf build && rm -rf build-firefox && rm -rf build-chrome", | ||
"pack:test": "npm run clean && cross-env NODE_ENV=test parcel build src/manifest.json --target webext-prod-chrome", | ||
"pack:prod": "mv src/manifest.json src/manifest.json.bak && jq '.name = \"__MSG_extensionName__\"' src/manifest.json.bak > src/manifest.json && npm run clean && cross-env NODE_ENV=prod parcel build src/manifest.json --target webext-prod-chrome", | ||
"prestart": "(cd schemas && json2ts -i '*.json' -o ../src/types)", | ||
"build:chromium": "npm run pack:prod && chromium --pack-extension=build --pack-extension-key=$PATH_TO_CHROME_KEY && mkdir -p dist && mv build.crx dist/IMAGE-chrome.crx" | ||
"pack:test": "webpack --define-process-env-node-env development --devtool false --config webpack.config.ts", | ||
"pack:prod": "webpack --define-process-env-node-env production --config webpack.config.ts" | ||
}, | ||
"devDependencies": { | ||
"@parcel/config-webextension": "^2.7.0", | ||
"@parcel/transformer-sass": "^2.7.0", | ||
"@parcel/transformer-typescript-tsc": "^2.7.0", | ||
"@parcel/validator-typescript": "^2.7.0", | ||
"@tsconfig/recommended": "^1.0.8", | ||
"@types/chrome": "^0.0.297", | ||
"@types/object-hash": "^2.2.1", | ||
"@types/progressbar.js": "^1.1.2", | ||
"@types/uuid": "^8.3.3", | ||
"@types/w3c-web-serial": "1.0.2", | ||
"@types/webextension-polyfill": "^0.8.2", | ||
"babel-loader": "^9.2.1", | ||
"copy-webpack-plugin": "^12.0.2", | ||
"cross-env": "^7.0.2", | ||
"css-loader": "^7.1.2", | ||
"dotenv": "^16.4.7", | ||
"json-schema-to-typescript": "^10.1.4", | ||
"parcel": "^2.7.0", | ||
"cross-env": "^7.0.2" | ||
"style-loader": "^4.0.0", | ||
"ts-loader": "^9.5.2", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.7.3", | ||
"webpack": "^5.91.0", | ||
"webpack-cli": "^5.1.4" | ||
}, | ||
"dependencies": { | ||
"@types/chrome": "^0.0.164", | ||
"@popperjs/core": "2.11.6", | ||
"@types/w3c-web-serial": "1.0.2", | ||
"bootstrap": "^5.0.1", | ||
"browser-image-compression": "^2.0.0", | ||
"object-hash": "^3.0.0", | ||
"progressbar.js": "^1.1.0", | ||
"uuid": "^8.3.2", | ||
"webextension-polyfill": "^0.8.0", | ||
"typescript": "4.8.3", | ||
"@popperjs/core": "2.11.6" | ||
"webextension-polyfill": "^0.8.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" href="./errors.css" /> | ||
<!-- <link rel="stylesheet" href="./errors.css" /> --> | ||
</head> | ||
<body> | ||
<p> | ||
<span class="localisation" id="errorMessage"></span> | ||
<a href="mailto:[email protected]">[email protected]</a>. | ||
</p> | ||
<button class="localisation" id="closingButton" type="button"></button> | ||
<script type="module" src="./errors.ts"></script> | ||
<script type="module" src="./errors.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/firstLaunch/firstLaunch.scss → src/firstLaunch/firstLaunch.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.