{"_id":"@alexandernanberg/bricks","_rev":"4-4fd17e41ebfc0bb49e239f41ac5f5358","name":"@alexandernanberg/bricks","dist-tags":{"latest":"4.1.0"},"versions":{"3.0.0":{"name":"@alexandernanberg/bricks","description":"A zero-configuration toolkit for building modern web apps","version":"3.0.0","author":{"name":"Alexander Nanberg","email":"alexander.nanberg@strateg.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexandernanberg/bricks.git"},"keywords":["bricks","toolkit","0CJS","zero-configuration"],"engines":{"node":">=12"},"bin":{"bricks":"bin/bricks.js"},"scripts":{"lint":"eslint .","format":"prettier --write **/*.js"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint","prettier --write"]},"dependencies":{"@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-runtime":"^7.4.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","arg":"^4.1.0","autoprefixer":"^9.1.3","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.2.0","babel-plugin-macros":"^2.4.2","babel-plugin-transform-async-to-promises":"^0.8.15","babel-plugin-transform-react-remove-prop-types":"^0.4.24","browser-sync":"^2.24.7","case-sensitive-paths-webpack-plugin":"^2.1.2","chalk":"^4.1.0","compression":"^1.7.3","core-js":"^3.0.0","cssnano":"^4.1.0","del":"^5.0.0","execa":"^4.0.0","find-up":"^4.0.0","friendly-errors-webpack-plugin":"^1.7.0","gulp":"^4.0.0","gulp-if":"^3.0.0","gulp-imagemin":"^7.0.0","gulp-plumber":"^1.2.0","gulp-postcss":"^8.0.0","gulp-sass":"^4.0.1","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.4","gulp-svg-sprite":"^1.4.0","postcss-import":"^12.0.0","pretty-hrtime":"^1.0.3","read-pkg-up":"^7.0.0","require-dir":"^1.0.0","semver":"^7.0.0","time-stamp":"^2.1.0","webpack":"^4.26.0","webpack-dev-middleware":"^3.2.0","webpack-hot-middleware":"^2.24.3"},"devDependencies":{"eslint":"^7.4.0","eslint-config-alexandernanberg":"^1.11.4","husky":"^4.0.0","lint-staged":"^10.0.0","prettier":"^2.0.0"},"gitHead":"555f11651c0716bf35e0ae0b0cc50b4c431b8537","bugs":{"url":"https://github.com/alexandernanberg/bricks/issues"},"homepage":"https://github.com/alexandernanberg/bricks#readme","_id":"@alexandernanberg/bricks@3.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-y7cgartMeQEnv6SZZVOqmyrwB5i8VFNx4St9UX8Tzg6VJ/qcIE2j8vl5cFG2oG/uOYocVfGN6X1yCqSwylk3Qw==","shasum":"a2a7a99160849ed3ef90b56e3838b330d8f017b6","tarball":"https://registry.npmjs.org/@alexandernanberg/bricks/-/bricks-3.0.0.tgz","fileCount":28,"unpackedSize":29453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCJrMCRA9TVsSAnZWagAAYn0P/RndCFgK5c3wPe39h8/1\nW97G7sLF/LoccktFroVTbWoLR6NH0Bf1AWQKfS3oHA///Ptx3ckOLhnyr/S1\nsfRQ525z2M5u4uhk+ph5obPDrwbh77zcycfktYLYa12sdZY1PJP0Mvx2mqcv\nl/53iUk9dcRbTsHved6ZS5iDz5mJNx6OSqRrBiKd04yKDD8Lv8ky+Ffcztl7\n48wbRk2z9A2eI0qZ7vT1/U9t+qGWKQfxJyt6kN34PXqkSeZa3WKJvYKuD3p6\nVbHwnl2xWJSX6Vv/dE+RPrsvnqZtmoEmh3e8kuO5CsFInuHUn4MK+RkWO8T0\nSM5Gfi53qUlWkh8lDU2iU7Ht25EFobz/bPNHzRaLgeV/w2axeyLJJ2anUDi7\noSL1DZ2FOIGz1RiUXpFIdNKDLgjruYXEVqkbGvMYtxZbEklF9wEkwV7I8UyZ\n+NJa+ISAsz2M3DJFgQB4w5ePUvuPE+ln1VKGaYsNBHHcdd41W8/c0P7Yzbjg\n2RduerOtrZOW/aBEWMXDcyk+Q8WwweS4wleUXeDCo6SMMtA2CuLtBPHw9M0B\nS2C87efWyHro52yg7B40RrYw9zhIFoRSNw9kygS/V+yOC2Ma+0D6v7HxL/yr\ncLZUDXylBhWVFiSRxtMjOQ1z1RrMNJCKPdj8FfMTKiklfH5TyRLBacDf/mWg\nuQIb\r\n=npJs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKAYIxqg2ePVFZ9D1+j2O1JF5zOMgoQyFTyh46ZscQYAiEAlZzE9mAcu0q3orNxEq3/iL5I+02t4NIy/OLKmUVYtyA="}]},"maintainers":[{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"}],"_npmUser":{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bricks_3.0.0_1594399436436_0.43800872036154725"},"_hasShrinkwrap":false},"3.0.1":{"name":"@alexandernanberg/bricks","description":"A zero-configuration toolkit for building modern web apps","version":"3.0.1","author":{"name":"Alexander Nanberg","email":"alexander.nanberg@strateg.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexandernanberg/bricks.git"},"keywords":["bricks","toolkit","0CJS","zero-configuration"],"engines":{"node":">=12"},"bin":{"bricks":"bin/bricks.js"},"scripts":{"lint":"eslint .","format":"prettier --write **/*.js"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint","prettier --write"]},"dependencies":{"@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-runtime":"^7.4.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","arg":"^4.1.0","autoprefixer":"^9.1.3","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.2.0","babel-plugin-macros":"^2.4.2","babel-plugin-transform-async-to-promises":"^0.8.15","babel-plugin-transform-react-remove-prop-types":"^0.4.24","browser-sync":"^2.24.7","case-sensitive-paths-webpack-plugin":"^2.1.2","chalk":"^4.1.0","compression":"^1.7.3","core-js":"^3.0.0","cssnano":"^4.1.0","del":"^5.0.0","execa":"^4.0.0","find-up":"^4.0.0","friendly-errors-webpack-plugin":"^1.7.0","gulp":"^4.0.0","gulp-if":"^3.0.0","gulp-imagemin":"^7.0.0","gulp-plumber":"^1.2.0","gulp-postcss":"^8.0.0","gulp-sass":"^4.0.1","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.4","gulp-svg-sprite":"^1.4.0","postcss-import":"^12.0.0","pretty-hrtime":"^1.0.3","read-pkg-up":"^7.0.0","require-dir":"^1.0.0","semver":"^7.0.0","time-stamp":"^2.1.0","webpack":"^4.26.0","webpack-dev-middleware":"^3.2.0","webpack-hot-middleware":"^2.24.3"},"devDependencies":{"eslint":"^7.4.0","eslint-config-alexandernanberg":"^1.11.4","husky":"^4.0.0","lint-staged":"^10.0.0","prettier":"^2.0.0"},"gitHead":"9bdec0da6eb45637836c0df95208e6f3a66bbd39","bugs":{"url":"https://github.com/alexandernanberg/bricks/issues"},"homepage":"https://github.com/alexandernanberg/bricks#readme","_id":"@alexandernanberg/bricks@3.0.1","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ouuYDgvu+Q2xcJvO1Ns9HmCrXssPO6IGQUrLz9f3HGeNM0DpVLfvxv6RYdsEJlgr85r+7ISZEn58fJNX8SuKoA==","shasum":"5b60aa059a20476eb7e8612b3c0869fde5a1ede6","tarball":"https://registry.npmjs.org/@alexandernanberg/bricks/-/bricks-3.0.1.tgz","fileCount":28,"unpackedSize":29469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCJxRCRA9TVsSAnZWagAAsUsQAJelCviE/rVPmM7aPlWb\nxjmbpWnQQvnJuAWEUtL7D6uhAIKa1ynAj9R/HCZ0WLwh/HJoyxHsFh7sf/bt\n/MbsNcm650ZinKj2MalYYQdTeNeC19jTEwK5Sv2rPul0KKfhAMgo1pEXhDwz\n8c7eCrjFupE8bRB6ASYQSc1G/bQg8Rt25R9zagyiT1yCMW6FTA5GDFO1C7rX\n71T18FU9b/y6bcRpcRWiUDZi1XuD/6EczKpXlT0MJSytzjnLUaKrG6+3QNIG\ndSYS01yWkUa01pC83cHMv04Npy1GpiYAblCTDCxlBvXCOWgbXHGjdp8WCYHt\nC0XfMK4SFVvY7pK0X5D9EtorSmMuYZQ6ZHpFNy2qcZgeSRMUZioSugDs6V3V\n6/pZQrRN9VExOBPfXbzXIlzCh9xtmFC8PFcJ14yXgwnOqTVVQQ/7QnCQSHva\nbMTd097yxyr7j91CND+QlpyxL16mfFdRqBYkqbzCp5go6LbF6UO5l44FCvaD\nizM8iXCxeS+SWGX+4Oj6t8piEffmrF8iULdzcTZ1Hk+hC7cXGXRnTB9MuH3z\nTwF4IQN9ySOnOQvNJWi9QvRCeTNaxlk6gYd6EFBXBWt/gFljqmSSMUcFe3jQ\nna1MmNsFyM2S9RCUmSBWDa0ZCkW8Z4jMD+QeFtfQb+X8vlr+MsSdARnlFxn8\nwCFK\r\n=KJ+C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwv6EfuEFCJZkQD88dm9ds4YIKvT+R/VrouL/NilQQyQIgIDPBJfpGhNPmMqpuYPXz8lBKOF2MkczFjsIFtURAJAQ="}]},"maintainers":[{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"}],"_npmUser":{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bricks_3.0.1_1594399825043_0.21032681637921358"},"_hasShrinkwrap":false},"4.0.0":{"name":"@alexandernanberg/bricks","description":"A zero-configuration toolkit for building modern web apps","version":"4.0.0","author":{"name":"Alexander Nanberg","email":"alexander.nanberg@strateg.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexandernanberg/bricks.git"},"keywords":["bricks","toolkit","0CJS","zero-configuration"],"engines":{"node":">=12"},"bin":{"bricks":"bin/bricks.js"},"scripts":{"lint":"eslint .","format":"prettier --write **/*.js"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint","prettier --write"]},"dependencies":{"@babel/core":"^7.11.6","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-react":"^7.10.4","arg":"^4.1.3","autoprefixer":"^10.0.1","babel-loader":"^8.1.0","babel-plugin-dynamic-import-node":"^2.3.3","babel-plugin-macros":"^2.8.0","babel-plugin-transform-async-to-promises":"^0.8.15","babel-plugin-transform-react-remove-prop-types":"^0.4.24","browser-sync":"^2.26.12","case-sensitive-paths-webpack-plugin":"^2.3.0","chalk":"^4.1.0","compression":"^1.7.4","core-js":"^3.6.5","cssnano":"^4.1.10","del":"^6.0.0","execa":"^4.0.3","find-up":"^5.0.0","friendly-errors-webpack-plugin":"^1.7.0","gulp":"^4.0.2","gulp-if":"^3.0.0","gulp-imagemin":"^7.1.0","gulp-plumber":"^1.2.1","gulp-postcss":"^9.0.0","gulp-sass":"^4.1.0","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svg-sprite":"^1.5.0","postcss-import":"^12.0.1","pretty-hrtime":"^1.0.3","read-pkg-up":"^7.0.1","require-dir":"^1.2.0","semver":"^7.3.2","time-stamp":"^2.2.0","webpack":"^4.44.2","webpack-dev-middleware":"^3.7.2","webpack-hot-middleware":"^2.25.0"},"devDependencies":{"eslint":"^7.10.0","eslint-config-alexandernanberg":"^1.11.4","husky":"^4.3.0","lint-staged":"^10.4.0","prettier":"^2.1.2"},"gitHead":"34daaefb8e458fb7fd165d5016cea90be0f58a13","bugs":{"url":"https://github.com/alexandernanberg/bricks/issues"},"homepage":"https://github.com/alexandernanberg/bricks#readme","_id":"@alexandernanberg/bricks@4.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-AQJPvgUVNEafCNpBefqBMd4ejbYaXQyvDUZ3DW+3jdVDKk77PDY6UBZ1FhJJbNvTo2w1rjM/oCo1unHDTyz+Og==","shasum":"90b8f3d475730eca7ef3c10741144eee2edb8cca","tarball":"https://registry.npmjs.org/@alexandernanberg/bricks/-/bricks-4.0.0.tgz","fileCount":28,"unpackedSize":29479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeG8XCRA9TVsSAnZWagAAuKUP/2rL5zEWTK67hy/GACVs\nZQYC+vvgQnpAKLyOH55FxHPfS2se4SsciK17BzJEzOeIvQ65hK8h2oXKAH4F\nO+fHh5dBpKDfrrKy/N63TTVQogpa+Q2FTFSYvr2CGw6nz78hgjoSh2+sZhaW\n30jkbxkeMFeeG/LgMMOq+M6XqeSwjwD4Yz7qNql3nwR6tOgPYFMlfcI9Gjb6\n4i7JpSOSWfB+fPo/Udgi4//8gHYtqgFefXKKjEN2YPE0hLhmDrcaFWt9Lg+7\nZ1lx8vS3yLVl2UMvK2DKqXU39HUmWfb88GRJlfWwu8d9FjgfaHyajfLpmJJP\nE0pUPpU+tCYSvZvOfcB333/pMSBIOSyQ6piJO2zOuwl8d+JE1HSZMxi79ek9\n1qBVWTmh+hHqFsUXf2cd+6OJoQocqfp7deCJakxLWKmRhpDqWEKMEaxB/zHo\nSMvSPTKkZnJchH/a8tbfz6BqvN25g3oG/eA8NNue8NyLmUy0eCNI5eQaxg6y\nIA7DQqcyg/gbHNaws4CdSZsNKRvIdZ+GDoCkw1e3mhIjQYYxBAPzBN8AELz5\nXYdEwB7hYIncAKehEC3JVDg7hrBIyN3Zv+yzUZQ4KheHNpHRfjtW33B+m0RM\n6lQoQYO/qCgCa7k9ilVilNS/YZYnvCCQ74OJAxLdukHY6shbv9J8FJZ9Sh2n\n9/aO\r\n=IfPz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD20QFfAbzkk2lhvHhZn3TDMqsVxIn5FfvbGp+AjjWu4gIgGtHxNhVt90fT+JJfd9LyfZX4Y5cd0fjk1RfHvz9kx44="}]},"maintainers":[{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"}],"_npmUser":{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bricks_4.0.0_1601728278979_0.5378633150752516"},"_hasShrinkwrap":false},"4.1.0":{"name":"@alexandernanberg/bricks","description":"A zero-configuration toolkit for building modern web apps","version":"4.1.0","author":{"name":"Alexander Nanberg","email":"alexander.nanberg@strateg.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexandernanberg/bricks.git"},"keywords":["bricks","toolkit","0CJS","zero-configuration"],"engines":{"node":">=12"},"bin":{"bricks":"bin/bricks.js"},"scripts":{"lint":"eslint .","format":"prettier --write **/*.js"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint","prettier --write"]},"dependencies":{"@babel/core":"^7.11.6","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-react":"^7.10.4","arg":"^5.0.1","autoprefixer":"^10.0.1","babel-loader":"^8.1.0","babel-plugin-dynamic-import-node":"^2.3.3","babel-plugin-macros":"^2.8.0","babel-plugin-transform-async-to-promises":"^0.8.15","babel-plugin-transform-react-remove-prop-types":"^0.4.24","browser-sync":"^2.26.12","case-sensitive-paths-webpack-plugin":"^2.3.0","chalk":"^4.1.0","compression":"^1.7.4","core-js":"^3.6.5","cssnano":"^5.0.14","del":"^6.0.0","execa":"^4.0.3","find-up":"^5.0.0","friendly-errors-webpack-plugin":"^1.7.0","gulp":"^4.0.2","gulp-if":"^3.0.0","gulp-imagemin":"^7.1.0","gulp-plumber":"^1.2.1","gulp-postcss":"^9.0.1","gulp-sass":"^5.1.0","gulp-size":"^4.0.1","gulp-sourcemaps":"^3.0.0","gulp-svg-sprite":"^1.5.0","postcss":"^8.4.5","postcss-import":"^12.0.1","pretty-hrtime":"^1.0.3","read-pkg-up":"^7.0.1","require-dir":"^1.2.0","sass":"^1.46.0","semver":"^7.3.2","time-stamp":"^2.2.0","webpack":"^4.44.2","webpack-dev-middleware":"^3.7.2","webpack-hot-middleware":"^2.25.0"},"devDependencies":{"eslint":"^8.0.0","eslint-config-alexandernanberg":"^3.1.5","husky":"^4.3.0","lint-staged":"^12.1.5","prettier":"^2.1.2"},"gitHead":"73609e399d86d5b1ac3bbc0f909f0606ac0e4e04","bugs":{"url":"https://github.com/alexandernanberg/bricks/issues"},"homepage":"https://github.com/alexandernanberg/bricks#readme","_id":"@alexandernanberg/bricks@4.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-SE2dOupJNzkD6mwES4FSPLwiUg3yTUab44sznYktlaZcjHw0Gur464hk6r2RQDHPRfujVQLRQKqQL1nH7ctPug==","shasum":"c83891c2366facaf969b4aa147311acddca90d0e","tarball":"https://registry.npmjs.org/@alexandernanberg/bricks/-/bricks-4.1.0.tgz","fileCount":28,"unpackedSize":29771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh10M7CRA9TVsSAnZWagAAoBEP/iCUTbMUWmzrh+UXq9P6\ndiKnyysAyuc2nhvrv5KI0mNPVsBS0MM3uU7PsdmL2ZVsk9p7WLrkLjYxA8wu\nHLl/i52753/fJey6AbQPsVyQ7Bt39FrXymwxetGD9JHsIzWEbkx/FUCc17HN\nZP96e5tEI5isCbyUadopsdUPlDVDhnp8GmL1Ul/S6xEXUqBR6q+JrEUbIV6p\njjN3qvXhmaOjayLlPBtZSqXeoPnHphrEMsDli7zWoxh70k4yJcn3eVK1jvGw\nIrNAi4f29i0xotpam1tn/Ss+Dyyj7Sxz3lJrHTpZLH4dlJDgAzktDuCq6ybg\nlVoys5EVHThNNlKoGluyfqNV0ZMvhQ2VDqDOifUbFOJLgra6CA+NWBP3GrvT\nwGGhQzzevqyrCjQba+kOgb+d62xFX7M2qnVjmAcCMJC2+Y9il9m3P9GIxhIu\n/tYZQnK3+NZTC3NLlDxzsYzHYlsf5UJ+y2/9zwAMib3swEGlzefZUyi3q3Bu\nI2kFd/xHSGZyAyHdbypj9HnEGQm7ic13z57ElSZn2QrpIChERi/pDnLf6YIB\nYOLApcTBuskwIOftoQDoafWsy0xiDTUsC0BPrPngzZiPwFCSLKizCcemHKz2\naA/Eaf44W5qrkcDghROfrEWahJmnutXVki3m+83BlBH8c5XJtPRnUAFpeMLq\nBmbO\r\n=77JF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDADp74D4+qTxlJLGsJ3RAtIUsRTNfcbt/onEFHN1wp4wIgCgT5quen3Nj3OBxRrcyRx9EmLjbNXtGBg4ztAL58VtM="}]},"_npmUser":{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"},"directories":{},"maintainers":[{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bricks_4.1.0_1641497402990_0.46885642974615904"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-10T16:43:56.392Z","3.0.0":"2020-07-10T16:43:56.551Z","modified":"2022-04-04T12:39:05.709Z","3.0.1":"2020-07-10T16:50:25.163Z","4.0.0":"2020-10-03T12:31:19.133Z","4.1.0":"2022-01-06T19:30:03.178Z"},"maintainers":[{"name":"alexandernanberg","email":"alex.nanberg@hotmail.com"}],"description":"A zero-configuration toolkit for building modern web apps","homepage":"https://github.com/alexandernanberg/bricks#readme","keywords":["bricks","toolkit","0CJS","zero-configuration"],"repository":{"type":"git","url":"git+https://github.com/alexandernanberg/bricks.git"},"author":{"name":"Alexander Nanberg","email":"alexander.nanberg@strateg.se"},"bugs":{"url":"https://github.com/alexandernanberg/bricks/issues"},"license":"MIT","readme":"# Bricks [![npm](https://img.shields.io/npm/v/@strt/bricks.svg)](https://www.npmjs.com/package/@strt/bricks) [![npm](https://img.shields.io/npm/dm/@strt/bricks.svg)](https://www.npmjs.com/package/@strt/bricks)\n\n> A zero-configuration toolkit for building modern web apps\n\nBricks is a dev-toolkit for developing modern web apps without the need of configuring `Webpack`, `Babel`, `gulp` etc. It comes with sane defaults but also allows for customization.\n\n## Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Configuration](#configuration)\n  - [Options](#options)\n  - [Browsers](#browsers)\n  - [Babel](#babel)\n- [FAQ](#faq)\n\n## Install\n\n```bash\n$ npm install -D @strt/bricks\n```\n\n... then add the scripts to your `package.json`\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"bricks\",\n    \"build\": \"bricks build\"\n  }\n}\n```\n\n## Usage\n\nBricks includes two commands – `dev` (default) and `build`. Neither requires any arguments.\n\n### `bricks` / `bricks dev`\n\nBuilds the project for development.\n\n### `bricks build`\n\nBuilds the project for production which minifies and optimizes assets. Sourcemaps are also generated.\n\n## Configuration\n\nFor custom advanced behavior of Bricks, create a `bricks.config.js` file in the root of your project directory.\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  // Your custom configuration\n};\n```\n\n### Options\n\n|       Name        |     Type     |                                   Default                                    | Description                                                                                 |\n| :---------------: | :----------: | :--------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------- |\n|     `source`      |  `{String}`  |                                   `'src'`                                    | Path to source directory                                                                    |\n|     `output`      |  `{String}`  |                                   `'dist'`                                   | Path to output directory                                                                    |\n|   `publicPath`    |  `{String}`  |                                    `null`                                    | Value to pass to [Webpack](https://webpack.js.org/configuration/output/#output-publicpath). |\n|   `browserSync`   |  `{Object}`  | [Default](https://github.com/strt/bricks/blob/next/config/config.js#L39-L46) | Options to pass to [BrowserSync](https://www.browsersync.io/docs/options)                   |\n|      `files`      | `{Function}` | [Default](https://github.com/strt/bricks/blob/next/config/config.js#L30-L36) | Function to define which files are static                                                   |\n|   `styles.path`   |  `{String}`  |                                   `styles`                                   | Path to styles directory                                                                    |\n| `styles.entries`  |  `{Array}`   |                                     `[]`                                     |                                                                                             |\n| `styles.plugins`  |  `{Array}`   |                                     `[]`                                     | PostCSS plugins                                                                             |\n|  `scripts.path`   |  `{String}`  |                                  `scripts`                                   | Path to scripts directory                                                                   |\n| `scripts.entries` |  `{Object}`  |                                      ``                                      |\n|   `icons.path`    |  `{String}`  |                                   `icons`                                    | Path to icons directory                                                                     |\n|   `icons.copy`    | `{Boolean}`  |                                   `false`                                    | Copy icon files to dist folder                                                              |\n|     `webpack`     | `{Function}` |                                    `null`                                    | Function to extend the use of `webpack`                                                     |\n\n#### `source`\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  source: 'src',\n};\n```\n\n#### `output`\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  output: 'dist',\n};\n```\n\n#### `publicPath`\n\nFor more detailed information about the `publicPath` option, visit the [Webpack documentation](https://webpack.js.org/configuration/output/#output-publicpath).\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  publicPath: '/webdav/files/dist/',\n};\n```\n\n#### `styles`\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  styles: {\n    path: 'styles',\n    entries: ['./app.scss'],\n  },\n};\n```\n\n#### `scripts`\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  scripts: {\n    path: 'scripts',\n    entries: {\n      app: './app.js',\n      polyfills: './polyfills.js',\n    },\n  },\n};\n```\n\n#### `icons`\n\nGenerates a stylesheet from SVG files. It's also possible to copy the icon files to the dist folder by setting the `copy` property to `true`.\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  icons: {\n    path: 'icons',\n    copy: false,\n  },\n};\n```\n\n#### `webpack`\n\nTo extend the usage of `webpack`, define a function that extends the config via `bricks.config.js`.\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  webpack: ({ webpackConfig, config, isDev }) => {\n    // Perform the customizations to the config\n    return webpackConfig;\n  },\n};\n```\n\n#### `browserSync`\n\nTo set a `BrowserSync` configuration, add a `browserSync` property to the `bricks.config.js`. Visit the [BrowserSync documentation](https://www.browsersync.io/docs/options) for more detailed information.\n\n```javascript\n// bricks.config.js\nmodule.exports = {\n  browserSync: {\n    proxy: 'strateg.se',\n    serveStatic: [\n      {\n        route: '/webdav/files/resources',\n        dir: 'dist',\n      },\n    ],\n  },\n};\n```\n\n### Browsers\n\nTo customize which browsers you want to target, add a [browserslist](https://github.com/ai/browserslist) property to your `package.json` and define the browsers you want. This affects both `autoprefixer` and `babel`.\n\n```json\n{\n  \"browserslist\": \"last 2 versions, ie 11\"\n}\n```\n\n### Babel\n\nTo extend the usage of `babel`, create a `.babelrc` in the root of your project directory. This file will overwrite the default babel config. You need to add the `@strt/bricks/babel` preset if you only want to extend the default config.\n\n```json\n{\n  \"presets\": [\"@strt/bricks/babel\"],\n  \"plugins\": []\n}\n```\n\n## FAQ\n\n<p>\n  <details>\n  <summary><b>Scripts not updating</b></summary>\n  Make sure that the `scripts.publicPath` is set correctly.\n  </details>\n</p>\n\n## License\n\nMIT © [Strateg Marknadsföring](https://github.com/strt)\n","readmeFilename":"readme.md"}