Skip to content

Commit

Permalink
Convert project to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
PNNutkung committed Aug 3, 2019
1 parent 3b34672 commit 211d66a
Show file tree
Hide file tree
Showing 65 changed files with 6,758 additions and 3,807 deletions.
8 changes: 5 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
"@babel/env",
"@babel/typescript",
"@babel/react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
"@babel/proposal-export-default",
"@babel/proposal-export-default-from",
"babel-plugin-styled-components"
Expand Down
8 changes: 3 additions & 5 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { configure, setAddon } from '@storybook/react'
import { configure } from '@storybook/react'

import JSXAddon from 'storybook-addon-jsx'
const req = require.context('./stories', true, /\.tsx?$/)

function loadStories () {
require('stories')
req.keys().forEach(req)
}

setAddon(JSXAddon)

configure(loadStories, module)
5 changes: 0 additions & 5 deletions jsconfig.json

This file was deleted.

Loading

0 comments on commit 211d66a

Please sign in to comment.