mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00

* socket: Fork @iov/socket * socket: Remove nonces * socket: Update package.json * socket: Update README * socket: Remove tslint * socket: Fix lint warnings * scripts: Fork socketserver from IOV Core * root: Update NOTICE for socket * tendermint-rpc: Replace @iov/socket dependency with @cosmjs/socket * root: Update CI config for tendermint/socket * scripts: Add wait to tendermint start script * socket: Add coverage
20 lines
447 B
JavaScript
20 lines
447 B
JavaScript
const glob = require("glob");
|
|
const path = require("path");
|
|
const webpack = require("webpack");
|
|
|
|
const target = "web";
|
|
const distdir = path.join(__dirname, "dist", "web");
|
|
|
|
module.exports = [
|
|
{
|
|
// bundle used for Karma tests
|
|
target: target,
|
|
entry: glob.sync("./build/**/*.spec.js"),
|
|
output: {
|
|
path: distdir,
|
|
filename: "tests.js",
|
|
},
|
|
plugins: [new webpack.EnvironmentPlugin(["SOCKETSERVER_ENABLED"])],
|
|
},
|
|
];
|