mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
Merge branch 'gh-pages' of github.com:wix/react-templates into gh-pages
This commit is contained in:
commit
0c58bbf1dd
13
Gruntfile.js
13
Gruntfile.js
@ -43,11 +43,24 @@ module.exports = function (grunt) {
|
|||||||
'playground/main.browser.js': ['playground/main.js']
|
'playground/main.browser.js': ['playground/main.js']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
node_tap: {
|
||||||
|
default_options: {
|
||||||
|
options: {
|
||||||
|
outputType: 'tap',
|
||||||
|
outputTo: 'console'
|
||||||
|
},
|
||||||
|
files: {
|
||||||
|
'tests': ['./test/src/*.js']
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-browserify');
|
grunt.loadNpmTasks('grunt-browserify');
|
||||||
grunt.loadNpmTasks('grunt-eslint');
|
grunt.loadNpmTasks('grunt-eslint');
|
||||||
|
grunt.loadNpmTasks('grunt-node-tap');
|
||||||
|
|
||||||
grunt.registerTask('default', ['eslint', 'build_sources', 'check', 'build']);
|
grunt.registerTask('default', ['eslint', 'build_sources', 'check', 'build']);
|
||||||
grunt.registerTask('test', ['jasmine_node']);
|
grunt.registerTask('test', ['jasmine_node']);
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
"grunt-browserify": "^3.2.0",
|
"grunt-browserify": "^3.2.0",
|
||||||
"grunt-contrib-watch": "^0.6.1",
|
"grunt-contrib-watch": "^0.6.1",
|
||||||
"grunt-eslint": "^2.0.0",
|
"grunt-eslint": "^2.0.0",
|
||||||
|
"grunt-node-tap": "^0.1.61",
|
||||||
"tape": "^3.0.2"
|
"tape": "^3.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user