mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
Fix typo (storyboard -> storybook) (#3603)
This commit is contained in:
parent
30fa5fe1a4
commit
d81b706f12
3 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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')} />
|
||||
));
|
||||
|
|
|
@ -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'],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue