https://github.com/phase2/generator-p2-theme
Drupal Theme Yeoman Generator
https://github.com/phase2/generator-p2-theme
Last synced: 9 months ago
JSON representation
Drupal Theme Yeoman Generator
- Host: GitHub
- URL: https://github.com/phase2/generator-p2-theme
- Owner: phase2
- License: mit
- Created: 2016-05-02T21:47:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-18T18:40:30.000Z (almost 10 years ago)
- Last Synced: 2025-02-10T09:32:20.998Z (about 1 year ago)
- Language: JavaScript
- Size: 373 KB
- Stars: 3
- Watchers: 18
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-p2-theme [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> Theme generator for Phase2
**This is one of two pieces of our themes:**
- [`generator-p2-theme`](https://github.com/phase2/generator-p2-theme) (aka `yo p2-theme`) (this repo) - this asks questions and then creates new files to be committed to start off a project's theme.
- [`p2-theme-core`](https://github.com/phase2/p2-theme-core) - the core gulp tasks that handles most of the theme's automation.
## Installation
First, install [Yeoman](http://yeoman.io) and generator-p2-theme using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
```bash
npm install -g yo
npm install -g generator-p2-theme
```
Then generate your new project:
```bash
yo p2-theme
```
## Core Configuration
All core configuration is handled by [`p2-theme-core`](http://github.com/phase2/p2-theme-core).
[npm-image]: https://badge.fury.io/js/generator-p2-theme.svg
[npm-url]: https://npmjs.org/package/generator-p2-theme
[travis-image]: https://travis-ci.org/phase2/generator-p2-theme.svg?branch=master
[travis-url]: https://travis-ci.org/phase2/generator-p2-theme
[daviddm-image]: https://david-dm.org/phase2/generator-p2-theme.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/phase2/generator-p2-theme