File size: 705 Bytes
84c1942 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | import { decorateSelector } from '../utils/decorate-selector';
import configurations from './configuration';
import { ReactTemplate } from './helpers/react-template';
export default new ReactTemplate(
'create-react-app',
'React',
'https://github.com/facebookincubator/create-react-app',
'new',
decorateSelector(() => '#61DAFB'),
{
showOnHomePage: true,
popular: true,
main: true,
mainFile: [
'/src/index.js',
'/src/index.tsx',
'/src/index.ts',
'/src/main.tsx',
'/src/main.ts',
'/src/main.js',
],
extraConfigurations: {
'/jsconfig.json': configurations.jsconfig,
'/tsconfig.json': configurations.tsconfig,
},
}
);
|