Skip to content

Commit 9758efe

Browse files
committed
readme + grunt build
1 parent 8c9c24e commit 9758efe

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

Gruntfile.js

+6
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ module.exports = function( grunt ) {
8686
require('./' + path)(grunt)
8787
})
8888

89+
grunt.registerTask( 'build', [
90+
'componentbuild',
91+
'uglify',
92+
'size'
93+
])
94+
8995
grunt.registerTask( 'test', [
9096
'componentbuild',
9197
'jsc',

README.md

+16-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
# VueJS
1+
# VueJS [![Build Status](https://travis-ci.org/yyx990803/vue.png?branch=master)](https://travis-ci.org/yyx990803/vue)
22

3-
Data-driven, modular & lightweight ViewModels
4-
5-
[![Build Status](https://travis-ci.org/yyx990803/vue.png?branch=master)](https://travis-ci.org/yyx990803/vue)
3+
> Simple, fast, modular & lightweight MVVM library for building interactive user interfaces.
64
75
## Features
86

97
- 10kb gzipped, no dependency.
108
- DOM based templates with two-way data binding.
119
- Precise and efficient DOM manipulation with granularity down to a TextNode.
1210
- POJSO (Plain Old JavaScript Objects) Models that can be shared across ViewModels with arbitrary levels of nesting.
13-
- Extendable with custom directives and filters.
14-
- Auto dependency extraction for computed properties.
11+
- Auto dependency tracking for expressions and computed properties.
1512
- Auto event delegation on repeated items.
16-
- Flexible API that allows easy encapsulation of components.
17-
- Supports partials, transitions and nested view models.
13+
- Flexible API that encourages composition of components.
14+
- Extendable with custom directives and filters.
15+
- Supports partials, transitions and nested ViewModels.
1816
- Plays well with module systems. Primarily [Component](https://github.com/component/component) based, but can also be used with [Browserify](https://github.com/substack/node-browserify), as a CommonJS/AMD module or as a standalone library.
1917

2018
## Browser Support
@@ -27,15 +25,21 @@ Data-driven, modular & lightweight ViewModels
2725

2826
**Component**
2927

30-
$ component install yyx990803/vue
28+
``` bash
29+
$ component install yyx990803/vue
30+
```
3131

3232
**Browserify**
3333

34-
$ npm install vue
34+
``` bash
35+
$ npm install vue
36+
```
3537

3638
**Bower**
3739

38-
$ bower install vue
40+
``` bash
41+
$ bower install vue
42+
```
3943

4044
**Module Loaders, e.g. RequireJS, SeaJS**
4145

@@ -56,7 +60,7 @@ $ component install
5660

5761
To build:
5862
``` bash
59-
$ grunt componentbuild
63+
$ grunt build
6064
```
6165

6266
To watch and auto-build dev version during development:

0 commit comments

Comments
 (0)