initial commit: working mqtt example

This commit is contained in:
2018-01-04 20:26:48 -07:00
commit b3c3f2bcce
13 changed files with 6150 additions and 0 deletions

60
package.json Normal file
View File

@@ -0,0 +1,60 @@
{
"name": "mosca-playground",
"version": "0.0.0",
"description": "Another fine project",
"module": "index.mjs",
"scripts": {
"lint": "eslint *.js src/**/*.js",
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"test": "npm run lint && nyc ava",
"test:only": "ava",
"test:dev": "ava --watch",
"start": "node .",
"dev": "nodemon ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/w33ble/mosca-playground.git"
},
"keywords": [],
"author": "Joe Fleming (https://github.com/w33ble)",
"license": "MIT",
"bugs": {
"url": "https://github.com/w33ble/mosca-playground/issues"
},
"homepage": "https://github.com/w33ble/mosca-playground",
"lint-staged": {
"*.{js,json,css}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5"
},
"@std/esm": {
"cjs": true
},
"dependencies": {
"@std/esm": "^0.18.0",
"level": "^1.7.0",
"mosca": "^2.7.0"
},
"devDependencies": {
"ava": "^0.23.0",
"codecov": "^3.0.0",
"eslint": "^4.9.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.1.0",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"nodemon": "^1.14.7",
"nyc": "^11.2.1",
"prettier": "^1.9.0"
}
}