[BREAKGLASS] Wrap the Trezor.js & trezorlink JS libraries in a webpack setup to export a browser comaptible js file
| lib | ||
| src | ||
| .babelrc | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .nvmrc | ||
| .travis.yml | ||
| index.html | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| webpack.config.js | ||
| yarn.lock | ||
trezor-webpack-wrapper
Features
- Webpack 4 based.
- ES6 as a source.
- Exports in a umd format so your library works everywhere.
- ES6 test setup with Mocha and Chai.
- Linting with ESLint.
Scripts
yarn buildornpm run build- produces production version of your library under thelibfolderyarn devornpm run dev- produces development version of your library and runs a watcheryarn testornpm run test- well ... it runs the tests :)yarn test:watchornpm run test:watch- same as above but in a watch mode