mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
18 lines
478 B
JavaScript
18 lines
478 B
JavaScript
module.exports = function(grunt) {
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
browserify: {
|
|
'dist/subview.js': ['src/main.js'],
|
|
'examples/build.js': ['examples/example.js']
|
|
},
|
|
watch: {
|
|
files: [ "src/*.js", "examples/example.js"],
|
|
tasks: [ 'browserify' ]
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-browserify');
|
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
|
};
|
|
|