{"_id":"@cmu-eberly-center/p5.beaker","_rev":"6-b705905eac865a39c50fc6dc4d24a353","name":"@cmu-eberly-center/p5.beaker","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@cmu-eberly-center/p5.beaker","version":"1.0.0","description":"p5.beaker is a client-side p5.js library for creating biochem simulations.","main":"dist/p5.beaker.js","scripts":{"doc":"jsdoc --configure .jsdoc.json","build":"webpack --verbose --config webpack.prod.js","start":"echo 'Starting Webpack dev server! \n' && webpack-dev-server --watch --config webpack.dev.js","watch":"webpack --watch --config webpack.dev.js"},"repository":{"type":"git","url":"git+https://github.com/CMUEberlyCenter/p5.beaker.git"},"author":{"name":"Meg Richards","email":"mouse@cmu.edu"},"license":"LGPL-2.1","bugs":{"url":"https://github.com/CMUEberlyCenter/p5.beaker/issues"},"homepage":"https://github.com/CMUEberlyCenter/p5.beaker#readme","devDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0","css-loader":"^2.1.1","eslint":"^5.15.1","eslint-loader":"^2.1.2","file-loader":"^3.0.1","html-webpack-plugin":"^3.2.0","jsdoc":"^3.5.5","style-loader":"^0.23.1","url-loader":"^1.1.2","webpack":"^4.29.6","webpack-cli":"^3.2.3","webpack-dev-server":"^3.2.1","webpack-merge":"^4.2.1","webpack-node-externals":"^1.7.2"},"peerDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0"},"gitHead":"3d45916778bf3d8f35a2e208f0fa05529aa52c11","_id":"@cmu-eberly-center/p5.beaker@1.0.0","_npmVersion":"5.8.0","_nodeVersion":"10.15.2","_npmUser":{"name":"merichar","email":"merichar@merichar.org"},"dist":{"integrity":"sha512-25JvDOoAV7P6BSqKGtIJ9RZkXw21vHz8aOkzuWq9rMYLmgpy3mmINm3rwpw8SLEiajAAvNX4vz1Oux75oZnc3Q==","shasum":"a1280ceab377d5ebf5755538e6739069ebcef54e","tarball":"https://registry.npmjs.org/@cmu-eberly-center/p5.beaker/-/p5.beaker-1.0.0.tgz","fileCount":63,"unpackedSize":1370372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchsFvCRA9TVsSAnZWagAAX+8P/0nOYuhRGrdp8cCCaCN6\no02XneycEMk0vvi4mbctG5hxdJ47/zWyp9A5yYBhvddj5nuE/A1u4QDVH9ZW\nw//zo1ShBYzamV/O03eVtSGhy3M3gStj/ZrZljG2msS6mgEVOQlSbwyUv9+u\nKWxCNzWh/e8RxsBWvXrnqBeJAuH+edZeYNY5/CxJOJeladYCGFupYtkxWcQQ\nMmwTK5A3JIfdsTqR3zZ4FoH6aYGrN48Dig9DlFOn/u7k6HswdedBS9ZBT9BH\n3ycSH2HAMevVp3F6bYWqVtBmqrFQPlfSqw5Q72ESGf9ytoaQ5tg0FFV20Voo\nT0GuHCgVVMi/cSV3RtxcjBJVd6KRdFsMughBgm+Nkll9I2TZYn4DIYc6Bs4k\nlPnY0ur2BPsfT6q4XoimqZl6QAdPN/mlrdAG9pc1Gkdx1fRmP35KWUJ4OPhd\npH7RJOn+I2+v7MqROfB8fu87S/9SCv+3OmItjaTRPqPHesqWZq626uqpvbL3\n1LrYq1Z6Qp42kHkRFI1JG4IBkRAK2//huHSLAVJnium+vHVt0dJs0QJDxeoJ\nb4dbt4IapXGNUP5YAwwR2kTqMNDNEOf/MGPtKU0kTHoeDapxkTWZUCPLrvYK\nADCtMWmADnxMUUBTe7wmeJnD/FMa5z4VGW3pP9v7VzIWz2QcoX2kqj9SpjJ7\nessY\r\n=BQxu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmC4MbXwWHDiOTSXnUX0ipDV0JICYa28xj7vdrit1LYwIhANZnnWXrMipH1zvKlNAVENV9tA0UPYGeMG9GMpUUCRzq"}]},"maintainers":[{"name":"merichar","email":"merichar@merichar.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p5.beaker_1.0.0_1552335214969_0.46245742592735395"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cmu-eberly-center/p5.beaker","version":"1.1.0","description":"p5.beaker is a client-side p5.js library for creating biochem simulations.","main":"dist/p5.beaker.js","scripts":{"doc":"jsdoc --configure .jsdoc.json","build":"webpack --verbose --config webpack.prod.js","start":"echo 'Starting Webpack dev server! \n' && webpack-dev-server --watch --config webpack.dev.js","watch":"webpack --watch --config webpack.dev.js"},"repository":{"type":"git","url":"git+https://github.com/CMUEberlyCenter/p5.beaker.git"},"author":{"name":"Meg Richards","email":"mouse@cmu.edu"},"license":"LGPL-2.1","bugs":{"url":"https://github.com/CMUEberlyCenter/p5.beaker/issues"},"homepage":"https://github.com/CMUEberlyCenter/p5.beaker#readme","devDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0","css-loader":"^2.1.1","eslint":"^5.15.1","eslint-loader":"^2.1.2","file-loader":"^3.0.1","html-webpack-plugin":"^3.2.0","jsdoc":"^3.5.5","style-loader":"^0.23.1","url-loader":"^1.1.2","webpack":"^4.29.6","webpack-cli":"^3.2.3","webpack-dev-server":"^3.2.1","webpack-merge":"^4.2.1","webpack-node-externals":"^1.7.2"},"peerDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0"},"gitHead":"7649f29652eb844ddbb2469a8e487582e5554d07","_id":"@cmu-eberly-center/p5.beaker@1.1.0","_npmVersion":"5.8.0","_nodeVersion":"10.15.2","_npmUser":{"name":"merichar","email":"merichar@merichar.org"},"dist":{"integrity":"sha512-cDHokKj6b9uDeHaerjPQapgO6BY44YH5OEp/S/5wJSulebRCmCKfy7rw5R/yuqMEVcvANNTFMi8KRSpch9uigQ==","shasum":"7174fd3d8db173e4e39c8ea7e3599b1ea4b474f2","tarball":"https://registry.npmjs.org/@cmu-eberly-center/p5.beaker/-/p5.beaker-1.1.0.tgz","fileCount":109,"unpackedSize":2625789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckDZeCRA9TVsSAnZWagAAZZIQAJYP9giDLSjiOlT2mGuL\no+4QK8WRHoA00ub9cdttOVmeByhEydG6YItMfO4E3ReuwoBOQvNfMD1QRO8n\nN8Q20hvZOpkrlnuFxAv9EEkssJ0KIClO7SqddB331tY9G3Qrq/5Fqvmnozk/\nO9X3I7lGn0i95CZhHSOHpQBuYR8+dscgBjkBLPyu2Gt+tEvEF3hQqJGTpAFx\ndfbgwBhhsbvwy9GwnReyhfMv1q6BHdvNLEF6eI5tvDqKd0seHGKd0rTdPUoI\nCybu7A2dr9XPSRpxggA8+yYoEJUcFey/MlDDZqQeey55JpAuUeCd8Chd3ynW\nBYt3R0Tt+ZsLcTUGtAKi2NubxSL9pBS0UQ3QCo7SIUte3KjvnEFor+RhKVND\nTTqOrytpPfMCUcI8Y1qAyaDONZs3UNBGYUQAeKn2fq5C8iSlJcey0yWdosL9\nw9kjI9SBPxHyr1gAW9Wq0F8PcNpjKz3xTT7XKQWVPlidGkQt5Keb4p3ZHgEt\nbDyHMDP07DIj8+To6FRD0PuF0VJt09TphfvNhorddYRCcBDvgUS/PUulYaxI\nTrtS3EgVgRYVAneqk/2qIyZscKuyPYr0328yHHroMezQKuhRz8BZ7j8VFsKq\nEoVpIBEJbjK+Tda5UeRBPUwpxCQOr5ayla6alSLJLYnNkMpZQ4lUpSNzn/9V\n2Hwz\r\n=pzzE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGPXymn/fqCutwKCY/rhPL1GWpHIpmQOVZ/uFGFVQiEJAiAuw7n7aGZd7a2tYubliBnAq8p613YV01Ja6Z+QSdOM3w=="}]},"maintainers":[{"name":"merichar","email":"merichar@merichar.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p5.beaker_1.1.0_1552954973494_0.42041802104980386"},"_hasShrinkwrap":false},"1.2.0":{"name":"@cmu-eberly-center/p5.beaker","version":"1.2.0","description":"p5.beaker is a client-side p5.js library for creating biochem simulations.","main":"dist/p5.beaker.js","scripts":{"doc":"jsdoc --configure .jsdoc.json","build":"webpack --verbose --config webpack.prod.js","start":"echo 'Starting Webpack dev server! \n' && webpack-dev-server --watch --config webpack.dev.js","watch":"webpack --watch --config webpack.dev.js"},"repository":{"type":"git","url":"git+https://github.com/CMUEberlyCenter/p5.beaker.git"},"author":{"name":"Meg Richards","email":"mouse@cmu.edu"},"license":"LGPL-2.1","bugs":{"url":"https://github.com/CMUEberlyCenter/p5.beaker/issues"},"homepage":"https://github.com/CMUEberlyCenter/p5.beaker#readme","devDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0","css-loader":"^2.1.1","eslint":"^5.15.1","eslint-loader":"^2.1.2","file-loader":"^3.0.1","html-webpack-plugin":"^3.2.0","jsdoc":"^3.5.5","style-loader":"^0.23.1","url-loader":"^1.1.2","webpack":"^4.29.6","webpack-cli":"^3.2.3","webpack-dev-server":"^3.2.1","webpack-merge":"^4.2.1","webpack-node-externals":"^1.7.2"},"peerDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0"},"gitHead":"830297a948dc5554a1bb1eeaeb2f94f340f5135a","_id":"@cmu-eberly-center/p5.beaker@1.2.0","_npmVersion":"5.8.0","_nodeVersion":"10.15.2","_npmUser":{"name":"merichar","email":"merichar@merichar.org"},"dist":{"integrity":"sha512-b1Gtah+SUM8ytNeAyNoXQyPJY59jHu/ayM3TFPKVr11hME/yQQMdgTGwh4PG6p9O+F8zEp1MBZMN+E3ny05/zw==","shasum":"961c9f90d29ed82cccd7cd38b2282e681a45c5ef","tarball":"https://registry.npmjs.org/@cmu-eberly-center/p5.beaker/-/p5.beaker-1.2.0.tgz","fileCount":109,"unpackedSize":2633649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv2rNCRA9TVsSAnZWagAA77YP/jcnvgmaIuY29241mFLb\nVouZts+mM/ITLwjgs/ekRwhqDRokcI+3c2WHWq70AgS8zNePzfNMhQ4HCPUo\nRCTfjzY+C6czTxNMYii95H4RWg42FeOPc9MkO6dKQsCDIBqiQsBMsffYX9ne\nq5rX6tKonrmxWuk5lyqoo0bkBdgKuIh1GcYe5x1DHZvMUABdK5BNKCkuVgNk\nYcJTqHk7O7wD8qFFFO5yoY2VO6pN6FnzLdsiBEVKGa7iilkcpxQCLF0NV5Jc\n6hVVh8q0/qklRBuHPV/S1bcdvJYnuLaebBnszYErfAzJemB19k1CmaPOOgAF\n9eyXOH/moBXLLmM2Irk/nSRQy9bgsSPsyp5keADUpDzGPPWrBZG9W3deozS4\nVsgrwrQz5pt+H4WgiHQuEHqwnKDEzk2syqinUvCfV5orw0ScKDV4SyWJLi+t\nw73dyV3CduKpveNjATgzUshFqm9EJYnPyngY09hQidKPVJ4vA3QOMyy+qIoY\n/T/EEeuphFRFCc+NPkkSjfB33L088oiTQzj+zi89FkGyRSRO6AKThH5e4U79\nKwSQp/1MP3OOjGQaHKbRfxoBv0IFoYCPd4uy1aeYALMz4N1UJ7neV2zWTwXy\nCuVV6/8cG6dhUlw4LVORXHwUxipApUrdMGEwYYjLXmx5ytbDxtJFT4eXHJxA\nWfHc\r\n=D81O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFl2KyVojNdT9fnW2bGfe8Ipe8LZ/pbFn+ai+DGyfUr5AiEAgbK/DgfW/LoNMyAgPtjFR8i2IKGPnTs+7L7kPXYEtLs="}]},"maintainers":[{"name":"merichar","email":"merichar@merichar.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p5.beaker_1.2.0_1556048588230_0.4460520927801035"},"_hasShrinkwrap":false},"1.2.2":{"name":"@cmu-eberly-center/p5.beaker","version":"1.2.2","description":"p5.beaker is a client-side p5.js library for creating biochem simulations.","main":"dist/p5.beaker.js","scripts":{"doc":"jsdoc --configure .jsdoc.json","build":"webpack --verbose --config webpack.prod.js","start":"echo 'Starting Webpack dev server! \n' && webpack-dev-server --watch --config webpack.dev.js","watch":"webpack --watch --config webpack.dev.js"},"repository":{"type":"git","url":"git+https://github.com/CMUEberlyCenter/p5.beaker.git"},"author":{"name":"Meg Richards","email":"mouse@cmu.edu"},"license":"LGPL-2.1","bugs":{"url":"https://github.com/CMUEberlyCenter/p5.beaker/issues"},"homepage":"https://github.com/CMUEberlyCenter/p5.beaker#readme","devDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0","css-loader":"^2.1.1","eslint":"^5.15.1","eslint-loader":"^2.1.2","file-loader":"^3.0.1","html-webpack-plugin":"^3.2.0","jsdoc":"^3.5.5","style-loader":"^0.23.1","url-loader":"^1.1.2","webpack":"^4.29.6","webpack-cli":"^3.2.3","webpack-dev-server":"^3.2.1","webpack-merge":"^4.2.1","webpack-node-externals":"^1.7.2"},"peerDependencies":{"@cmu-eberly-center/p5":"^0.8.0","@cmu-eberly-center/p5.play":"^1.2.0"},"gitHead":"0910b9d9f730cd953eb1fbc6868307e44721a1a7","_id":"@cmu-eberly-center/p5.beaker@1.2.2","_npmVersion":"5.8.0","_nodeVersion":"10.15.2","_npmUser":{"name":"merichar","email":"merichar@merichar.org"},"dist":{"integrity":"sha512-ei+VG7ZbfAGMNJY53Cz4Yd4Gc6d/82ecrE186n9osO3IfRh91AR7RQjvDfLScAwWOb9UCJAi/TKRg8ToTPEK9A==","shasum":"7a0c7397922af670c8c1ecf2390c39dd5fb5d071","tarball":"https://registry.npmjs.org/@cmu-eberly-center/p5.beaker/-/p5.beaker-1.2.2.tgz","fileCount":154,"unpackedSize":3896440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2C8CCRA9TVsSAnZWagAAa+IQAJTPYFo9/7C477yzy85R\nCRxbSqyPCAG2jF+OwFuE8voCXF1UTil+pfAXoMl6fEEYxO1htgr6RcUcWaBw\ndh8PEjT57n9Ja7/xI+TH3TNkAPimAhf7RDU+B6ECtm1YJvKsV8LvEL1lBhVE\nfQQkaQS8jWZfnoKADtOuJ5kzz/d7kHaeJ8EaL/VyZ7InR+K64JoWGxEe7uyw\npEROqicxH2/sifTPHD/feJiwQfbVwkuIKJS7PK82gan9yKUnK2eEs1E+OJwN\nvOKTqgzow1cYie2NdNkwAWtbQxgFxL22nhPPo7eIMTy6af089S/bQzsfbK/0\nC7LEjfA6AotJK168j8bgEpCvezlfisrG/7i0qdjjXSGS6oiKajzkjt4MiHLn\nc3j/v7K+/j26m6x0L100sEIlwm9qRJ4FRVlQ06l8ngRB+szsGX0+SHjnsyVv\n0SdIsuhg2+8SkOlbNoBkdmBq4a5POqj9NbqyauAxR4on+HywXK4pt50tKnJb\nYWcmvyQI/qQ4Q/2zi/N3z7fHrT6I6+pkoRlPbGtj+RcfV7EgMOqqvcGXG3XC\nkb7CFEuWMMxyYHo0QnyhBgiZ0XVqukO06tBguviZwNxvaceCwPMh5cFg00BN\nsF8+xmavaFu8TKYU5TBYSmO8aEL2nFx2WliBz13mlWPTxpzVhOX2WtQOa+bU\nRkvL\r\n=gad5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFxDB5uTfjb53F0EW9dnoIlAPyR2gdI5JfreueR1XMRzAiBr16lYR0YQsZ/rlF/K7USTA8kfgh7B7e+JDxTHmaNR2A=="}]},"maintainers":[{"name":"merichar","email":"merichar@merichar.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p5.beaker_1.2.2_1561530032218_0.8710058370167091"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-11T20:13:34.789Z","1.0.0":"2019-03-11T20:13:35.143Z","modified":"2022-04-04T23:44:44.607Z","1.1.0":"2019-03-19T00:22:53.718Z","1.2.0":"2019-04-23T19:43:08.437Z","1.2.2":"2019-06-26T06:20:32.530Z"},"maintainers":[{"email":"vvelsen@gmail.com","name":"mindtoeye"},{"email":"merichar@merichar.org","name":"merichar"}],"description":"p5.beaker is a client-side p5.js library for creating biochem simulations.","homepage":"https://github.com/CMUEberlyCenter/p5.beaker#readme","repository":{"type":"git","url":"git+https://github.com/CMUEberlyCenter/p5.beaker.git"},"author":{"name":"Meg Richards","email":"mouse@cmu.edu"},"bugs":{"url":"https://github.com/CMUEberlyCenter/p5.beaker/issues"},"license":"LGPL-2.1","readme":"# Biolab Activity Template\n\nThis project is a template for activities in the Biolab suite.\n\n![Travis (.org)](https://img.shields.io/travis/CMUEberlyCenter/biolab-activity-template.svg)\n![Coveralls github](https://img.shields.io/coveralls/github/CMUEberlyCenter/biolab-activity-template.svg)\n![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/CMUEberlyCenter/biolab-activity-template.svg)\n\n## Getting Started\n\nAs this project is designed to be a template for a Biolab activity, these instructions will have you create a new activity repo, then get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\ngit and [npm](https://www.npmjs.com/) must be installed and are assumed to be in your path.\n\n### Installing\n\nOn your local machine, create a new activity directory (e.g.: biolab-activity-strong-vs-weak-acid-dissociation) and initialize it as a git repo:\n\n``` \nmkdir new-activity-name\ncd new-activity-name\ngit init\n```\n\nPull the source from project and then initialize and fetch the configuration submodule:\n\n```\ngit pull https://github.com/CMUEberlyCenter/biolab-activity-template\ngit submodule update --init conf/\n```\n\nOpen a browser, go to GitHub, and create a new repository for the activity (naming convention is biolab-activity-something).\n\nAdd your new repo as the origin of your local repo and push everything there:\n\n```\ngit remote add origin git-url-of-new-activity-repo\ngit push -u origin master\n```\n\nInstall dependencies from npm:\n\n```\nnpm i\n```\n\nNow that the config update dependencies are installed, do a config update and another install in case anything new came from upstream:\n\n```\nnpm run conf\nnpm i\n```\n\nTo start the dev server and see a skeleton program run:\n\n```\nnpm run start\n```\n\nand point your browser at the URL it tells you (probably [localhost:8080](http://localhost:8080))\n\n### Configuring hosted CI services\n\nBiolab activities should follow the model of this template by having tested, maintainable code. Login to the following services with your GitHub credentials and enable the new activity's repository in each. The links below will take you directly to the respective add repo pages. No additional configuration is required.\n\n[Travis CI](https://travis-ci.org/account/repositories) - Continuous integration build and testing\n\n[Coveralls](https://coveralls.io/repos/new) - Code coverage tracking\n\n[Code Climate](https://codeclimate.com/github/repos/new) - Code maintainability\n\nUpdate the shield links in the new activity's `README.md`. The links should change from the template's project to that of the new activity's project. Finally, commit those changes and push them to GitHub.\n\n## Developing and Building the Activity\n\nAssuming the steps in Getting Started completed successfully, work on the activity code can begin in earnest. Most development work will be in `src/sketch.js` and will vary based on the requirements of the activity.\n\n### Building the Activity\n\nBuild scripts within `package.json` manage the development lifecycle.\n\nAs seen above in Getting Started, `npm run start` spools up a dev server. Changes made to source files will be automatically reflected once saved. \n\nIf it's desirable to just open an html file locally on the dev machine, you can perform a dev build:\n\n```\nnpm run build:dev\n```\n\nThat will build the project using the dev webpack configuration and export it to `dist/`. The exported file `dist/index.html` can be opened with a browser by doing `File > Open File...` (or equivalent.\n\nYou can automatically perform a rebuild whenever a change is made to a source file:\n\n```\nnpm run build:watch\n```\n\nJust reload the `dist/index.html` file already open in your browser.\n\nFinally, remove all files in `dist/` with:\n\n```\nnpm run build:clean\n```\n\nAs is typically done before a clean build.\n\nRegenerate a production bundle before commiting changes to master:\n\n```\nnpm run build:clean\nnpm run build # an alias for build:prod\n```\n\nIn a production build, ESLint must succeed or the build will fail and no files will be in `dist/`.\n\n### Generating documentation\n\nDocumentation uses JSDoc, and can be generated with:\n\n```\nnpm run doc\n```\n\nExamples of properly documented code can be found in the template. You should regenerate documentation before commiting changes to master if any of those changes would affect the documentation.\n\n### Deploying the demo to GitHub Pages\n\nA publicly accessible demo of the activity can be created by the following:\n\n```\nnpm run deploy\n```\n\nThe demo will be located at [https://cmueberlycenter.github.io/biolab-activity-name](https://cmueberlycenter.github.io/biolab-activity-name). If it's not found, check the GitHub Pages settings for the repository. Ensure it is turned on and set to use the `gh-pages` branch.\n\n### Receiving upstream configuration changes\n\nThe [biolab-config](https://github.com/CMUEberlyCenter/biolab-config) project governs how activities should generally be configured and it's a good idea to regularly pull those updates. The one-stop shop to fetch updates and incorporate those changes is:\n\n```\nnpm run conf\n```\n\nUpstream configuration is included as a submodule and placed in `conf/`. All activity-specific configuration overrides should be done by editing the appropriate file(s) in the project root, and NOT by editing files within `conf/`. Configuration overrides in files at the project root take precedence and will not be overwritten. This includes edits to the `package.json` file: It is carefully merged with the upstream `package-base.json` and additional, activity-specific packages can be installed using `npm i <package-name> --save-dev` or `npm i <package-name> --save` as normal.\n\n## Running Tests\n\nTest scripts are included in the `package.json` file. Tests discussed below should all pass before getting committed. When a commit is pushed to master on GitHub, Code Climate and Travis CI are automatically triggered. Code Climate performs a maintainability analysis and Travis does a build and sends the coverage report to Coveralls. Updates will be seen in the shields in the `README.md` and details can be found on the reports at each service's site.\n\n### Code coverage and unit testing\n\nTesting is primarily done through Jest. Some example tests are included for `src/sketch.js` in `src/sketch.test.js`. Tests should be added throughout activity development. Tests can be run by:\n\n```\nnpm run test\n```\n\n### Linting\n\nESLint is used for linting, which does code style checks and looks for potential errors. The linting process is integrated with webpack, which handles the asset bundling and build process. That process is discussed above, but the result is that linting does not need to be done explicitly. However, if that is necessary or even desirable, you can use the following to lint files within the `src` directory:\n\n```\nnpx eslint src/\n```\n\n## Deployment\n\nTo prepare for activity deployment, the `index.html` and `bundle.js` in `./dist` should be placed in the\nsame directory. They can be served by any standard webserver or\n`index.html` can be opened by a browser using `File > Open File...`.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/CMUEberlyCenter/p5.beaker/tags).\n\n## Built With\n\n* [p5.js](https://p5js.org/) - The drawing library\n* [p5.play](http://molleindustria.github.io/p5.play/) - Sprite library for p5.js\n* [p5.beaker](http://cmueberlycenter.github.io/p5.beaker/) - Beaker and particle library for p5.js\n\n## Authors\n\n* **Meg Richards** - *Initial work* - [merichar](https://github.com/merichar)\n\nSee also the list of [contributors](https://github.com/CMUEberlyCenter/biolab-activity-template/contributors) who participated in this project.\n","readmeFilename":"README.md"}