├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bin └── zb.js └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Node modules 2 | node_modules/ 3 | 4 | package-lock.json 5 | 6 | # Dependencias de desarrollo 7 | npm-debug.log 8 | yarn-debug.log* 9 | yarn-error.log* 10 | 11 | # Carpeta de construcción 12 | build/ 13 | dist/ 14 | 15 | # Archivos de configuración 16 | .env 17 | .env.local 18 | .env.development.local 19 | .env.test.local 20 | .env.production.local 21 | 22 | # Dependencias específicas de IDE 23 | .vscode/ 24 | .idea/ 25 | 26 | # Archivos de respaldo y temporales 27 | *.log 28 | *.tmp 29 | *.bak 30 | *.swp 31 | *~ 32 | 33 | # Carpeta de almacenamiento de datos 34 | .db/ 35 | 36 | # Archivos de caché 37 | .cache/ 38 | 39 | # Archivos generados en la compilación 40 | *.class 41 | *.jar 42 | *.war 43 | *.ear 44 | *.exe 45 | *.dll 46 | *.so 47 | *.obj 48 | *.o 49 | *.a 50 | *.lib 51 | *.out 52 | *.log 53 | 54 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ### Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | #### [v1.9.1](https://github.com/zumerlab/zumerbox/compare/v1.9.0...v1.9.1) 6 | 7 | > 5 April 2024 8 | 9 | - Create LICENSE [`ce48b37`](https://github.com/zumerlab/zumerbox/commit/ce48b37dfca2d55d0be64c21065014de8d701546) 10 | - Bumped version [`a09c901`](https://github.com/zumerlab/zumerbox/commit/a09c901d69c189a22c725de09480d4992ee4ff97) 11 | - update readme with new tool [`6cd4dbf`](https://github.com/zumerlab/zumerbox/commit/6cd4dbff611a77c4785baabf41a4815226a05737) 12 | - Style: code format [`06e385f`](https://github.com/zumerlab/zumerbox/commit/06e385f9febaa555b57a02a6e8c5acb3cd50eb60) 13 | - Update LICENSE [`097d4d5`](https://github.com/zumerlab/zumerbox/commit/097d4d535c3d27ea560397f103b4a06ad4ec4fbd) 14 | 15 | #### [v1.9.0](https://github.com/zumerlab/zumerbox/compare/v1.8.3...v1.9.0) 16 | 17 | > 5 April 2024 18 | 19 | - Bumped version [`b217a03`](https://github.com/zumerlab/zumerbox/commit/b217a0385bfc7ad56709bc060513426279d2a3ca) 20 | - Add doc-extractor tool [`ee10cf9`](https://github.com/zumerlab/zumerbox/commit/ee10cf97d795275587122501df949eb467a2974f) 21 | - Style: code format [`317ed06`](https://github.com/zumerlab/zumerbox/commit/317ed0694586e7d7f4f93934d14bc31ca6e95d30) 22 | 23 | #### [v1.8.3](https://github.com/zumerlab/zumerbox/compare/v1.8.2...v1.8.3) 24 | 25 | > 27 March 2024 26 | 27 | - Chore: update tools [`573b060`](https://github.com/zumerlab/zumerbox/commit/573b060d348ed177b920b3295b091fd22f309dd5) 28 | - Bumped version [`4452d34`](https://github.com/zumerlab/zumerbox/commit/4452d34779483d7fd6aef94e4b4266869c4107a4) 29 | - Chore: doc style [`a4eeac4`](https://github.com/zumerlab/zumerbox/commit/a4eeac461ecf672666161557ef6933f8d4a7997f) 30 | 31 | #### [v1.8.2](https://github.com/zumerlab/zumerbox/compare/v1.8.1...v1.8.2) 32 | 33 | > 27 March 2024 34 | 35 | - Update Readme with a new recipe [`b722ff8`](https://github.com/zumerlab/zumerbox/commit/b722ff80f1805cfc11e29b5f44ac24f22ee115e2) 36 | - Update Readme with a recipe [`2deca3c`](https://github.com/zumerlab/zumerbox/commit/2deca3c0f17984182337d29855b2bd741768a92a) 37 | - Linted [`fdc3dab`](https://github.com/zumerlab/zumerbox/commit/fdc3dab3a555e428972fbee2470a975e40d8f6bd) 38 | - Update to include bump tool [`f193dec`](https://github.com/zumerlab/zumerbox/commit/f193dec6eb04f1744f2a9d20f1fa61348938282e) 39 | - Bumped version [`08d2c03`](https://github.com/zumerlab/zumerbox/commit/08d2c03bbd3f84a6f15a3a5a0bb11f7cfd4b725c) 40 | - Add npm-init tool and fix typo [`a599855`](https://github.com/zumerlab/zumerbox/commit/a599855302e36c6b75fae47f20c8e2a0decd844c) 41 | 42 | #### [v1.8.1](https://github.com/zumerlab/zumerbox/compare/v1.8.0...v1.8.1) 43 | 44 | > 26 March 2024 45 | 46 | - Prettier files [`0d9dd62`](https://github.com/zumerlab/zumerbox/commit/0d9dd623202bcba248e23c4487f712db9e26be76) 47 | - chore add scripts and update tools [`79dcd6d`](https://github.com/zumerlab/zumerbox/commit/79dcd6d46b8d4897052f67a18a56a23e3629ebbb) 48 | - Bumped version [`b9bb064`](https://github.com/zumerlab/zumerbox/commit/b9bb0647609cb15f0fd6fc59f4de4e41d718b46a) 49 | 50 | #### [v1.8.0](https://github.com/zumerlab/zumerbox/compare/v1.7.0...v1.8.0) 51 | 52 | > 26 March 2024 53 | 54 | - update version tools [`3ae4148`](https://github.com/zumerlab/zumerbox/commit/3ae414879125baa611d60f4e71168daffb2e6025) 55 | - update changelog [`42416b4`](https://github.com/zumerlab/zumerbox/commit/42416b4bb25b8f1e9225f6cda522d190f1e2b585) 56 | 57 | #### [v1.7.0](https://github.com/zumerlab/zumerbox/compare/v1.6.2...v1.7.0) 58 | 59 | > 26 March 2024 60 | 61 | - update changelog [`ada165c`](https://github.com/zumerlab/zumerbox/commit/ada165cf00bcb97ab6294fa8b8c128706a88b59e) 62 | - Add new tool: npm init [`0ec50db`](https://github.com/zumerlab/zumerbox/commit/0ec50dbf35b0ee4984dbcd53b680c58e5bad57cf) 63 | 64 | #### [v1.6.2](https://github.com/zumerlab/zumerbox/compare/v1.6.1...v1.6.2) 65 | 66 | > 26 March 2024 67 | 68 | - Bumped version [`587c8ef`](https://github.com/zumerlab/zumerbox/commit/587c8ef4a4933afc3f3375da3a18534ac58acefb) 69 | - Fix path to run zb tools [`b848cb0`](https://github.com/zumerlab/zumerbox/commit/b848cb0323451ec27fa9b6a3cf4037a2ed4b48b4) 70 | 71 | #### [v1.6.1](https://github.com/zumerlab/zumerbox/compare/v1.6.0...v1.6.1) 72 | 73 | > 25 March 2024 74 | 75 | - Fix bug to execute specific zumerbox tool [`e67388a`](https://github.com/zumerlab/zumerbox/commit/e67388a7a6fcde36b00767f24b3ec1e3020ccefb) 76 | - Bumped version [`62ef3ca`](https://github.com/zumerlab/zumerbox/commit/62ef3ca154bc91fb4936f3e8711ec9149df0b815) 77 | 78 | #### [v1.6.0](https://github.com/zumerlab/zumerbox/compare/v1.5.2...v1.6.0) 79 | 80 | > 25 March 2024 81 | 82 | - Add command files [`c54c12a`](https://github.com/zumerlab/zumerbox/commit/c54c12a4d78736bb34bab14b4684f1f05b5f3b6b) 83 | - Fix bin commands [`d527ae9`](https://github.com/zumerlab/zumerbox/commit/d527ae915e9d0bdefd66fc097e9538ae7b27a4ba) 84 | - Update changelog [`e2c9100`](https://github.com/zumerlab/zumerbox/commit/e2c9100c13a61f7992ba0d707c567e6eb3b2fe38) 85 | 86 | #### [v1.5.2](https://github.com/zumerlab/zumerbox/compare/v1.5.1...v1.5.2) 87 | 88 | > 25 March 2024 89 | 90 | - Add bin file to run zumerbox packages [`46a34b8`](https://github.com/zumerlab/zumerbox/commit/46a34b8e6d6e9f1da7bc14ad1d54785550bda33e) 91 | - Update changelog [`81a952b`](https://github.com/zumerlab/zumerbox/commit/81a952b910554285e1aecf36ea673d5b0ea0ac3d) 92 | 93 | #### [v1.5.1](https://github.com/zumerlab/zumerbox/compare/v1.5.0...v1.5.1) 94 | 95 | > 25 March 2024 96 | 97 | - Update changelog [`fdda851`](https://github.com/zumerlab/zumerbox/commit/fdda851b6cd338e38566c1c816f1880b88c3ff6e) 98 | - Fix bin entries [`ebe3b81`](https://github.com/zumerlab/zumerbox/commit/ebe3b813277bca73b3a18eae377c3a9f04bfdc2a) 99 | 100 | #### [v1.5.0](https://github.com/zumerlab/zumerbox/compare/v1.4.0...v1.5.0) 101 | 102 | > 25 March 2024 103 | 104 | - Fix bin entries [`f189ace`](https://github.com/zumerlab/zumerbox/commit/f189ace9533ab7cd1d1e625ebc6e7f408cca8b77) 105 | 106 | #### [v1.4.0](https://github.com/zumerlab/zumerbox/compare/v1.3.1...v1.4.0) 107 | 108 | > 25 March 2024 109 | 110 | - Bumped version [`7d11eed`](https://github.com/zumerlab/zumerbox/commit/7d11eed88aa36289359941c9d9f0315bbc02efd9) 111 | - Chore upgrade zumer tools [`b255484`](https://github.com/zumerlab/zumerbox/commit/b255484785d615e41c58206d457f596c50361afd) 112 | 113 | #### [v1.1.0](https://github.com/zumerlab/zumerbox/compare/v1.0.0...v1.1.0) 114 | 115 | > 25 March 2024 116 | 117 | - Change package name and add readme [`d25e883`](https://github.com/zumerlab/zumerbox/commit/d25e883e66e60c561480860e96b4a36f44a697ee) 118 | - Update Changelog [`2be9f71`](https://github.com/zumerlab/zumerbox/commit/2be9f71ea9bade85fb6c487220b8da7dc7a7d2ff) 119 | 120 | ### [v1.0.0](https://github.com/zumerlab/zumerbox/compare/v0.1.0...v1.0.0) 121 | 122 | > 25 March 2024 123 | 124 | - Update Changelog [`1a3504b`](https://github.com/zumerlab/zumerbox/commit/1a3504bef542763b67f4ec31221c609764900790) 125 | 126 | #### v0.1.0 127 | 128 | > 25 March 2024 129 | 130 | - update [`9be893d`](https://github.com/zumerlab/zumerbox/commit/9be893d01e504e92706e34a0258b970525a93bd3) 131 | - update [`4c34b2d`](https://github.com/zumerlab/zumerbox/commit/4c34b2d957367d46f427a19d233b802987cb4e25) 132 | - update [`cb6259c`](https://github.com/zumerlab/zumerbox/commit/cb6259cde810d9468eff8ed92139044b4fead009) 133 | - update [`464e25a`](https://github.com/zumerlab/zumerbox/commit/464e25a53b752c8d09b0710fda4fbfce25a9caeb) 134 | - First release [`64e163b`](https://github.com/zumerlab/zumerbox/commit/64e163b068add3f20c094a988dbc0568098deb34) 135 | - remove git cliff [`c0a4f52`](https://github.com/zumerlab/zumerbox/commit/c0a4f52b5cca8dc8289d5fd237ac55fd315ce998) 136 | - update [`bff50f8`](https://github.com/zumerlab/zumerbox/commit/bff50f8361febcf83acff8f681a1a73211a10f55) 137 | - add git cliff [`b622d15`](https://github.com/zumerlab/zumerbox/commit/b622d15dc4f129b87cf33b826b803d7f865c2cc1) 138 | - update [`eb9960f`](https://github.com/zumerlab/zumerbox/commit/eb9960f5baee9977989636a231f60840fb42ca25) 139 | - feat: test final [`242143a`](https://github.com/zumerlab/zumerbox/commit/242143aea9e4a09e46e950ba58477ef323eb811c) 140 | - update [`76f9290`](https://github.com/zumerlab/zumerbox/commit/76f929024373ab5eb8d9225589c8756a6639cd25) 141 | - Create README.md [`596a8fd`](https://github.com/zumerlab/zumerbox/commit/596a8fdfea5319f90d039bfadb15a0bb9983e932) 142 | - fix config cliff [`65e1983`](https://github.com/zumerlab/zumerbox/commit/65e1983047d551e6d5668c3ba83f37ceefcfeffb) 143 | - feat: test [`7124797`](https://github.com/zumerlab/zumerbox/commit/71247978071c0227eef2db5c1419a202cc3b33f8) 144 | - fix: test [`ad92083`](https://github.com/zumerlab/zumerbox/commit/ad920834b7b0950550c8414c944ec64ed90607c9) 145 | - fix: config cliff [`f00d197`](https://github.com/zumerlab/zumerbox/commit/f00d1973deaa014befcaccde2c5d3438e660c690) 146 | - fix: test to update file [`59c9e9d`](https://github.com/zumerlab/zumerbox/commit/59c9e9df49fa30f107314af7f1a16db5bd197fbf) 147 | - fix text [`ff55057`](https://github.com/zumerlab/zumerbox/commit/ff5505733a96429601c1a0a7981bad0f2c6575e9) 148 | - feat: test [`58d5b81`](https://github.com/zumerlab/zumerbox/commit/58d5b813a7e53428b6d7cb0a2c9e62f57970d5ac) 149 | - first try [`0a9754d`](https://github.com/zumerlab/zumerbox/commit/0a9754db9031d4f7a6ae7045aa747e158a7013dc) 150 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Juan Martin Muda 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ZumerBox 2 | 3 | ZumerBox is a small set of development tools designed to run common tasks in software development workflows. It offers functionalities for linting, formatting, building, testing, and releasing projects. 4 | 5 | ## Target audience 6 | 7 | ZumerBox is intended for small projects with single or small development teams. It was initially created for personal use but can be useful for sharing with other developers who want to quickly test concepts or iterate on small projects. 8 | 9 | ## No configuration needed 10 | 11 | The idea behind ZumerBox is that it can be used out-of-the-box without any configuration. Each tool is designed to work with sensible defaults, allowing you to get started quickly without having to spend time configuring settings. 12 | 13 | ## No installation needed 14 | 15 | You can use the ZumerBox bundle or any of its tools without installation by running `npx`. See [Usage](#usage) for details. 16 | 17 | ## Design philosophy 18 | 19 | ZumerBox tools are designed as wrappers for popular tools such as Jest, ESLint, StyleLint, ESbuild, Prettier, and update-changelog. They are pre-configured to be immediately usable without the need for extensive setup or configuration. 20 | 21 | ## Installation 22 | 23 | You can install ZumerBox as a bundle or each tool individually according to your preference. 24 | 25 | ### Bundle installation 26 | 27 | To install the entire ZumerBox bundle, simply run: 28 | 29 | ```bash 30 | npm install zumerbox --save-dev 31 | ``` 32 | 33 | This will install all tools included in ZumerBox. 34 | 35 | ### Individual tool installation 36 | 37 | Alternatively, you can install each tool independently. Here are the available tools: 38 | 39 | - @zumerbox/doc-extractor: [npm 📦](https://www.npmjs.com/package/@zumerbox/doc-extractor) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-doc-extractor) 40 | - @zumerbox/doc-extractor: [npm 📦](https://www.npmjs.com/package/@zumerbox/doc-extractor) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-doc-extractor) 41 | - @zumerbox/bump: [npm 📦](https://www.npmjs.com/package/@zumerbox/bump) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-bump) 42 | - @zumerbox/build: [npm 📦](https://www.npmjs.com/package/@zumerbox/build) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-build) 43 | - @zumerbox/code-format: [npm 📦](https://www.npmjs.com/package/@zumerbox/code-format) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-code-format) 44 | - @zumerbox/css-lint: [npm 📦](https://www.npmjs.com/package/@zumerbox/css-lint) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-css-lint) 45 | - @zumerbox/scss-lint: [npm 📦](https://www.npmjs.com/package/@zumerbox/scss-lint) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-scss-lint) 46 | - @zumerbox/js-lint: [npm 📦](https://www.npmjs.com/package/@zumerbox/js-lint) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-js-lint) 47 | - @zumerbox/tests: [npm 📦](https://www.npmjs.com/package/@zumerbox/tests) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-tests) 48 | - @zumerbox/npm-init: [npm 📦](https://www.npmjs.com/package/@zumerbox/npm-init) | [GitHub :octocat:](https://github.com/zumerlab/zumerbox-npm-init) 49 | 50 | You can install any of these tools individually using npm: 51 | 52 | ```bash 53 | npm install @zumerbox/tool-name --save-dev 54 | ``` 55 | 56 | Replace `tool-name` with the name of the tool you want to install. 57 | 58 | ## Usage 59 | 60 | You can use any tool from ZumerBox without the need for installation by running it directly with `npx`. This allows for a hassle-free setup and usage. For example, to run the tests, you can use in the project root folder: 61 | 62 | ```bash 63 | # using ZumerBox bundle 64 | npx zumerbox tests 65 | ``` 66 | 67 | or 68 | 69 | ```bash 70 | # using ZumerBox individual tool 71 | npx @zumerbox/tests 72 | ``` 73 | 74 | Replace `tests` with the name of the tool you want to use. 75 | 76 | Alternatively, you can integrate ZumerBox tools into your npm package scripts. For instance, you can add a script entry in your `package.json` file: 77 | 78 | ```json 79 | { 80 | "scripts": { 81 | "bump": "npx zumerbox bump" 82 | } 83 | } 84 | ``` 85 | 86 | or with an individual tool: 87 | 88 | ```json 89 | { 90 | "scripts": { 91 | "bump": "npx @zumerbox/bump" 92 | } 93 | } 94 | ``` 95 | 96 | This way, you can utilize ZumerBox seamlessly within your project's development workflow. 97 | 98 | ## Recipes 99 | 100 | ### Recipe 1: Enhancing development workflow with `package.json` scripts 101 | 102 | #### Ingredients: 103 | 104 | - Zumerbox installed in your project 105 | - `package.json` file 106 | 107 | #### Instructions: 108 | 109 | 1. **Installation**: Install Zumerbox and its tools in your project. 110 | 111 | ```bash 112 | npm install zumerbox --save-dev 113 | ``` 114 | 115 | 2. **Configuration**: Add scripts to your `package.json` file to automate common development tasks using Zumerbox tools. You can enhance your workflow by incorporating scripts for versioning, testing, linting, updating changelog, and more. 116 | 117 | Example `package.json` scripts including all tasks: 118 | 119 | ```json 120 | { 121 | "scripts": { 122 | "lint:css": "npx zumerbox css-lint --write", 123 | "lint:js": "npx zumerbox js-lint --fix", 124 | "format:code": "npx zumerbox code-format", 125 | "tests": "npx zumerbox tests", 126 | "prebump": "npm run lint:css && npm run lint:js && npm run format:code && npm run tests", 127 | "bump": "npx zumerbox bump && npx zumerbox changelog", 128 | "build": "npx zumerbox build", 129 | "git:push": "git commit -am\"chore: bump version\" && git push --follow-tags", 130 | "npm:publish": "npm publish", 131 | "workflow": "npm run bump && npm run build && npm run git:push && npm run npm:push" 132 | } 133 | } 134 | ``` 135 | 136 | Example `package.json` scripts including some tasks: 137 | 138 | ```json 139 | { 140 | "scripts": { 141 | "prebump": "npx zumerbox tests", 142 | "bump": "npx zumerbox bump && npx zumerbox changelog && git commit -am\"chore: bump version\"" 143 | } 144 | } 145 | ``` 146 | 147 | 3. **Usage**: 148 | 149 | - **Workflow**: In first example run this command to automatically lint, format, test, bump version, build dist files, push to git and publish on npm. 150 | 151 | ```bash 152 | npm run workflow 153 | ``` 154 | 155 | - **Bump**: In second example run this command to test, bump a version and update changelog. 156 | 157 | #### Notes: 158 | 159 | - If you want, the installation part can be ommited since zumerbox bundle or any of its tools are executables via `npx`. 160 | 161 | - The `prebump` script is executed automatically before `bump` to ensure code quality by running linting tasks. This is done directly by npm scripts that support pre and post commands [(Learn more on NPM)](https://docs.npmjs.com/cli/v10/using-npm/scripts). 162 | 163 | - If there is an error in any tasks the flow will be interrupted. For instance, if tests don't pass, process exit. 164 | 165 | By following this recipe, you can create a comprehensive development workflow that automates various tasks using Zumerbox and ensures code quality and consistency throughout the development process. Adapt this receipt to your needs. 166 | 167 | ### Recipe 2: Check if project name is valid and available on `npm register` 168 | 169 | #### Ingredients: 170 | 171 | - Zumerbox bundle or @zumerbox/npm-init 172 | - `package.json` file (optional) 173 | 174 | #### Instructions: 175 | 176 | 1. **Create a folder project**: 177 | 178 | ```bash 179 | mkdir < folder project > 180 | cd < folder project > 181 | ``` 182 | 183 | 2. **Run npm-init tool**: 184 | 185 | ```bash 186 | npx @zumerbox/npm-init 187 | ``` 188 | 189 | Or 190 | 191 | ```bash 192 | npx zumerbox npm-init 193 | ``` 194 | 195 | 3. **Usage**: Just follow tool prompts. `npm-init` will ask to choose a package name and will check if this name is valid and available. It is allowed to to choose just a name or a scoped name (ej: @organization/name). By default `npm-init` will add an author name based on git config, and a MIT licence. 196 | 197 | #### Notes: 198 | 199 | - If you already have an initialized project with a `package.json`, `npm-nit` will update this file keeping your previous configuration. 200 | 201 | - Since this tool is used occasionally, We not recommended to install it in your project as a dependency. 202 | 203 | ## License 204 | 205 | ZumerBox is licensed under the [MIT License](LICENSE). 206 | 207 | ## Bugs and issues 208 | 209 | If you encounter any bugs or have suggestions for improvements, please feel free to open an issue on [GitHub](https://github.com/zumerlab/zumerbox/issues). 210 | -------------------------------------------------------------------------------- /bin/zb.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const { execSync } = require('child_process') 3 | const args = process.argv.slice(2).join(' ') 4 | console.log(args) 5 | execSync(`${args}`, { 6 | stdio: 'inherit' 7 | }) 8 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zumerbox", 3 | "version": "1.9.1", 4 | "description": "Small set of development tools", 5 | "bin": { 6 | "zumerbox": "bin/zb.js" 7 | }, 8 | "scripts": { 9 | "update": "npx npm-check-updates -u", 10 | "prebump": "npx zumerbox js-lint --fix && npx zumerbox code-format --write", 11 | "bump": "npx zumerbox bump", 12 | "postbump": "npx zumerbox changelog && git add . && git commit -m \"Bumped version\" && git push --follow-tags" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/zumerlab/zumerbox.git" 17 | }, 18 | "keywords": [ 19 | "dev", 20 | "devtools", 21 | "utilities", 22 | "lint", 23 | "test", 24 | "bundle", 25 | "build", 26 | "suit", 27 | "zumerbox", 28 | "changelog" 29 | ], 30 | "author": "Juan Martin Muda", 31 | "license": "MIT", 32 | "bugs": { 33 | "url": "https://github.com/zumerlab/zumerbox/issues" 34 | }, 35 | "homepage": "https://github.com/zumerlab/zumerbox#readme", 36 | "dependencies": { 37 | "@zumerbox/build": "^0.4.0", 38 | "@zumerbox/bump": "^1.0.7", 39 | "@zumerbox/changelog": "^1.4.0", 40 | "@zumerbox/code-format": "^0.1.2", 41 | "@zumerbox/css-lint": "^0.1.2", 42 | "@zumerbox/doc-extractor": "^0.1.0", 43 | "@zumerbox/js-lint": "^0.1.3", 44 | "@zumerbox/npm-init": "^0.1.2", 45 | "@zumerbox/scss-lint": "^0.1.3", 46 | "@zumerbox/tests": "^0.1.6" 47 | } 48 | } 49 | --------------------------------------------------------------------------------