update browser extension

pull/1160/head
Sara Gibbons 1 year ago
parent 81a152ed88
commit 067dfd171f

File diff suppressed because one or more lines are too long

@ -1,12 +1,12 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"name": "My Carbon Trigger", "name": "My Carbon Trigger",
"version": "0.1.0", "version": "0.1.0",
"permissions": ["<all_urls>"], "host_permissions": ["<all_urls>"],
"background": { "background": {
"scripts": ["background.js"] "service_worker": "background.js"
}, },
"browser_action": { "action": {
"default_popup": "index.html" "default_popup": "index.html"
} }
} }

File diff suppressed because it is too large Load Diff

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"engines": {
"npm": ">=9.0.0",
"node": ">=18.0.0"
},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"watch": "webpack --watch", "watch": "webpack --watch",
@ -13,13 +17,13 @@
"edge extension", "edge extension",
"carbon usage tracker" "carbon usage tracker"
], ],
"author": "Jen Looper", "author": "Microsoft Cloud Advocacy Team",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"webpack": "^4.44.1", "webpack": "^5.88.1",
"webpack-cli": "^3.3.12" "webpack-cli": "^5.1.4"
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.1" "axios": "^1.4.0"
} }
} }

@ -1,4 +1,4 @@
import axios from './node_modules/axios'; import axios from 'axios';
// form fields // form fields
const form = document.querySelector('.form-data'); const form = document.querySelector('.form-data');

@ -1,12 +1,12 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"name": "My Carbon Trigger", "name": "My Carbon Trigger",
"version": "0.1.0", "version": "0.1.0",
"permissions": ["<all_urls>"], "host_permissions": ["<all_urls>"],
"background": { "background": {
"scripts": ["background.js"] "service_worker": "background.js"
}, },
"browser_action": { "action": {
"default_popup": "index.html" "default_popup": "index.html"
} }
} }

File diff suppressed because it is too large Load Diff

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"engines": {
"npm": ">=9.0.0",
"node": ">=18.0.0"
},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"watch": "webpack --watch", "watch": "webpack --watch",
@ -13,13 +17,13 @@
"edge extension", "edge extension",
"carbon usage tracker" "carbon usage tracker"
], ],
"author": "Jen Looper", "author": "Microsoft Cloud Advocacy Team",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"webpack": "^4.44.1", "webpack": "^5.88.1",
"webpack-cli": "^3.3.12" "webpack-cli": "^5.1.4"
}, },
"dependencies": { "dependencies": {
"axios": "^0.19.2" "axios": "^1.4.0"
} }
} }

Loading…
Cancel
Save