# generator-chrome-extension-simple

> Yeoman generator for Chrome Extension development

Latest version **0.1.1** (published 2015-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-chrome-extension-simple
pnpm add generator-chrome-extension-simple
yarn add generator-chrome-extension-simple
bun add generator-chrome-extension-simple
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-03-23 |
| First published | 2015-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Stephen Collins |
| Maintainers | wtfsven |
| Keywords | yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-chrome-extension-simple
- Repository: https://github.com/wtfsven/generator-chrome-extension-simple
- Issues: https://github.com/wtfsven/generator-chrome-extension-simple/issues
- npm.io page: https://npm.io/package/generator-chrome-extension-simple

## Dependencies (14)

- [glob](https://npm.io/package/glob.md) ^4.0.5
- [chalk](https://npm.io/package/chalk.md) ^0.5.0
- [grunt](https://npm.io/package/grunt.md) ~0.4.1
- [yosay](https://npm.io/package/yosay.md) ^0.3.0
- [clean-css](https://npm.io/package/clean-css.md) ^2.2.13
- [load-grunt-tasks](https://npm.io/package/load-grunt-tasks.md) ~0.2.0
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.18.0
- [grunt-contrib-copy](https://npm.io/package/grunt-contrib-copy.md) ^0.5.0
- [grunt-contrib-less](https://npm.io/package/grunt-contrib-less.md) ~0.11.0
- [grunt-contrib-clean](https://npm.io/package/grunt-contrib-clean.md) ^0.6.0
- [grunt-contrib-uglify](https://npm.io/package/grunt-contrib-uglify.md) ~0.4.0
- [grunt-contrib-compass](https://npm.io/package/grunt-contrib-compass.md) ~0.6.0
- [grunt-contrib-htmlmin](https://npm.io/package/grunt-contrib-htmlmin.md) ~0.2.0
- [grunt-contrib-compress](https://npm.io/package/grunt-contrib-compress.md) ^0.10.0

## Recent versions

- 0.1.1 (latest) — 2015-03-23
- 0.1.0 — 2015-03-01
- 0.0.0 — 2015-03-01

## README

# Simple Chrome Extension generator  [![Build Status](https://secure.travis-ci.org/nibblesnbits/generator-chrome-extension-simple.svg?branch=master)](http://travis-ci.org/nibblesnbits/generator-chrome-extension-simple)

Maintainer: [Stephen Collins](https://github.com/nibblesnbits)

> Chrome Extension generator that creates everything you need to get started with extension development.
Includes `grunt` tasks for easy generation of debug and release builds.

## Getting Started

- First make a new directory, and `cd` into it: `mkdir my-new-chrome-extension && cd $_`
- Install the generator: `npm install -g generator-chrome-extension-simple`
- Run: `yo chrome-extension-simple`

Need more information about Chrome Extension? Please visit [Google Chrome Extension Develpment](http://developer.chrome.com/extensions/devguide.html)

## Generators

Available generators:

* [chrome-extension-simple](#app) (aka [chrome-extension-simple:app](#app))

### App

Sets up a new Chrome Extension, generating all the boilerplate you need to get started.

```bash
yo chrome-extension-simple
```

## Test Chrome Extension

To test, go to: chrome://extensions, enable Developer mode and load app as an unpacked extension
by selecting the `build` directory within your project.

## Grunt tasks

### Debug

Debug task helps reduce your efforts during development.

```bash
grunt
(or)
grunt debug
```

### Build

By default, generators compress the file that was created by building a js/css/html/resource file. You can distribute the compressed (`.zip`) file using the Chrome Developer Dashboard to publish to the Chrome Web Store.

Run this command to build your Chrome Extension project.

```bash
grunt build
```

Grunt will automatically increment your [patch](http://semver.org/) version and create a new compressed file for that version.

## Bower Dependency Management

In an effort to reduce distributable package size, this generator includes a `dependencies.json` configuration file.

```javascript
module.exports = {
  build: {
    options: {
      dependencies: [{
          "src": "bower/jquery/dist/jquery.min.js",
          "dest": "app/libs/js/jquery.min.js"
      }]
    }
  }
}
```

The `dependencies` property contains an array of objects with `src` and `dest` properties.  `src` referrers to the relative path to a bower dependency, while `dest` specifies where to copy the file(s) during build.  jQuery has been included by default as an example.

## Options

* `--skip-install`

  Skips the automatic execution of `bower` and `npm` after
  scaffolding has finished.


## License

MIT

---
_Source: https://npm.io/package/generator-chrome-extension-simple · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
