# grunt-motion-build

> build motion as your wish

Latest version **0.2.3** (published 2014-12-16) · 0 weekly downloads

## Install

```sh
npm install grunt-motion-build
pnpm add grunt-motion-build
yarn add grunt-motion-build
bun add grunt-motion-build
```

## 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.2.3 |
| Published | 2014-12-16 |
| First published | 2014-12-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Aiden Xiong |
| Maintainers | tgideas |
| Keywords | gruntplugin |

## Links

- npm: https://www.npmjs.com/package/grunt-motion-build
- Repository: https://github.com/tgideas/grunt-motion-build
- Homepage: https://tgideas.github.com/
- Issues: https://github.com/tgideas/grunt-motion-build/issues
- npm.io page: https://npm.io/package/grunt-motion-build

## Recent versions

- 0.2.3 (latest) — 2014-12-16
- 0.2.2 — 2014-12-16
- 0.2.1 — 2014-12-16
- 0.1.1 — 2014-12-05
- 0.1.0 — 2014-12-05

## README

# grunt-motion-build

> build motion as your wish

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-motion-build --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-motion-build');
```

## The "motion_build" task

### Overview
In your project's Gruntfile, add a section named `motion_build` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  motion_build: {
    dev: {
      options: {
      },
      files: [
        {
          expand: true,
          cwd: 'src/main/',
          filter : 'isFile',
          src: '**/*',
          dest: 'build/'
        }
      ]
    }
  }
});
```

### Options

相关配置和seajs可一致，当前文件的根目录认为是seajs的根目录

唯一不同的的配置参数为dest

#### options.dest
Type: `String`
Default value: `'build/'`

打包完的代码输出路径.

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