[BREAKGLASS] Wrap the Trezor.js & trezorlink JS libraries in a webpack setup to export a browser comaptible js file
Go to file
2019-05-20 07:20:57 +02:00
lib add trezor wrapper 2019-05-20 07:20:57 +02:00
src add trezor wrapper 2019-05-20 07:20:57 +02:00
.babelrc Support coverage with instabul and nyc 2018-11-23 23:49:31 +00:00
.editorconfig Add .editorconfig file 2017-07-08 03:35:15 -03:00
.eslintrc add trezor wrapper 2019-05-20 07:20:57 +02:00
.gitignore Support coverage with instabul and nyc 2018-11-23 23:49:31 +00:00
.nvmrc Add nvmrc file 2017-07-08 03:37:10 -03:00
.travis.yml Adding travis support #25 2017-11-28 06:04:06 +02:00
index.html add trezor wrapper 2019-05-20 07:20:57 +02:00
LICENSE Initial commit 2015-12-29 07:20:05 +02:00
package-lock.json add trezor wrapper 2019-05-20 07:20:57 +02:00
package.json add trezor wrapper 2019-05-20 07:20:57 +02:00
README.md add trezor wrapper 2019-05-20 07:20:57 +02:00
webpack.config.js add trezor wrapper 2019-05-20 07:20:57 +02:00
yarn.lock Changed nyc depedency to devDependency 2018-11-25 21:26:33 +00:00

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 build or npm run build - produces production version of your library under the lib folder
  • yarn dev or npm run dev - produces development version of your library and runs a watcher
  • yarn test or npm run test - well ... it runs the tests :)
  • yarn test:watch or npm run test:watch - same as above but in a watch mode