mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Rely on jest for now until we get a better and less hacky solution to running tests in the browser, probably a totally different test suite with different behavior/goals.
26 lines
433 B
JavaScript
26 lines
433 B
JavaScript
'use strict';
|
|
|
|
var grunt = require('grunt');
|
|
|
|
var rootIDs = [
|
|
'React',
|
|
'ReactWithAddons',
|
|
// deprecated is used in the npm package but not anywhere else, so build it.
|
|
'deprecated',
|
|
];
|
|
|
|
var normal = {
|
|
rootIDs: rootIDs,
|
|
getConfig: function() {
|
|
return {
|
|
commonerConfig: grunt.config.data.pkg.commonerConfig,
|
|
};
|
|
},
|
|
sourceDir: 'src',
|
|
outputDir: 'build/modules',
|
|
};
|
|
|
|
module.exports = {
|
|
normal: normal,
|
|
};
|