mqtt-client init
parents
Showing
.editorconfig
0 → 100644
.eslintrc.js
0 → 100644
.fatherrc.js
0 → 100644
.gitignore
0 → 100644
.prettierignore
0 → 100644
.prettierrc.js
0 → 100644
package.json
0 → 100644
{ | |||
"name": "mqtt-client", | |||
"version": "1.0.0", | |||
"description": "", | |||
"main": "./lib/index.js", | |||
"module": "./es/index.js", | |||
"scripts": { | |||
"build": "father-build", | |||
"release": "np --no-cleanup --yolo --tag", | |||
"prepublishOnly": "yarn lint && yarn build", | |||
"lint": "yarn lint:js && yarn lint:prettier", | |||
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", | |||
"lint:fix": "yarn lint:js -- --fix", | |||
"lint:prettier": "check-prettier lint", | |||
"prettier": "prettier -c --write **/*" | |||
}, | |||
"dependencies": { | |||
"@babel/runtime": "^7.10.5", | |||
"js-base64": "^3.5.2", | |||
"kit_utils": "^1.3.6" | |||
}, | |||
"devDependencies": { | |||
"@umijs/fabric": "^2.0.7", | |||
"check-prettier": "^1.0.3", | |||
"cross-env": "^7.0.2", | |||
"father-build": "^1.7.0", | |||
"husky": "^2.3.0", | |||
"jest": "^25.2.2", | |||
"lint-staged": "^9.4.2", | |||
"np": "^5.0.3", | |||
"npm-run-all": "^4.1.5", | |||
"prettier": "^1.18.2", | |||
"rimraf": "^3.0.0" | |||
}, | |||
"repository": { | |||
"type": "git", | |||
"url": "https://g.civnet.cn:8443/test/mqtt-client.git" | |||
}, | |||
"bugs": { | |||
"url": "https://g.civnet.cn:8443/test/mqtt-client/issues" | |||
}, | |||
"homepage": "https://g.civnet.cn:8443/test/mqtt-client", | |||
"files": [ | |||
"dist", | |||
"es", | |||
"lib" | |||
], | |||
"lint-staged": { | |||
"**/*.{js,ts,json,css,md}": [ | |||
"yarn prettier", | |||
"git add" | |||
], | |||
"**/*.{js,ts}": [ | |||
"yarn lint:fix", | |||
"git add" | |||
] | |||
}, | |||
"jest": { | |||
"moduleFileExtensions": [ | |||
"js", | |||
"ts" | |||
], | |||
"testMatch": [ | |||
"<rootDir>/src/**/__tests__/**/*.test.js" | |||
], | |||
"testPathIgnorePatterns": [ | |||
"/node_modules/", | |||
"/fixtures/" | |||
], | |||
"coveragePathIgnorePatterns": [ | |||
"/node_modules/", | |||
"/__tests__/", | |||
"/dist/" | |||
] | |||
}, | |||
"publishConfig": { | |||
"registry": "https://g.civnet.cn:4873" | |||
}, | |||
"keywords": [], | |||
"author": "dengxiaofeng", | |||
"license": "MIT" | |||
} |
src/Client.js
0 → 100644
This diff is collapsed.
src/ClientImplementation.js
0 → 100644
This diff is collapsed.
src/Message.js
0 → 100644
src/Pinger.js
0 → 100644
src/WireMessage.js
0 → 100644
src/consts.js
0 → 100644
src/index.js
0 → 100644
src/utils.js
0 → 100644
Please
register
or
sign in
to comment