Set up manifest and basic mqtt connection to adafruit io

This commit is contained in:
Dennis Schoepf 2020-11-23 12:49:29 +01:00
parent f3f8012ce3
commit 4f38af0a13
7 changed files with 7381 additions and 1 deletions

30
package.json Normal file
View file

@ -0,0 +1,30 @@
{
"name": "dii-hackathon-extension",
"version": "1.0.0",
"description": "Chrome extension that communicates with Adafruit.IO for the Design of Innovative Interactions course at University of Salzburg",
"main": "background.js",
"scripts": {
"clean": "rm -rf dist/background & rm -rf dist/frontend",
"serve": "parcel watch src/background/index.js --out-dir dist/background & parcel watch src/frontend/index.js --out-dir dist/frontend",
"build:back": "parcel build src/background/index.js --out-dir dist/background",
"build:front": "parcel build src/frontend/index.js --out-dir dist/frontend",
"build": "npm run clean && npm run build:back & npm run build:front",
"package": "npm run build && zip -r dii-hackathon-extension.zip dist/ manifest.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dennisschoepf/dii-hackathon-extension.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/dennisschoepf/dii-hackathon-extension/issues"
},
"homepage": "https://github.com/dennisschoepf/dii-hackathon-extension#readme",
"devDependencies": {
"dotenv": "^8.2.0",
"mqtt": "4.1.0",
"parcel": "^1.12.4"
}
}