Skip to content

Commit ef87b9c

Browse files
authored
Merge pull request #2 from storybooks/version-1
Version 1
2 parents 55ee855 + 8d90f7e commit ef87b9c

File tree

149 files changed

+11254
-25510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+11254
-25510
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": ["es2015", "stage-0", "react"]
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
3+
"plugins": ["@babel/plugin-proposal-class-properties"]
34
}

.eslintrc

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

100644100755
Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
1-
node_modules
2-
dist
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/dist
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
dev-dist/

.scripts/deployer/index.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

.scripts/deployer/utils.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

.scripts/lint.js

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ var babel = ['node_modules', '.bin', 'babel'].join(path.sep);
55

66
require('./ver');
77

8+
const [_, __, ...otherArgs] = process.argv;
9+
console.log(otherArgs);
810

9-
const args = '--ignore tests,stories,story.jsx,story.js src --out-dir dist';
11+
const args = `--ignore tests,stories,story.jsx,story.js src --out-dir dist --verbose ${otherArgs.join(
12+
' '
13+
)}`;
1014
const cmd = `${babel} ${args}`;
1115
shell.echo(chalk.gray(cmd));
1216
shell.rm('-rf', 'dist');
1317

1418
shell.echo('');
15-
shell.echo(chalk.gray('Transpiling \'src\' into ES5 ...'));
19+
shell.echo(chalk.gray("Transpiling 'src' into ES5 ..."));
1620
shell.exec(cmd);
1721
shell.echo(chalk.gray('Transpiling completed.'));
1822
shell.echo('');

.scripts/npm-status.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

.scripts/run_tests/index.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

.scripts/run_tests/mocha_runner.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)