# grunt-atomify

> Use Grunt to atomify all the stuff in an automated way

Latest version **0.5.0** (published 2015-10-28) · 0 weekly downloads

## Install

```sh
npm install grunt-atomify
pnpm add grunt-atomify
yarn add grunt-atomify
bun add grunt-atomify
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2015-10-28 |
| First published | 2014-06-25 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | mich Cook |
| Maintainers | mich-cook |
| Keywords | gruntplugin |

## Links

- npm: https://www.npmjs.com/package/grunt-atomify
- Repository: https://github.com/mich-cook/grunt-atomify
- Issues: https://github.com/mich-cook/grunt-atomify/issues
- npm.io page: https://npm.io/package/grunt-atomify

## Dependencies (1)

- [atomify](https://npm.io/package/atomify.md) 6.0.1

## Recent versions

- 0.5.0 (latest) — 2015-10-28
- 0.4.0 — 2015-01-06
- 0.3.0 — 2014-07-15
- 0.2.0 — 2014-07-08
- 0.1.0 — 2014-06-25

## README

grunt-atomify
=============

[![Build Status](https://api.travis-ci.org/mich-cook/grunt-atomify.svg?branch=master)](https://travis-ci.org/mich-cook/grunt-atomify)
[![Dependency Status](https://david-dm.org/mich-cook/grunt-atomify.svg)](https://david-dm.org/mich-cook/grunt-atomify)
[![NPM](https://nodei.co/npm/grunt-atomify.png)](https://npmjs.org/package/grunt-atomify)

Hook atomify into your grunt process
Example: you can have two different atomify configurations for release and debug builds.
In this example, we're minifying the release artifact, and leaving the debug artifact inflated, and we're starting a
livereload server in debug mode, for interactive development.
This also shows that you can use grunt string replacement, like in a yeoman generated project.

```javascript

atomify: {
  dist: {
    js: {
      entry: '<%= yeoman.app %>/src/index.js',
      transforms: ['debowerify', 'uglifyify'],
      debug: false,
      output: '<%= yeoman.dist %>/js/main.js'
    }
  },
  debug: {
    js: {
      entry: 'app/src/index.js',
      transforms: ['debowerify'],
      debug: true,
      output: 'dist/js/main.js'
    },
    server: {
      port: 9000,
      hostname: 'localhost',
      url: 'http://localhost:9000/yeoman/app/src/index.html',
      open: true,
      lr: {
        sync: true,
        port: 35729,
        verbose: true,
        // can't use grunt string replacement in these patterns
        patterns: [ 'yeoman/app/src/**/*.js' ]
      }
   }
  }
}

```

To run your dist build:
```
grunt atomify:dist
```

To run your debug build:
```
grunt atomify:debug
```

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