# projectz **Repository Path**: mirrors_mightyiam/projectz ## Basic Information - **Project Name**: projectz - **Description**: Stop wasting time maintaining your project's readme and package files! - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Projectz [![Build Status](https://img.shields.io/travis/bevry/projectz/master.svg)](http://travis-ci.org/bevry/projectz "Check this project's build status on TravisCI") [![NPM version](https://img.shields.io/npm/v/projectz.svg)](https://npmjs.org/package/projectz "View this project on NPM") [![NPM downloads](https://img.shields.io/npm/dm/projectz.svg)](https://npmjs.org/package/projectz "View this project on NPM") [![Dependency Status](https://img.shields.io/david/bevry/projectz.svg)](https://david-dm.org/bevry/projectz) [![Dev Dependency Status](https://img.shields.io/david/dev/bevry/projectz.svg)](https://david-dm.org/bevry/projectz#info=devDependencies)
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay") [![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr") [![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal") [![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin") [![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us") Stop wasting time syncing and updating your project's README and Package Files! Here's some of the things it can do: - Keep your projects data files synchronised appropriately, supports: - `package.json` - `bower.json` - `component.json` - `jquery.json` - Create beautiful standardised readme files that stay in sync with your data files, supports: - `README.md` - `CONTRIBUTING.md` - `LICENSE.md` - `BACKERS.md` - `HISTORY.md` - Automatic injection of the appropriate installation methods, supports: - Node - Browserify - Ender - Component - Bower - Automatic injection of the appropriate badges for your project, supports: - Development Badges - Waffle.io - Travis CI - Fury.io NPM - David DM Dependencies, and Dev Dependencies - Donation Badges - Gittip - Flattr - Paypal - BitCoin - Wishlist - Automatic injection of your license information, supports: - MIT - Dual Licenses - More to come - Keep your data and readme files up to date with remote data, supports: - Pulling in your latest contributors from GitHub - Pulling in your latest financial backers from Flattr, etc (coming soon) ## Install ### [NPM](http://npmjs.org/) - Use: `require('projectz')` - Install: `npm install --save projectz` ## Running Projectz ### Directly Once installed locally, you can compile your project using projectz by running the following in your terminal: ``` bash node ./node_modules/projectz/bin/projectz compile ``` ### Automatically To make projectz more automatic, we recommended adding the direct command to your build tool. If you don't use a build tool, but do use npm, then you can add the following to your project's `package.json` file: ``` { "scripts": { "compile": "node ./node_modules/projectz/bin/projectz compile", "posttest": "node ./node_modules/projectz/bin/projectz compile" } } ``` The `compile` script here lets you use `npm run-script compile` to compile your project with projectz. The `posttest` script here automaticaly compiles your project with projectz after your tests have successfully completed, providing you use `npm test` to run your tests. This is a great place to put projectz as projectz only updates meta documents so won't affect your test, and will always run before a publish. ## Configuring Projectz ### Data Files Projectz helps you maintain the following data files: - `package.json` - `bower.json` - `component.json` - `jquery.json` It does this by reading them, combining their data in memory, and then outputting the appropriate fields and over-rides for each file. Each file can serve as the master meta data file, however you can also define a `projectz.cson` [CSON](https://github.com/bevry/cson) file that you can use if you'd like to have the benefit of comments, optional commas, multiline strings, etc for your primary meta data file. The special fields are as so: ``` coffee { # Project's human readable name title: "Projectz" # Project slug name name: "projectz" # Project GitHub repository full name # If `repository` is set, or if `homepage` is a GitHub URL, we set this automatically repo: "bevry/projectz" # Project's homepage URL # If `repo`, `repository`, or `demo` is set, we set this automatically homepage: "https://github.com/bevry/projectz" # Project's demo URL # If `homepage` or is set, we set this automatically demo: "https://github.com/bevry/projectz" # Project description description: "Stop wasting time syncing and updating your project's README and Package Files!" # Project keywords # Can be an array or CSV string keywords: "a, b, c" # Project's author details # Can be an array or CSV string authors: ["2013+ Bevry Pty Ltd (http://bevry.me)"] author: null # Maintainers # Can be an array or CSV string maintainers: ["Benjamin Lupton (b@lupton.cc) (http://bevry.me)"] maintainer: null # Sponsors # Can be an array or CSV string sponsors: ["Benjamin Lupton (b@lupton.cc) (http://bevry.me)"] # Contributors # Pulled in automatically from the GitHub Repository API and the GitHub Repository's `package.json` file contributors: null # Project's license details # Can be an array or CSV string license: "MIT" # {type:"MIT", url:"http://..."} licenses: null # Project's repository details # If `repo` is set, or if `homepage` is a GitHub URL, we set this automatically repository: type: "git" url: "https://github.com/bevry/projectz.git" # Project's repository details # If `repo` is set, or if `homepage` is a GitHub URL, we set this automatically bugs: url: "https://github.com/bevry/projectz/issues" # Whether the project can run on the client-side in web browsers # If the component or bower package information is set, then this becomes true automatically browsers: true # Project's badges for use in the readme files badges: # Travis CI Badge # If not set, fallbacks to true if the `.travis.yml` file exists travis: true # NPM Badge # If not set, fallbacks to true if the `package.json` file exists npm: true # David DM Dependency Badge # If not set, fallbacks to true if the `package.json` file exists # Will only run if dependencies is set david: true # David DM Dev Dependency Badge # If not set, fallbacks to the David DM Dependency Badge value # Will only run if dev dependencies is set daviddev: true # Waffle.io Badge # If a string is provided, that will be used as the GitHub issue queue # label. Otherwise, the label will default to "ready". waffleio: true # Gittip Badge gittip: "balupton" # Flattr Badge flattr: "344188/balupton-on-Flattr" # Paypal Badge paypal: "QB8GQPZAH84N6" # BitCoin Badge bitcoin: "https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a" # Wishlist Badge wishlist: "http://amzn.com/w/2F8TXKSNAFG4V" } ``` ### Readme Files Projectz helps you maintain the following readme files: - `README.md` - `CONTRIBUTING.md` - `LICENSE.md` - `BACKERS.md` - `HISTORY.md` It does this by reading them, and replacing comment tags with the approriate data. The following comment tags are supported: - `` — outputs the package's `title` field - `` — outputs the badges you have enabled from your package's `badges` field - `` — outputs the package's `description` field - `` — supports installation instructions for: - npm (if the `package.json` file exists) - browserify, ender (if the `package.json` file exists and the `browsers` field is truthy) - bower (if the `bower.json` file exists) - component (if the `component.json` file exists) - `` — outputs a link to the `HISTORY.md` file - `` — outputs a link to the `CONTRIBUTE.md` file - `` — outputs the information from the `sponsors` field, as well as any sponsor type badges - `` — outputs a summary of the license information, and a link to the `LICENSE.md` As well as these comment tags for updating entire files: - `` — outputs the complete license information - `` — same as `` but made for an individual file instead As an example, here is a a basic `README.md` file: ## Usage Usage instructions go here ## History [Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/projectz/blob/master/HISTORY.md#files) ## Contribute [Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/bevry/projectz/blob/master/CONTRIBUTING.md#files) ## Backers ### Maintainers These amazing people are maintaining this project: - Benjamin Lupton (https://github.com/balupton) - Rob Loach (https://github.com/RobLoach) ### Sponsors No sponsors yet! Will you be the first? [![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay") [![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr") [![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal") [![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin") [![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us") ### Contributors These amazing people have contributed code to this project: - [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/projectz/commits?author=balupton) - [Rob Loach](https://github.com/RobLoach) — [view contributions](https://github.com/bevry/projectz/commits?author=RobLoach) - [Zearin](https://github.com/Zearin) — [view contributions](https://github.com/bevry/projectz/commits?author=Zearin) [Become a contributor!](https://github.com/bevry/projectz/blob/master/CONTRIBUTING.md#files) ## License Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/) Copyright © 2013+ Bevry Pty Ltd (http://bevry.me)