mirror of
https://github.com/facebook/react.git
synced 2026-02-27 03:07:57 +00:00
This is a machine-generated codemod, but it's pretty safe since it was generated by hooking into eslint's own report. A few files had to be touched up by hand because there were existing formatting issues with nested arrays/objects: src/shared/utils/__tests__/OrderedMap-test.js src/shared/utils/__tests__/Transaction-test.js src/shared/utils/__tests__/traverseAllChildren-test.js src/isomorphic/children/__tests__/ReactChildren-test.js
17 lines
303 B
JavaScript
17 lines
303 B
JavaScript
'use strict';
|
|
|
|
var grunt = require('grunt');
|
|
|
|
var version = grunt.config.data.pkg.version;
|
|
|
|
module.exports = {
|
|
starter: {
|
|
options: {
|
|
archive: './build/react-' + version + '.zip',
|
|
},
|
|
files: [
|
|
{cwd: './build/starter', src: ['**'], dest: 'react-' + version + '/'},
|
|
],
|
|
},
|
|
};
|