-
- Downloads
added esm and browser bundles
Showing
- .gitignore 4 additions, 1 deletion.gitignore
- .npmignore 6 additions, 0 deletions.npmignore
- package-lock.json 3878 additions, 7452 deletionspackage-lock.json
- package.json 16 additions, 8 deletionspackage.json
- tests/integration/index.test.js 1 addition, 1 deletiontests/integration/index.test.js
- tsconfig.json 10 additions, 5 deletionstsconfig.json
- webpack.config.js 42 additions, 0 deletionswebpack.config.js
.npmignore
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
{ | ||
"name": "usp-js", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"description": "Helper library for easy usp communication using mqtt over tcp or ws.", | ||
"main": "build/src/index.js", | ||
"main": "lib/index.js", | ||
"web": "_bundles/index.min.js", | ||
"scripts": { | ||
"dev": "tsc -w --outDir build", | ||
"build": "tsc --outDir build", | ||
"clean": "shx rm -rf _bundles lib lib-esm", | ||
"ts": "tsc && tsc -m es6 --outDir lib-esm", | ||
"wb": "webpack --mode=production", | ||
"build": "npm run clean && npm run ts && npm run wb", | ||
"dev": "tsc --watch", | ||
"test": "mocha tests/integration", | ||
"docs": "npx typedoc", | ||
"prepublishOnly": "npm run build && npm run docs" | ||
... | ... | @@ -18,11 +22,15 @@ |
"protobufjs": "^6.10.1" | ||
}, | ||
"devDependencies": { | ||
"awesome-typescript-loader": "^5.2.1", | ||
"mocha": "^8.2.1", | ||
"parcel-bundler": "^1.12.4", | ||
"typedoc": "^0.19.2", | ||
"typescript": "^4.0.5" | ||
"shx": "^0.3.3", | ||
"typedoc": "^0.20.36", | ||
"typescript": "^4.2.4", | ||
"uglifyjs-webpack-plugin": "^2.2.0", | ||
"webpack": "^4.0.0", | ||
"webpack-cli": "^4.6.0" | ||
}, | ||
"type": "commonjs", | ||
"types": "build/src/types.d.ts" | ||
"types": "lib-esm/index.d.ts" | ||
} |
webpack.config.js
0 → 100644
Please register or sign in to comment