Skip to content

Commit acff1b6

Browse files
author
Michael James
committed
Initial commit.
* Setting up builds tools based off create-react-app
0 parents  commit acff1b6

22 files changed

+6111
-0
lines changed

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env
15+
npm-debug.log*
16+
yarn-debug.log*
17+
yarn-error.log*
18+

.storybook/addons.js

Whitespace-only changes.

.storybook/config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { configure } from '@kadira/storybook';
2+
import '@kadira/storybook/addons';
3+
4+
function loadStories() {
5+
require('../stories/index.tsx');
6+
}
7+
8+
configure(loadStories, module);

.storybook/webpack.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// load the default config generator.
2+
var genDefaultConfig = require('@kadira/storybook/dist/server/config/defaults/webpack.config.js');
3+
4+
module.exports = function (config, env) {
5+
var config = genDefaultConfig(config, env);
6+
7+
config.module.loaders.push({
8+
test: /\.tsx$/,
9+
loader: 'ts-loader'
10+
})
11+
config.module.loaders.push({
12+
test: /\.ts$/,
13+
loader: 'ts-loader'
14+
})
15+
config.resolve.extensions.push(".tsx");
16+
config.resolve.extensions.push(".ts");
17+
18+
return config;
19+
};

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*This library is not ready for consumption*

dist/bars/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="react" />
2+
import * as React from 'react';
3+
export declare class AudioBars extends React.Component<{}, null> {
4+
render(): JSX.Element;
5+
}

dist/bars/index.js

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bars/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bars/index.test.d.ts

Whitespace-only changes.

dist/bars/index.test.js

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)