about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-06 11:07:34 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-06 04:07:34 +0200
commitd81b706f12e3eeb7a39124c42e27ccf392596869 (patch)
treeab5737fac511714e8545f22072aa7488bdc58521
parent30fa5fe1a491d388b8708abe83de4c7a8c096e00 (diff)
Fix typo (storyboard -> storybook) (#3603)
-rw-r--r--package.json2
-rw-r--r--storybook/stories/button.story.js8
-rw-r--r--storybook/webpack.config.js2
3 files changed, 6 insertions, 6 deletions
diff --git a/package.json b/package.json
index da8471605..63231a75d 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
     "start": "rimraf ./tmp/streaming && babel ./streaming/index.js --out-dir ./tmp && node ./tmp/streaming/index.js",
     "storybook": "NODE_ENV=test start-storybook -s ./public -p 9001 -c storybook",
     "test": "npm run test:lint && npm run test:mocha",
-    "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ spec/javascript/ storyboard/ streaming/",
+    "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ spec/javascript/ storybook/ streaming/",
     "test:mocha": "NODE_ENV=test mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.js",
     "postinstall": "npm rebuild node-sass"
   },
diff --git a/storybook/stories/button.story.js b/storybook/stories/button.story.js
index 628deed0a..1971451e8 100644
--- a/storybook/stories/button.story.js
+++ b/storybook/stories/button.story.js
@@ -5,14 +5,14 @@ import Button from 'mastodon/components/button';
 
 storiesOf('Button', module)
   .add('default state', () => (
-    <Button text="submit" onClick={action('clicked')} />
+    <Button text='submit' onClick={action('clicked')} />
   ))
   .add('secondary', () => (
-    <Button secondary text="submit" onClick={action('clicked')} />
+    <Button secondary text='submit' onClick={action('clicked')} />
   ))
   .add('disabled', () => (
-    <Button disabled text="submit" onClick={action('clicked')} />
+    <Button disabled text='submit' onClick={action('clicked')} />
   ))
   .add('block', () => (
-    <Button block text="submit" onClick={action('clicked')} />
+    <Button block text='submit' onClick={action('clicked')} />
   ));
diff --git a/storybook/webpack.config.js b/storybook/webpack.config.js
index 054889b03..e16910b29 100644
--- a/storybook/webpack.config.js
+++ b/storybook/webpack.config.js
@@ -9,7 +9,7 @@ module.exports = {
       },
       {
         test: /.scss$/,
-        loaders: ["style-loader", "css-loader", "postcss-loader", "sass-loader"],
+        loaders: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'],
       },
     ],
   },