Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 20, 2014
1 parent d7e0230 commit 4af1772
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
30 changes: 24 additions & 6 deletions component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue",
"version": "0.11.0",
"main": "src/main.js",
"main": "src/vue.js",
"author": "Evan You <[email protected]>",
"description": "Simple, Fast & Composable MVVM for building interative interfaces",
"keywords": [
Expand All @@ -21,15 +21,31 @@
"src/cache.js",
"src/config.js",
"src/directive.js",
"src/directives/attr.js",
"src/directives/class.js",
"src/directives/cloak.js",
"src/directives/component.js",
"src/directives/html.js",
"src/directives/if.js",
"src/directives/index.js",
"src/directives/model.js",
"src/directives/on.js",
"src/directives/partial.js",
"src/directives/ref.js",
"src/directives/repeat.js",
"src/directives/show.js",
"src/directives/style.js",
"src/directives/text.js",
"src/directives/transition.js",
"src/directives/with.js",
"src/emitter.js",
"src/filters/array-filters.js",
"src/filters/index.js",
"src/instance/bindings.js",
"src/instance/compile.js",
"src/instance/data.js",
"src/instance/element.js",
"src/instance/events.js",
"src/instance/init.js",
"src/instance/proxy.js",
"src/instance/scope.js",
"src/observe/array-augmentations.js",
"src/observe/object-augmentations.js",
Expand All @@ -40,14 +56,16 @@
"src/parse/template.js",
"src/parse/text.js",
"src/transition/css.js",
"src/transition/index.js",
"src/transition/js.js",
"src/transition/transition.js",
"src/util/debug.js",
"src/util/dom.js",
"src/util/env.js",
"src/util/filter.js",
"src/util/index.js",
"src/util/lang.js",
"src/util/option.js",
"src/vue.js"
"src/util/merge-option.js",
"src/vue.js",
"src/watcher.js"
]
}
9 changes: 3 additions & 6 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,8 @@ module.exports = function (grunt) {
grunt.registerTask('cover', ['karma:phantom'])
grunt.registerTask('bench', ['browserify:bench'])
grunt.registerTask('watch', ['browserify:watch'])
grunt.registerTask('build', [
'browserify:test',
'browserify:build',
'uglify:build',
'size'
])
grunt.registerTask('build', ['component', 'browserify:build', 'uglify:build', 'size'])
grunt.registerTask('test', ['unit', 'cover'])
grunt.registerTask('default', ['jshint', 'test', 'build'])

}

0 comments on commit 4af1772

Please sign in to comment.