{"_id":"@byuhbll/hbll-dev-server","_rev":"14-96c13153e45b95cb5a1f833602364342","name":"@byuhbll/hbll-dev-server","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@byuhbll/hbll-dev-server","version":"1.0.0","author":{"name":"byuhbll"},"license":"BSD-3-Clause","_id":"@byuhbll/hbll-dev-server@1.0.0","maintainers":[{"name":"joslarson","email":"larson.joseph@gmail.com"}],"homepage":"https://bitbucket.org/byuhbll/hbll-dev-server#readme","dist":{"shasum":"c246d43fface0ebe10986914cdf11cd779c2edc9","tarball":"https://registry.npmjs.org/@byuhbll/hbll-dev-server/-/hbll-dev-server-1.0.0.tgz","fileCount":9,"integrity":"sha512-odVPUSaqAZZ4DOvqNepWuUsyfcYdqXHwiCbT13AtXjLtpFBNe/8BJ9Rs2OnsY7Q5xv9JaPGBsRZiSRVSbjCq/w==","signatures":[{"sig":"MEUCIHXOlq5EnqICdyEnFx2vSnPohkjPtk3Src7XpSJFYlh5AiEA/dEwmPkO1zYv1Xg8SM6x5h2NzhJgfmHXjndZ0zMNXSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2nPSCRA9TVsSAnZWagAA6PIQAJoZ6K9vXWF8wDl2QKmq\nC6gz5VDxyuuJJu3ci+Ucs2fJQtpQuBqaciLODT0FrvnH9/YPq9QJCp1u/IVN\nJjRe4S93SC4K/zuWtG2m8ClrULMepp/YXRkPQ/b8KkfgVTnFteSOQeV9JKbc\nH8hQJOFdtpfSusOT+3kjJFF39C3m/W5pxZYarAScSDjpUKQOUNmdrrTmYsQ2\n0FVjDB9ReLR6U+WaAs8aFt9UirVlgO4fi8Z1+8h5uKvXWk/obBx7cvqOosSS\ncvRLbAelat5vzOkAUqXmBlmD4eakLFvWQKGDCeIAf1vdzRZNmV0L5jAdAV2T\nIH3ELMBtBW1o05n4126tIa11FKc/EvPw7RohYR3OWUI/PjBGvakgRaQnzbgj\nYnNdHKp0QdG8xGg3d8WmLd8vjmV9zqD2QHQU9lqjPjXzXAR4nSZKDb9Bbg4l\nZN7HjBKEkxOjJL4nWIeSWsjHhjkVDDO5aN2USql0BVV2VshR5RMnjce/M1kM\n8yitrfGJbivuHdztNgMtnxFNbyFW7Pc//nT0+eEiEx5G8ZEgSG9SR/l66AVA\n3+gMuPJ23lfRZLfhGJjIJ2VBI843DTOXhSRCp5vm0f25EtqjENPmYO5op2up\nof0SkYeyClVTK2an7FvouqyX4nwfohghRW8qX4+LAYqvYD6ukQRlHJe5M+P6\n8iu/\r\n=3YKD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">= 8.9.0"},"gitHead":"7351144284edebfb288de50d50366eb3b387aa5e","scripts":{"build":"tsc -p .","watch":"tsc -w -p ."},"_npmUser":{"name":"joslarson","email":"larson.joseph@gmail.com"},"repository":{"url":"git+https://bitbucket.org/byuhbll/hbll-dev-server.git","type":"git"},"_npmVersion":"5.5.1","description":"Helper function to integrate Django and BrowserSync with webpack-dev-server.","directories":{},"_nodeVersion":"8.9.1","dependencies":{"tslib":"^1.9.0","pty.js":"^0.3.1","browser-sync":"^2.23.7","glob-watcher":"^5.0.1","@types/browser-sync":"0.0.39","connect-browser-sync":"^2.1.0","@types/webpack-dev-server":"^2.9.4"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^4.6.0","typescript":"^2.8.3","@types/node":"^9.6.6","@types/webpack":"^4.1.3"},"_npmOperationalInternal":{"tmp":"tmp/hbll-dev-server_1.0.0_1524265937979_0.7029322686980632","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@byuhbll/hbll-dev-server","version":"1.0.1","keywords":["webpack-dev-server","browsersync","django"],"author":{"name":"byuhbll"},"license":"BSD-3-Clause","_id":"@byuhbll/hbll-dev-server@1.0.1","maintainers":[{"name":"joslarson","email":"larson.joseph@gmail.com"}],"homepage":"https://bitbucket.org/byuhbll/hbll-dev-server#readme","dist":{"shasum":"6fd2c4b585f5a1db660f1b0fe584dcbf9f9333c7","tarball":"https://registry.npmjs.org/@byuhbll/hbll-dev-server/-/hbll-dev-server-1.0.1.tgz","fileCount":9,"integrity":"sha512-UjH34qhp50ASP202vm4rOOuVA8sfRhzBObisMZRVponLxbrJA0Wyu8Rrn5JGPn4sJ3shnfxuZaJcUcwDtGKxBQ==","signatures":[{"sig":"MEQCIGk/dcs+sSiTwA1Ny5vm4zxPrYVN/0aTAqUhrtBoVPW/AiAWZi1/4w0jB+XzU/dAKRGKPMLObrPhROfwMNMi9L9ZuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2nVGCRA9TVsSAnZWagAAmdcP/i6ePm0O5HGpsOn9rpyg\n1bSkzRTVmp31abYWFQq0ryKPwTC0+T6GJQsQ+sw0iCnW3QaoDQzZoubYb61C\n8ddpTXYuMgK/B7q2UctIFJXabuV2wL4dr/qiplQFJJA8wslVPFxLkdsIzHzd\ndiCR09bbN4nNd8zJgEk3kRveHiKV8sSCFF8jcktrfVZBs5if4ICGTNkEfmj3\nVOrK5bajXJeIYIQdL7jmfdve3PLSWA0GLWAueaOuvzoaKLckZTB7c083eSHW\n/GTJlSeDfvKbLfS/vZREdWFIHRNjSO0KKU7HOtAmAdJ8z84PxhZq2C2bggej\n0Z+u9lNv+UNabdWFyGfKdZOk1QYhvRD3wOvMNC+kGlUykulP/DRemlq6dA6Q\nFR0QeSBgkApecRHZjmBpK+TpDPrgB1bwxhN0MGm56HrHH1WhcIAqyhg/4zxE\nM7/r7qcECIunnta6jls+RRvT2qVf6oJIzncqPqkPa82xLwzuzsEHOnkfL7MR\nPpGy/7Ztxhj3qcW72WW+98Gzp7rhBqwA3irenoPIEdJNIzuIdWeTq3gI2WMs\no3mWBtPH+Igq3fk1Fp7oeREAD+Bt5wKVIV/w6aYty6xZeLhTwPnzJSEXx89X\naLsIDNkeG7cjWBuRaHpulZAKLqZJS+jFP7aDVX/kPsLvMUiJhXefGfKaz+uO\nvMoD\r\n=fVBl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">= 8.9.0"},"gitHead":"022c04063441917f073a1c7bd0d0bb483e65cf4b","scripts":{"build":"tsc -p .","watch":"tsc -w -p ."},"_npmUser":{"name":"joslarson","email":"larson.joseph@gmail.com"},"repository":{"url":"git+https://bitbucket.org/byuhbll/hbll-dev-server.git","type":"git"},"_npmVersion":"5.5.1","description":"Helper function to integrate Django and BrowserSync with webpack-dev-server.","directories":{},"_nodeVersion":"8.9.1","dependencies":{"tslib":"^1.9.0","pty.js":"^0.3.1","browser-sync":"^2.23.7","glob-watcher":"^5.0.1","@types/browser-sync":"0.0.39","connect-browser-sync":"^2.1.0","@types/webpack-dev-server":"^2.9.4"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^4.6.0","typescript":"^2.8.3","@types/node":"^9.6.6","@types/webpack":"^4.1.3"},"_npmOperationalInternal":{"tmp":"tmp/hbll-dev-server_1.0.1_1524266309696_0.047601506071180966","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@byuhbll/hbll-dev-server","version":"1.0.2","keywords":["webpack-dev-server","browsersync","django"],"author":{"name":"byuhbll"},"license":"BSD-3-Clause","_id":"@byuhbll/hbll-dev-server@1.0.2","maintainers":[{"name":"joslarson","email":"larson.joseph@gmail.com"}],"homepage":"https://bitbucket.org/byuhbll/hbll-dev-server#readme","dist":{"shasum":"f5c2a6250347f7e353cdceaad431f61693da0c0f","tarball":"https://registry.npmjs.org/@byuhbll/hbll-dev-server/-/hbll-dev-server-1.0.2.tgz","fileCount":9,"integrity":"sha512-D9In/McNZaI7sNyD2aWRJThrx+bV87Dyd3Dz3PIqhLdoKtkrRxb+AZHotB/nFYWeGclHV5lVM3H08WTSj2Qd6w==","signatures":[{"sig":"MEUCIQCCGnW2BVU9MuTCVvreXQKEtjRWlwaTalV9uTv25bemfQIgHX/kbAmH6StsXv+q1ej9iM/ruXiRn8kORsNiBHJnI2Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKt6+CRA9TVsSAnZWagAA194QAJneolYRBhbXr3GWrWBn\njpMGogMWWIB1LRy7xamoazu8yXLTAzKVcQVpOnyEPoa791p8rfKOW185r8tg\n9yQk81WwAV2jtI3UO4YRHsKFvWXikMRg4yJFYG7XP1K/0HrSzfmxA5TYu/SF\nliEUR0WIsvxeltkcOz/ps5eG+LukAkVLrtBh6HjhwZYThgq3v548n0e/jlbw\nRlbATxCbI+P46bKUMfnkUlyff43YFpHlwtAH/m/Y9dujeCcSGlz1jn6KDuE+\n92n+6rf73DCmtxllQ8shFzbvjJK42h3+ol7nwkjWv6XHxIlKyTykHLbvPUj0\nsnhajtGxYx+CNl+weGRMp7Q449smLU/H099QUjWD4zkpS2KM6AM/i0KyTJH3\nmykkM1BqC24E8u5W7hPk47GztGEZPCJSqKHftIqVY1ospKgH+vliKbshiOLg\nGce7mqHaAN3gQx7npjGYiphpZp2Jj1nsGmk50UsvOSF74Df1BtGE5P3zomVO\nai6Ei8ZNuh0pz7RyZJ99HMEiJ6Mlwv5vO1uMCb0RQ5AqjfF0RR3qEur/quDP\n5DB1MmRqX0+wzjJiuMVI9JkkkASg2b6KdkYclHo9mHpqhYmaIAUGbxdK4SLu\nDQhChkOwSfr15sqJvM6D/uVUTPSaRB1hcsodP+XKDE7i8+fPVbQbUHWfth4n\ntTEL\r\n=05Q4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">= 8.9.0"},"gitHead":"ac8d8774432a5284dd7abdee3f1ef7cce5c5bb51","scripts":{"build":"tsc -p .","watch":"tsc -w -p ."},"_npmUser":{"name":"joslarson","email":"larson.joseph@gmail.com"},"repository":{"url":"git+https://bitbucket.org/byuhbll/hbll-dev-server.git","type":"git"},"_npmVersion":"6.1.0","description":"Helper function to integrate Django and BrowserSync with webpack-dev-server.","directories":{},"_nodeVersion":"8.9.1","dependencies":{"tslib":"^1.9.0","pty.js":"^0.3.1","browser-sync":"^2.23.7","glob-watcher":"^5.0.1","@types/browser-sync":"0.0.39","connect-browser-sync":"^2.1.0","@types/webpack-dev-server":"^2.9.4"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^4.6.0","typescript":"^2.8.3","@types/node":"^9.6.6","@types/webpack":"^4.1.3"},"_npmOperationalInternal":{"tmp":"tmp/hbll-dev-server_1.0.2_1529536189578_0.20177134208838332","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-04-20T23:12:17.926Z","modified":"2025-10-29T21:11:39.892Z","1.0.0":"2018-04-20T23:12:18.048Z","1.0.1":"2018-04-20T23:18:29.766Z","1.0.2":"2018-06-20T23:09:49.635Z"},"author":{"name":"byuhbll"},"license":"BSD-3-Clause","homepage":"https://bitbucket.org/byuhbll/hbll-dev-server#readme","keywords":["webpack-dev-server","browsersync","django"],"repository":{"url":"git+https://bitbucket.org/byuhbll/hbll-dev-server.git","type":"git"},"description":"Helper function to integrate Django and BrowserSync with webpack-dev-server.","maintainers":[{"email":"mathewbehling@gmail.com","name":"mbehling"},{"email":"brent.ellingson@byu.edu","name":"brent.ellingson"},{"email":"hbll-software@byu.edu","name":"hbll-software"}],"readme":"# hbll-dev-server\n\nHelper function to integrate Django and BrowserSync with webpack-dev-server.\n\n## Requirements\n\n* node.js v8.9+\n* webpack v4.0+\n* webpack-dev-server v3.0+\n\n## Installation\n\n```bash\n$ npm install --save-dev @byuhbll/hbll-dev-server\n```\n\n## Usage\n\n```js\n// webpack.config.js\n\nconst hbllDevServer = require('@byuhbll/hbll-dev-server');\n\nmodule.exports = {\n    ...\n    devServer: hbllDevServer({\n        port: 8000,\n        // optionally run and proxy Django dev server\n        django: {\n            host: '127.0.0.1',\n            port: 8001,\n            settings: 'config/settings/dev.py',\n            restartPatterns: ['./**/*.py', './config.yml', '!node_modules'],\n            useRunserverPlus: true,\n        },\n        // see BrowserSync docs for valid BrowserSync config options:\n        // https://www.browsersync.io/docs/options\n        browsersync: {\n            files: [\n                './core/static/css/**/*.css',\n                './core/static/img/**/*',\n                './core/templates/**/*.html',\n            ],\n        },\n        // hbllDevServer also takes devServer config options and forwards them.\n        // See the webpack-dev-server docs for valid config options:\n        // https://webpack.js.org/configuration/dev-server/\n        stats: { timings: true, chunks: false, modules: false },\n    }),\n};\n```\n\nThe `django` and `browsersync` options are not required, and if left out, will not be integrated into the `devServer` config. All `django` and `browsersync` settings are optional as well, providing sane defaults.\n\nOnce you've configured your dev server, start it up:\n\n```bash\n$ webpack-dev-server --mode development --hot\n```\n","readmeFilename":"README.md"}