forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact.ts
More file actions
22 lines (20 loc) · 613 Bytes
/
react.ts
File metadata and controls
22 lines (20 loc) · 613 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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'],
extraConfigurations: {
'/jsconfig.json': configurations.jsconfig,
'/tsconfig.json': configurations.tsconfig,
},
}
);