mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge branch 'master' into select-knob-ordering
This commit is contained in:
commit
b2f22ae14f
1
.babelrc
1
.babelrc
@ -1,6 +1,7 @@
|
||||
{
|
||||
"presets": ["env", "stage-0", "react"],
|
||||
"plugins": [
|
||||
"babel-plugin-macros",
|
||||
["transform-runtime", {
|
||||
"polyfill": false,
|
||||
"regenerator": true
|
||||
|
7
addons/knobs/src/angular/helpers.js
vendored
7
addons/knobs/src/angular/helpers.js
vendored
@ -86,11 +86,12 @@ const getAnnotatedComponent = ({ componentMeta, component, params, knobStore, ch
|
||||
return KnobWrapperComponent;
|
||||
};
|
||||
|
||||
const createComponentFromTemplate = template => {
|
||||
const createComponentFromTemplate = (template, styles) => {
|
||||
const componentClass = class DynamicComponent {};
|
||||
|
||||
return Component({
|
||||
template,
|
||||
styles,
|
||||
})(componentClass);
|
||||
};
|
||||
|
||||
@ -106,10 +107,10 @@ export function prepareComponent({ getStory, context, channel, knobStore }) {
|
||||
resetKnobs(knobStore, channel);
|
||||
const story = getStory(context);
|
||||
let { component } = story;
|
||||
const { template } = story;
|
||||
const { template, styles } = story;
|
||||
|
||||
if (!component) {
|
||||
component = createComponentFromTemplate(template);
|
||||
component = createComponentFromTemplate(template, styles);
|
||||
}
|
||||
|
||||
const { componentMeta, props, params, moduleMetadata } = getComponentMetadata({
|
||||
|
@ -4,8 +4,8 @@
|
||||
"description": "Write notes for your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
"storybook",
|
||||
"notes"
|
||||
"notes",
|
||||
"storybook"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
|
@ -122,6 +122,30 @@ Now run your Jest test command. (Usually, `npm test`.) Then you can see all of y
|
||||

|
||||
|
||||
|
||||
### Using `createNodeMock` to mock refs
|
||||
|
||||
`react-test-renderer` doesn't provide refs for rendered components. By
|
||||
default, it returns null when the refs are referenced. In order to mock
|
||||
out elements that rely on refs, you will have to use the
|
||||
`createNodeMock` option [added to React](https://reactjs.org/blog/2016/11/16/react-v15.4.0.html#mocking-refs-for-snapshot-testing) starting with version 15.4.0.
|
||||
|
||||
Here is an example of how to specify the `createNodeMock` option in Storyshots:
|
||||
|
||||
```js
|
||||
import initStoryshots, { snapshotWithOptions } from '@storybook/addon-storyshots'
|
||||
import TextareaThatUsesRefs from '../component/TextareaThatUsesRefs'
|
||||
|
||||
initStoryshots({
|
||||
test: snapshotWithOptions({
|
||||
createNodeMock: (element) => {
|
||||
if (element.type === TextareaThatUsesRefs) {
|
||||
return document.createElement('textarea')
|
||||
}
|
||||
},
|
||||
}),
|
||||
})
|
||||
```
|
||||
|
||||
## Configure Storyshots for image snapshots ( alpha )
|
||||
|
||||
/*\ **React-native** is **not supported** by this test function.
|
||||
|
@ -11,9 +11,9 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
"example": "jest storyshot.test",
|
||||
"prepare": "node ../../scripts/prepare.js",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"example": "jest storyshot.test"
|
||||
"storybook": "start-storybook -p 6006"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "^3.4.0-alpha.6",
|
||||
|
@ -2,14 +2,14 @@
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "3.4.0-alpha.6",
|
||||
"description": "Storybook addon to change the viewport size to mobile",
|
||||
"main": "register.js",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "register.js",
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@storybook/components": "^3.4.0-alpha.6",
|
||||
"global": "^4.3.2",
|
||||
|
@ -35,6 +35,7 @@
|
||||
"autoprefixer": "^7.2.5",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-loader": "^7.0.0",
|
||||
"babel-plugin-macros": "^2.1.0",
|
||||
"babel-plugin-react-docgen": "^1.8.2",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
@ -79,7 +80,7 @@
|
||||
"shelljs": "^0.8.1",
|
||||
"style-loader": "^0.20.1",
|
||||
"ts-loader": "^2.2.2",
|
||||
"uglifyjs-webpack-plugin": "^1.1.6",
|
||||
"uglifyjs-webpack-plugin": "^1.1.7",
|
||||
"url-loader": "^0.6.2",
|
||||
"util-deprecate": "^1.0.2",
|
||||
"uuid": "^3.2.1",
|
||||
@ -95,7 +96,7 @@
|
||||
"codelyzer": "^3.1.2",
|
||||
"mock-fs": "^4.3.0",
|
||||
"nodemon": "^1.14.11",
|
||||
"typescript": "^2.4.0"
|
||||
"typescript": "^2.7.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/common": ">=4.0.0",
|
||||
|
@ -68,26 +68,27 @@ const getModule = (
|
||||
return NgModule(moduleMeta)(moduleClass);
|
||||
};
|
||||
|
||||
const createComponentFromTemplate = (template: string): Function => {
|
||||
const createComponentFromTemplate = (template: string, styles: string[]): Function => {
|
||||
const componentClass = class DynamicComponent {};
|
||||
|
||||
return Component({
|
||||
template: template,
|
||||
template,
|
||||
styles,
|
||||
})(componentClass);
|
||||
};
|
||||
|
||||
const initModule = (
|
||||
currentStory: IGetStoryWithContext,
|
||||
context: IContext,
|
||||
reRender: boolean = false,
|
||||
reRender: boolean = false
|
||||
): Function => {
|
||||
const storyObj = currentStory(context);
|
||||
const { component, template, props, moduleMetadata = {} } = storyObj;
|
||||
const { component, template, props, styles, moduleMetadata = {} } = storyObj;
|
||||
|
||||
let AnnotatedComponent;
|
||||
|
||||
if (template) {
|
||||
AnnotatedComponent = createComponentFromTemplate(template);
|
||||
AnnotatedComponent = createComponentFromTemplate(template, styles);
|
||||
} else {
|
||||
AnnotatedComponent = component;
|
||||
}
|
||||
|
@ -16,6 +16,7 @@ export interface NgStory {
|
||||
propsMeta?: ICollection;
|
||||
moduleMetadata?: NgModuleMetadata;
|
||||
template?: string;
|
||||
styles?: string[];
|
||||
}
|
||||
|
||||
export interface NgError {
|
||||
|
16
app/angular/src/server/build.js
vendored
16
app/angular/src/server/build.js
vendored
@ -19,6 +19,7 @@ program
|
||||
.option('-s, --static-dir <dir-names>', 'Directory where to load static files from', parseList)
|
||||
.option('-o, --output-dir [dir-name]', 'Directory where to store built files')
|
||||
.option('-c, --config-dir [dir-name]', 'Directory where to load Storybook configurations from')
|
||||
.option('-w, --watch', 'Enable watch mode')
|
||||
.option('-d, --db-path [db-file]', 'DEPRECATED!')
|
||||
.option('--enable-db', 'DEPRECATED!')
|
||||
.parse(process.argv);
|
||||
@ -73,13 +74,20 @@ if (program.staticDir) {
|
||||
|
||||
// compile all resources with webpack and write them to the disk.
|
||||
logger.info('Building storybook ...');
|
||||
webpack(config).run((err, stats) => {
|
||||
const webpackCb = (err, stats) => {
|
||||
if (err || stats.hasErrors()) {
|
||||
logger.error('Failed to build the storybook');
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
err && logger.error(err.message);
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exit(1);
|
||||
stats && stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exitCode = 1;
|
||||
}
|
||||
});
|
||||
logger.info('Building storybook completed.');
|
||||
};
|
||||
const compiler = webpack(config);
|
||||
if (program.watch) {
|
||||
compiler.watch({}, webpackCb);
|
||||
} else {
|
||||
compiler.run(webpackCb);
|
||||
}
|
||||
|
37
app/angular/src/server/config/babel.js
vendored
37
app/angular/src/server/config/babel.js
vendored
@ -1,24 +1,29 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
const findCacheDir = require('find-cache-dir');
|
||||
|
||||
module.exports = {
|
||||
// Don't try to find .babelrc because we want to force this configuration.
|
||||
babelrc: false,
|
||||
// This is a feature of `babel-loader` for webpack (not Babel itself).
|
||||
// It enables a cache directory for faster-rebuilds
|
||||
// `find-cache-dir` will create the cache directory under the node_modules directory.
|
||||
cacheDirectory: findCacheDir({ name: 'react-storybook' }),
|
||||
presets: [
|
||||
require.resolve('babel-preset-env'),
|
||||
[
|
||||
require.resolve('babel-preset-env'),
|
||||
{
|
||||
targets: {
|
||||
browsers: ['last 2 versions', 'safari >= 7'],
|
||||
},
|
||||
modules: process.env.NODE_ENV === 'test' ? 'commonjs' : false,
|
||||
},
|
||||
],
|
||||
require.resolve('babel-preset-stage-0'),
|
||||
require.resolve('babel-preset-react'),
|
||||
],
|
||||
plugins: [
|
||||
require.resolve('babel-plugin-macros'),
|
||||
require.resolve('babel-plugin-transform-regenerator'),
|
||||
[
|
||||
require.resolve('babel-plugin-transform-runtime'),
|
||||
{
|
||||
helpers: true,
|
||||
polyfill: true,
|
||||
regenerator: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
@ -33,12 +33,13 @@
|
||||
"autoprefixer": "^7.1.6",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-plugin-macros": "^2.1.0",
|
||||
"babel-plugin-react-docgen": "^1.8.2",
|
||||
"babel-plugin-transform-regenerator": "^6.26.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"babel-preset-minify": "^0.2.0",
|
||||
"babel-preset-minify": "^0.3.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-react-app": "^3.1.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
|
@ -19,6 +19,7 @@ program
|
||||
.option('-s, --static-dir <dir-names>', 'Directory where to load static files from', parseList)
|
||||
.option('-o, --output-dir [dir-name]', 'Directory where to store built files')
|
||||
.option('-c, --config-dir [dir-name]', 'Directory where to load Storybook configurations from')
|
||||
.option('-w, --watch', 'Enable watch mode')
|
||||
.option('-d, --db-path [db-file]', 'DEPRECATED!')
|
||||
.option('--enable-db', 'DEPRECATED!')
|
||||
.parse(process.argv);
|
||||
@ -72,14 +73,21 @@ if (program.staticDir) {
|
||||
}
|
||||
|
||||
// compile all resources with webpack and write them to the disk.
|
||||
logger.log('Building storybook ...');
|
||||
webpack(config).run((err, stats) => {
|
||||
logger.info('Building storybook ...');
|
||||
const webpackCb = (err, stats) => {
|
||||
if (err || stats.hasErrors()) {
|
||||
logger.error('Failed to build the storybook');
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
err && logger.error(err.message);
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exit(1);
|
||||
stats && stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exitCode = 1;
|
||||
}
|
||||
});
|
||||
logger.info('Building storybook completed.');
|
||||
};
|
||||
const compiler = webpack(config);
|
||||
if (program.watch) {
|
||||
compiler.watch({}, webpackCb);
|
||||
} else {
|
||||
compiler.run(webpackCb);
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ module.exports = {
|
||||
require.resolve('babel-preset-react'),
|
||||
],
|
||||
plugins: [
|
||||
require.resolve('babel-plugin-macros'),
|
||||
require.resolve('babel-plugin-transform-regenerator'),
|
||||
[
|
||||
require.resolve('babel-plugin-transform-runtime'),
|
||||
|
@ -33,6 +33,7 @@
|
||||
"@storybook/ui": "^3.4.0-alpha.6",
|
||||
"autoprefixer": "^7.2.5",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-plugin-macros": "^2.1.0",
|
||||
"babel-plugin-syntax-async-functions": "^6.13.0",
|
||||
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
@ -42,7 +43,7 @@
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"babel-preset-minify": "^0.2.0",
|
||||
"babel-preset-minify": "^0.3.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"babel-runtime": "^6.26.0",
|
||||
@ -62,7 +63,7 @@
|
||||
"react-native-iphone-x-helper": "^1.0.1",
|
||||
"shelljs": "^0.8.1",
|
||||
"style-loader": "^0.20.1",
|
||||
"uglifyjs-webpack-plugin": "^1.1.6",
|
||||
"uglifyjs-webpack-plugin": "^1.1.7",
|
||||
"url-loader": "^0.6.2",
|
||||
"url-parse": "^1.1.9",
|
||||
"util-deprecate": "^1.0.2",
|
||||
|
1
app/react-native/src/server/config/babel.js
vendored
1
app/react-native/src/server/config/babel.js
vendored
@ -11,6 +11,7 @@ module.exports = {
|
||||
require.resolve('babel-preset-react'),
|
||||
],
|
||||
plugins: [
|
||||
require.resolve('babel-plugin-macros'),
|
||||
require.resolve('babel-plugin-syntax-trailing-function-commas'),
|
||||
require.resolve('babel-plugin-syntax-async-functions'),
|
||||
require.resolve('babel-plugin-transform-class-properties'),
|
||||
|
@ -34,11 +34,12 @@
|
||||
"airbnb-js-shims": "^1.4.1",
|
||||
"autoprefixer": "^7.2.5",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-plugin-macros": "^2.1.0",
|
||||
"babel-plugin-react-docgen": "^1.8.2",
|
||||
"babel-plugin-transform-regenerator": "^6.26.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"babel-preset-minify": "^0.2.0",
|
||||
"babel-preset-minify": "^0.3.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-react-app": "^3.1.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
@ -75,7 +76,7 @@
|
||||
"serve-favicon": "^2.4.5",
|
||||
"shelljs": "^0.8.1",
|
||||
"style-loader": "^0.20.1",
|
||||
"uglifyjs-webpack-plugin": "^1.1.6",
|
||||
"uglifyjs-webpack-plugin": "^1.1.7",
|
||||
"url-loader": "^0.6.2",
|
||||
"util-deprecate": "^1.0.2",
|
||||
"uuid": "^3.2.1",
|
||||
|
@ -19,6 +19,7 @@ program
|
||||
.option('-s, --static-dir <dir-names>', 'Directory where to load static files from', parseList)
|
||||
.option('-o, --output-dir [dir-name]', 'Directory where to store built files')
|
||||
.option('-c, --config-dir [dir-name]', 'Directory where to load Storybook configurations from')
|
||||
.option('-w, --watch', 'Enable watch mode')
|
||||
.option('-d, --db-path [db-file]', 'DEPRECATED!')
|
||||
.option('--enable-db', 'DEPRECATED!')
|
||||
.parse(process.argv);
|
||||
@ -73,7 +74,7 @@ if (program.staticDir) {
|
||||
|
||||
// compile all resources with webpack and write them to the disk.
|
||||
logger.info('Building storybook ...');
|
||||
webpack(config).run((err, stats) => {
|
||||
const webpackCb = (err, stats) => {
|
||||
if (err || stats.hasErrors()) {
|
||||
logger.error('Failed to build the storybook');
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
@ -82,4 +83,11 @@ webpack(config).run((err, stats) => {
|
||||
stats && stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exitCode = 1;
|
||||
}
|
||||
});
|
||||
logger.info('Building storybook completed.');
|
||||
};
|
||||
const compiler = webpack(config);
|
||||
if (program.watch) {
|
||||
compiler.watch({}, webpackCb);
|
||||
} else {
|
||||
compiler.run(webpackCb);
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ module.exports = {
|
||||
require.resolve('babel-preset-react'),
|
||||
],
|
||||
plugins: [
|
||||
require.resolve('babel-plugin-macros'),
|
||||
require.resolve('babel-plugin-transform-regenerator'),
|
||||
[
|
||||
require.resolve('babel-plugin-transform-runtime'),
|
||||
|
@ -32,11 +32,12 @@
|
||||
"airbnb-js-shims": "^1.4.1",
|
||||
"autoprefixer": "^7.2.5",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-plugin-macros": "^2.1.0",
|
||||
"babel-plugin-react-docgen": "^1.8.2",
|
||||
"babel-plugin-transform-regenerator": "^6.26.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"babel-preset-minify": "^0.2.0",
|
||||
"babel-preset-minify": "^0.3.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-react-app": "^3.1.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
@ -71,12 +72,12 @@
|
||||
"serve-favicon": "^2.4.5",
|
||||
"shelljs": "^0.8.1",
|
||||
"style-loader": "^0.20.1",
|
||||
"uglifyjs-webpack-plugin": "^1.1.6",
|
||||
"uglifyjs-webpack-plugin": "^1.1.7",
|
||||
"url-loader": "^0.6.2",
|
||||
"util-deprecate": "^1.0.2",
|
||||
"uuid": "^3.2.1",
|
||||
"vue-hot-reload-api": "^2.2.4",
|
||||
"vue-style-loader": "^3.1.1",
|
||||
"vue-style-loader": "^3.1.2",
|
||||
"webpack": "^3.10.0",
|
||||
"webpack-dev-middleware": "^1.12.2",
|
||||
"webpack-hot-middleware": "^2.21.0"
|
||||
@ -84,13 +85,13 @@
|
||||
"devDependencies": {
|
||||
"nodemon": "^1.14.11",
|
||||
"vue": "^2.5.13",
|
||||
"vue-loader": "^13.7.0",
|
||||
"vue-loader": "^13.7.1",
|
||||
"vue-template-compiler": "^2.5.13"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"babel-core": "^6.26.0 || ^7.0.0-0",
|
||||
"vue": "2.5.13",
|
||||
"vue-loader": "13.7.0",
|
||||
"vue-loader": "13.7.1",
|
||||
"vue-template-compiler": "2.5.13"
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ program
|
||||
.option('-s, --static-dir <dir-names>', 'Directory where to load static files from', parseList)
|
||||
.option('-o, --output-dir [dir-name]', 'Directory where to store built files')
|
||||
.option('-c, --config-dir [dir-name]', 'Directory where to load Storybook configurations from')
|
||||
.option('-w, --watch', 'Enable watch mode')
|
||||
.option('-d, --db-path [db-file]', 'DEPRECATED!')
|
||||
.option('--enable-db', 'DEPRECATED!')
|
||||
.parse(process.argv);
|
||||
@ -74,14 +75,21 @@ if (program.staticDir) {
|
||||
}
|
||||
|
||||
// compile all resources with webpack and write them to the disk.
|
||||
logger.log('Building storybook ...');
|
||||
webpack(config).run((err, stats) => {
|
||||
logger.info('Building storybook ...');
|
||||
const webpackCb = (err, stats) => {
|
||||
if (err || stats.hasErrors()) {
|
||||
logger.error('Failed to build the storybook');
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
err && logger.error(err.message);
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exit(1);
|
||||
stats && stats.hasErrors() && stats.toJson().errors.forEach(e => logger.error(e));
|
||||
process.exitCode = 1;
|
||||
}
|
||||
});
|
||||
logger.info('Building storybook completed.');
|
||||
};
|
||||
const compiler = webpack(config);
|
||||
if (program.watch) {
|
||||
compiler.watch({}, webpackCb);
|
||||
} else {
|
||||
compiler.run(webpackCb);
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ module.exports = {
|
||||
require.resolve('babel-preset-react'),
|
||||
],
|
||||
plugins: [
|
||||
require.resolve('babel-plugin-macros'),
|
||||
require.resolve('babel-plugin-transform-regenerator'),
|
||||
[
|
||||
require.resolve('babel-plugin-transform-runtime'),
|
||||
|
@ -31,14 +31,14 @@
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"bootstrap": "^3.3.7",
|
||||
"gatsby": "^1.9.171",
|
||||
"gatsby": "^1.9.174",
|
||||
"gatsby-link": "^1.6.35",
|
||||
"gatsby-plugin-sharp": "^1.6.27",
|
||||
"gatsby-remark-autolink-headers": "^1.4.11",
|
||||
"gatsby-remark-copy-linked-files": "^1.5.25",
|
||||
"gatsby-remark-images": "^1.5.41",
|
||||
"gatsby-remark-smartypants": "^1.4.10",
|
||||
"gatsby-source-filesystem": "^1.5.15",
|
||||
"gatsby-source-filesystem": "^1.5.16",
|
||||
"gatsby-transformer-remark": "^1.7.30",
|
||||
"gh-pages": "^1.1.0",
|
||||
"global": "^4.3.2",
|
||||
|
@ -143,6 +143,26 @@ storiesOf('My App/Buttons/Emoji', module)
|
||||
));
|
||||
```
|
||||
|
||||
## Generating nesting path based on __dirname
|
||||
|
||||
The name is just a javascript string, by using a template literal, you can easily interpolate data.
|
||||
|
||||
One example would be to use `base` from [`paths.macro`](https://github.com/storybooks/paths.macro):
|
||||
```js
|
||||
import React from 'react';
|
||||
import base from 'paths.macro';
|
||||
|
||||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
import BaseButton from '../components/BaseButton';
|
||||
|
||||
storiesOf(`Other|${base}/Dirname Example`, module)
|
||||
.add('story 1', () => <BaseButton label="Story 1" />)
|
||||
.add('story 2', () => <BaseButton label="Story 2" />);
|
||||
```
|
||||
|
||||
*This uses [babel-plugin-macros](https://github.com/kentcdodds/babel-plugin-macros)*.
|
||||
|
||||
## Run multiple storybooks
|
||||
|
||||
You can run multiple storybooks for different kinds of stories (or components). To do that, you can create different NPM scripts to start different stories. See:
|
||||
|
@ -33,3 +33,4 @@ Here are all those options:
|
||||
-s, --static-dir <dir-names> Directory where to load static files from, comma-separated list
|
||||
-o, --output-dir [dir-name] Directory where to store built files
|
||||
-c, --config-dir [dir-name] Directory where to load Storybook configurations from
|
||||
-w, --watch Enable watch mode
|
||||
|
@ -4352,9 +4352,9 @@ gatsby-1-config-css-modules@^1.0.8:
|
||||
dependencies:
|
||||
babel-runtime "^6.26.0"
|
||||
|
||||
gatsby-cli@^1.1.32:
|
||||
version "1.1.32"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.32.tgz#5591b343a1ef4c4643a05c85ca711043dcd487c7"
|
||||
gatsby-cli@^1.1.33:
|
||||
version "1.1.33"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.33.tgz#a79337d73f88ef1157aceefd245242ec0d463680"
|
||||
dependencies:
|
||||
babel-code-frame "^6.26.0"
|
||||
babel-runtime "^6.26.0"
|
||||
@ -4407,9 +4407,9 @@ gatsby-plugin-sharp@^1.6.27:
|
||||
sharp "^0.19.0"
|
||||
svgo "^0.7.2"
|
||||
|
||||
gatsby-react-router-scroll@^1.0.8:
|
||||
version "1.0.8"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.8.tgz#6cc9d80c139e58ed5189dd35146ac37b46846cd5"
|
||||
gatsby-react-router-scroll@^1.0.9:
|
||||
version "1.0.9"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.9.tgz#0a321e7ae8c69ac6ba9528abf5b7be4e549a943f"
|
||||
dependencies:
|
||||
babel-runtime "^6.26.0"
|
||||
scroll-behavior "^0.9.1"
|
||||
@ -4458,9 +4458,9 @@ gatsby-remark-smartypants@^1.4.10:
|
||||
retext-smartypants "^2.0.0"
|
||||
unist-util-visit "^1.1.1"
|
||||
|
||||
gatsby-source-filesystem@^1.5.15:
|
||||
version "1.5.15"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.15.tgz#26278e00101f03c279f4f0bdd285420ff561e8b2"
|
||||
gatsby-source-filesystem@^1.5.16:
|
||||
version "1.5.16"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.16.tgz#1439093b6ad53322667870ca4ed636ad0e2121b0"
|
||||
dependencies:
|
||||
babel-cli "^6.26.0"
|
||||
babel-runtime "^6.26.0"
|
||||
@ -4499,9 +4499,9 @@ gatsby-transformer-remark@^1.7.30:
|
||||
unist-util-select "^1.5.0"
|
||||
unist-util-visit "^1.1.1"
|
||||
|
||||
gatsby@^1.9.171:
|
||||
version "1.9.172"
|
||||
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.172.tgz#2d3719b85fcce392415a654e7bdad1369d12726b"
|
||||
gatsby@^1.9.174:
|
||||
version "1.9.175"
|
||||
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.175.tgz#a0e1f9a66202f5821abfc1fdbcf3673c3dfa5b4c"
|
||||
dependencies:
|
||||
async "^2.1.2"
|
||||
babel-code-frame "^6.22.0"
|
||||
@ -4541,10 +4541,10 @@ gatsby@^1.9.171:
|
||||
front-matter "^2.1.0"
|
||||
fs-extra "^4.0.1"
|
||||
gatsby-1-config-css-modules "^1.0.8"
|
||||
gatsby-cli "^1.1.32"
|
||||
gatsby-cli "^1.1.33"
|
||||
gatsby-link "^1.6.35"
|
||||
gatsby-module-loader "^1.0.9"
|
||||
gatsby-react-router-scroll "^1.0.8"
|
||||
gatsby-react-router-scroll "^1.0.9"
|
||||
glob "^7.1.1"
|
||||
graphql "^0.11.7"
|
||||
graphql-relay "^0.5.1"
|
||||
@ -4589,6 +4589,7 @@ gatsby@^1.9.171:
|
||||
relay-compiler "^1.4.1"
|
||||
remote-redux-devtools "^0.5.7"
|
||||
serve "^6.4.0"
|
||||
shallow-compare "^1.2.2"
|
||||
sift "^3.2.6"
|
||||
signal-exit "^3.0.2"
|
||||
slash "^1.0.0"
|
||||
@ -9835,6 +9836,10 @@ sha.js@^2.4.0, sha.js@^2.4.8:
|
||||
inherits "^2.0.1"
|
||||
safe-buffer "^5.0.1"
|
||||
|
||||
shallow-compare@^1.2.2:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/shallow-compare/-/shallow-compare-1.2.2.tgz#fa4794627bf455a47c4f56881d8a6132d581ffdb"
|
||||
|
||||
shallowequal@^0.2.2:
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-0.2.2.tgz#1e32fd5bcab6ad688a4812cb0cc04efc75c7014e"
|
||||
|
@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "3.4.0-alpha.6",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "ng build",
|
||||
"build-storybook": "build-storybook -s src",
|
||||
"e2e": "ng e2e",
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"test": "ng test",
|
||||
"e2e": "ng e2e",
|
||||
"storybook": "start-storybook -p 9008 -s src/assets",
|
||||
"build-storybook": "build-storybook -s src"
|
||||
"test": "ng test"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^5.2.2",
|
||||
"@angular/common": "^5.2.2",
|
||||
@ -49,6 +49,6 @@
|
||||
"karma-jasmine-html-reporter": "^0.2.2",
|
||||
"protractor": "~5.3.0",
|
||||
"ts-node": "~3.3.0",
|
||||
"typescript": "^2.4.0"
|
||||
"typescript": "^2.7.1"
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,54 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Storyshots Custom Style Default 1`] = `
|
||||
<storybook-dynamic-app-root
|
||||
cfr={[Function CodegenComponentFactoryResolver]}
|
||||
data={[Function Object]}
|
||||
target={[Function ViewContainerRef_]}
|
||||
>
|
||||
<ng-component>
|
||||
<storybook-button-component
|
||||
_nghost-c9=""
|
||||
ng-reflect-text="Button with custom styles"
|
||||
>
|
||||
|
||||
|
||||
<button
|
||||
_ngcontent-c9=""
|
||||
>
|
||||
Button with custom styles
|
||||
</button>
|
||||
|
||||
|
||||
</storybook-button-component>
|
||||
</ng-component>
|
||||
</storybook-dynamic-app-root>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Custom Style With Knobs 1`] = `
|
||||
<storybook-dynamic-app-root
|
||||
cfr={[Function CodegenComponentFactoryResolver]}
|
||||
data={[Function Object]}
|
||||
target={[Function ViewContainerRef_]}
|
||||
>
|
||||
<ng-component
|
||||
_nghost-c10=""
|
||||
>
|
||||
<storybook-button-component
|
||||
_ngcontent-c10=""
|
||||
_nghost-c11=""
|
||||
ng-reflect-text="Button with custom styles"
|
||||
>
|
||||
|
||||
|
||||
<button
|
||||
_ngcontent-c11=""
|
||||
>
|
||||
Button with custom styles
|
||||
</button>
|
||||
|
||||
|
||||
</storybook-button-component>
|
||||
</ng-component>
|
||||
</storybook-dynamic-app-root>
|
||||
`;
|
43
examples/angular-cli/src/stories/custom-styles.stories.ts
Normal file
43
examples/angular-cli/src/stories/custom-styles.stories.ts
Normal file
@ -0,0 +1,43 @@
|
||||
import { storiesOf } from '@storybook/angular';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import { withKnobs, text } from '@storybook/addon-knobs/angular';
|
||||
import { Button } from '@storybook/angular/demo';
|
||||
|
||||
storiesOf('Custom Style', module)
|
||||
.add('Default', () => ({
|
||||
template: `<storybook-button-component [text]="text" (onClick)="onClick($event)"></storybook-button-component>`,
|
||||
moduleMetadata: {
|
||||
declarations: [Button],
|
||||
},
|
||||
props: {
|
||||
text: 'Button with custom styles',
|
||||
onClick: action('log'),
|
||||
},
|
||||
styles: [
|
||||
`
|
||||
storybook-button-component {
|
||||
background-color: yellow;
|
||||
padding: 25px;
|
||||
}
|
||||
`,
|
||||
],
|
||||
}))
|
||||
.addDecorator(withKnobs)
|
||||
.add('With Knobs', () => ({
|
||||
template: `<storybook-button-component [text]="text" (onClick)="onClick($event)"></storybook-button-component>`,
|
||||
moduleMetadata: {
|
||||
declarations: [Button],
|
||||
},
|
||||
props: {
|
||||
text: text('text', 'Button with custom styles'),
|
||||
onClick: action('log'),
|
||||
},
|
||||
styles: [
|
||||
`
|
||||
storybook-button-component {
|
||||
background-color: red;
|
||||
padding: 25px;
|
||||
}
|
||||
`,
|
||||
],
|
||||
}));
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "3.4.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -41,6 +42,5 @@
|
||||
"enzyme-to-json": "^3.3.1",
|
||||
"jest": "^22.1.4",
|
||||
"react-scripts": "^1.1.0"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
}
|
||||
|
@ -5,3 +5,4 @@ This storybook includes stories for:
|
||||
- `@storybook/components` - reusable UI components for addon authors
|
||||
- `@storybook/ui` - the UI of storybook itself
|
||||
- `@storybook/addon-*` - various addons.
|
||||
- `@storybook/other-*` - various examples.
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "3.4.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -c ./",
|
||||
"storybook": "start-storybook -p 9010 -c ./",
|
||||
"chromatic": "chromatic test --storybook-addon --exit-zero-on-changes --app-code ab7m45tp9p",
|
||||
"generate-addon-jest-testresults": "jest --config=tests/addon-jest.config.json --json --outputFile=stories/addon-jest.testresults.json",
|
||||
"image-snapshots": "yarn run build-storybook && jest --projects=./image-snapshots"
|
||||
"image-snapshots": "yarn run build-storybook && jest --projects=./image-snapshots",
|
||||
"storybook": "start-storybook -p 9010 -c ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "^3.4.0-alpha.6",
|
||||
@ -33,11 +34,11 @@
|
||||
"format-json": "^1.0.3",
|
||||
"global": "^4.3.2",
|
||||
"jest": "^21.2.1",
|
||||
"paths.macro": "^2.0.2",
|
||||
"prop-types": "^15.6.0",
|
||||
"react": "^16.2.0",
|
||||
"react-chromatic": "^0.7.9",
|
||||
"react-dom": "^16.2.0",
|
||||
"uuid": "^3.2.1"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,13 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Storyshots Other|/stories//Dirname Example story 1 1`] = `
|
||||
<button>
|
||||
Story 1
|
||||
</button>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Other|/stories//Dirname Example story 2 1`] = `
|
||||
<button>
|
||||
Story 2
|
||||
</button>
|
||||
`;
|
10
examples/official-storybook/stories/other-dirname.stories.js
Normal file
10
examples/official-storybook/stories/other-dirname.stories.js
Normal file
@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
import base from 'paths.macro';
|
||||
|
||||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
import BaseButton from '../components/BaseButton';
|
||||
|
||||
storiesOf(`Other|${base}/Dirname Example`, module)
|
||||
.add('story 1', () => <BaseButton label="Story 1" />)
|
||||
.add('story 2', () => <BaseButton label="Story 2" />);
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "polymer-cli",
|
||||
"version": "3.4.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server",
|
||||
"storybook": "start-storybook -p 9001 -c .storybook"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@polymer/polymer": "^2.4.0",
|
||||
"@storybook/addon-actions": "^3.4.0-alpha.6",
|
||||
|
@ -2,6 +2,16 @@
|
||||
"name": "vue-example",
|
||||
"version": "3.4.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
"storybook": "start-storybook -p 9009 -s public"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.13",
|
||||
"vuex": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "^3.4.0-alpha.6",
|
||||
"@storybook/addon-centered": "^3.4.0-alpha.6",
|
||||
@ -20,20 +30,10 @@
|
||||
"css-loader": "^0.28.9",
|
||||
"file-loader": "^1.1.6",
|
||||
"vue-hot-reload-api": "^2.2.4",
|
||||
"vue-loader": "^13.7.0",
|
||||
"vue-style-loader": "^3.1.1",
|
||||
"vue-loader": "^13.7.1",
|
||||
"vue-style-loader": "^3.1.2",
|
||||
"vue-template-compiler": "^2.5.13",
|
||||
"webpack": "^3.10.0",
|
||||
"webpack-dev-server": "^2.11.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.13",
|
||||
"vuex": "^3.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
"storybook": "start-storybook -p 9009 -s public",
|
||||
"build-storybook": "build-storybook -s public"
|
||||
}
|
||||
}
|
||||
|
@ -233,7 +233,6 @@ storiesOf('Addon Knobs', module)
|
||||
const salutation = nice ? 'Nice to meet you!' : 'Leave me alone!';
|
||||
const dateOptions = { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' };
|
||||
|
||||
|
||||
button('Arbitrary action', action('You clicked it!'));
|
||||
|
||||
return {
|
||||
|
@ -21,8 +21,8 @@
|
||||
"url": "https://github.com/storybooks/storybook.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test-latest-cra": "cd test && ./test_latest_cra.sh",
|
||||
"test": "cd test && ./run_tests.sh"
|
||||
"test": "cd test && ./run_tests.sh",
|
||||
"test-latest-cra": "cd test && ./test_latest_cra.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/codemod": "^3.4.0-alpha.6",
|
||||
|
@ -53,7 +53,7 @@
|
||||
"@storybook/addon-actions": "^3.4.0-alpha.6",
|
||||
"@storybook/addon-links": "^3.4.0-alpha.6",
|
||||
"@storybook/addons": "^3.4.0-alpha.6",
|
||||
"babel-preset-vue": "^2.0.0"
|
||||
"babel-preset-vue": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4.0.0",
|
||||
|
@ -38,6 +38,6 @@
|
||||
"@storybook/addon-actions": "^3.4.0-alpha.6",
|
||||
"@storybook/addon-links": "^3.4.0-alpha.6",
|
||||
"@storybook/addons": "^3.4.0-alpha.6",
|
||||
"babel-preset-vue": "^2.0.0"
|
||||
"babel-preset-vue": "^2.0.1"
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
"url": "https://github.com/storybooks/storybook.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
"prepare": "node ../../scripts/prepare.js",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook"
|
||||
"storybook": "start-storybook -p 6006"
|
||||
},
|
||||
"dependencies": {
|
||||
"glamor": "^2.20.40",
|
||||
|
@ -21,6 +21,6 @@ export default function syncUrlToStore(reduxStore) {
|
||||
selectedKind,
|
||||
selectedStory,
|
||||
});
|
||||
window.history.pushState({}, '', `?${queryString}`);
|
||||
window.history.replaceState({}, '', `?${queryString}`);
|
||||
});
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ export function resolveStoryHierarchy(storyName = '', hierarchySeparator) {
|
||||
return [storyName];
|
||||
}
|
||||
|
||||
return storyName.split(new RegExp(hierarchySeparator));
|
||||
return storyName.split(new RegExp(hierarchySeparator)).filter(segment => !!segment);
|
||||
}
|
||||
|
||||
export function prepareStoriesForHierarchy(stories, hierarchySeparator, hierarchyRootSeparator) {
|
||||
|
@ -34,7 +34,7 @@
|
||||
"chromatic": "npm --prefix examples/official-storybook run chromatic"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^4.14.97",
|
||||
"@types/lodash": "^4.14.98",
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-eslint": "^8.2.1",
|
||||
@ -42,6 +42,7 @@
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"babel-plugin-macros": "^2.1.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"chalk": "^2.3.0",
|
||||
@ -71,7 +72,7 @@
|
||||
"jest-config": "^22.1.4",
|
||||
"jest-diff": "^22.1.0",
|
||||
"jest-environment-jsdom": "^22.1.4",
|
||||
"jest-enzyme": "^4.0.2",
|
||||
"jest-enzyme": "^4.1.0",
|
||||
"jest-image-snapshot": "^2.3.0",
|
||||
"jest-jasmine2": "^22.1.4",
|
||||
"jest-preset-angular": "^5.0.0",
|
||||
|
0
scripts/netlify-build.sh
Normal file → Executable file
0
scripts/netlify-build.sh
Normal file → Executable file
360
yarn.lock
360
yarn.lock
@ -298,9 +298,9 @@
|
||||
version "4.14.92"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.92.tgz#6e3cb0b71a1e12180a47a42a744e856c3ae99a57"
|
||||
|
||||
"@types/lodash@^4.14.97":
|
||||
version "4.14.97"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.97.tgz#7262d6d5fc5e87cdb3f68eb33accd4024f2b211e"
|
||||
"@types/lodash@^4.14.98":
|
||||
version "4.14.98"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.98.tgz#aaf012ae443e657e7885e605a4c1b340db160609"
|
||||
|
||||
"@types/mz@0.0.32":
|
||||
version "0.0.32"
|
||||
@ -1039,9 +1039,9 @@ babel-helper-define-map@^6.24.1:
|
||||
babel-types "^6.26.0"
|
||||
lodash "^4.17.4"
|
||||
|
||||
babel-helper-evaluate-path@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.2.0.tgz#0bb2eb01996c0cef53c5e8405e999fe4a0244c08"
|
||||
babel-helper-evaluate-path@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.3.0.tgz#2439545e0b6eae5b7f49b790acbebd6b9a73df20"
|
||||
|
||||
babel-helper-explode-assignable-expression@^6.24.1:
|
||||
version "6.24.1"
|
||||
@ -1060,9 +1060,9 @@ babel-helper-explode-class@^6.24.1:
|
||||
babel-traverse "^6.24.1"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-helper-flip-expressions@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.2.0.tgz#160d2090a3d9f9c64a750905321a0bc218f884ec"
|
||||
babel-helper-flip-expressions@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.3.0.tgz#f5b6394bd5219b43cf8f7b201535ed540c6e7fa2"
|
||||
|
||||
babel-helper-function-name@^6.24.1:
|
||||
version "6.24.1"
|
||||
@ -1092,13 +1092,13 @@ babel-helper-is-nodes-equiv@^0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684"
|
||||
|
||||
babel-helper-is-void-0@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.2.0.tgz#6ed0ada8a9b1c5b6e88af6b47c1b3b5c080860eb"
|
||||
babel-helper-is-void-0@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.3.0.tgz#95570d20bd27b2206f68083ae9980ee7003d8fe7"
|
||||
|
||||
babel-helper-mark-eval-scopes@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.2.0.tgz#7648aaf2ec92aae9b09a20ad91e8df5e1fcc94b2"
|
||||
babel-helper-mark-eval-scopes@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.3.0.tgz#b4731314fdd7a89091271a5213b4e12d236e29e8"
|
||||
|
||||
babel-helper-optimise-call-expression@^6.24.1:
|
||||
version "6.24.1"
|
||||
@ -1125,9 +1125,9 @@ babel-helper-remap-async-to-generator@^6.16.0, babel-helper-remap-async-to-gener
|
||||
babel-traverse "^6.24.1"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-helper-remove-or-void@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.2.0.tgz#8e46ad5b30560d57d7510b3fd93f332ee7c67386"
|
||||
babel-helper-remove-or-void@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.3.0.tgz#f43c86147c8fcc395a9528cbb31e7ff49d7e16e3"
|
||||
|
||||
babel-helper-replace-supers@^6.24.1:
|
||||
version "6.24.1"
|
||||
@ -1140,9 +1140,9 @@ babel-helper-replace-supers@^6.24.1:
|
||||
babel-traverse "^6.24.1"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-helper-to-multiple-sequence-expressions@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.2.0.tgz#d1a419634c6cb301f27858c659167cfee0a9d318"
|
||||
babel-helper-to-multiple-sequence-expressions@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.3.0.tgz#8da2275ccc26995566118f7213abfd9af7214427"
|
||||
|
||||
babel-helper-vue-jsx-merge-props@^2.0.2:
|
||||
version "2.0.3"
|
||||
@ -1185,6 +1185,12 @@ babel-loader@7.1.2, babel-loader@^7.0.0, babel-loader@^7.1.2:
|
||||
loader-utils "^1.0.2"
|
||||
mkdirp "^0.5.1"
|
||||
|
||||
babel-macros@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-macros/-/babel-macros-1.2.0.tgz#39e47ed6d286d4a98f1948d8bab45dac17e4e2d4"
|
||||
dependencies:
|
||||
cosmiconfig "3.1.0"
|
||||
|
||||
babel-messages@^6.23.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
|
||||
@ -1247,70 +1253,82 @@ babel-plugin-jsx-vue-functional@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-jsx-vue-functional/-/babel-plugin-jsx-vue-functional-2.1.0.tgz#5630a0c86fe1904d28c30465e6bf1cf71235a239"
|
||||
|
||||
babel-plugin-minify-builtins@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.2.0.tgz#317f824b0907210b6348671bb040ca072e2e0c82"
|
||||
babel-plugin-macros@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.0.0.tgz#fd3aee135f7dec0b82898b7c8f1aed6fa75f9af9"
|
||||
dependencies:
|
||||
babel-helper-evaluate-path "^0.2.0"
|
||||
cosmiconfig "3.1.0"
|
||||
|
||||
babel-plugin-minify-constant-folding@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.2.0.tgz#8c70b528b2eb7c13e94d95c8789077d4cdbc3970"
|
||||
babel-plugin-macros@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.1.0.tgz#e978fd4c5ee9cca73a809c176524c2e9f4dcccbf"
|
||||
dependencies:
|
||||
babel-helper-evaluate-path "^0.2.0"
|
||||
cosmiconfig "^4.0.0"
|
||||
|
||||
babel-plugin-minify-dead-code-elimination@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.2.0.tgz#e8025ee10a1e5e4f202633a6928ce892c33747e3"
|
||||
babel-plugin-minify-builtins@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.3.0.tgz#4740117a6a784063aaf8f092989cf9e4bd484860"
|
||||
dependencies:
|
||||
babel-helper-evaluate-path "^0.2.0"
|
||||
babel-helper-mark-eval-scopes "^0.2.0"
|
||||
babel-helper-remove-or-void "^0.2.0"
|
||||
babel-helper-evaluate-path "^0.3.0"
|
||||
|
||||
babel-plugin-minify-constant-folding@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.3.0.tgz#687e40336bd4ddd921e0e197f0006235ac184bb9"
|
||||
dependencies:
|
||||
babel-helper-evaluate-path "^0.3.0"
|
||||
|
||||
babel-plugin-minify-dead-code-elimination@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.3.0.tgz#a323f686c404b824186ba5583cf7996cac81719e"
|
||||
dependencies:
|
||||
babel-helper-evaluate-path "^0.3.0"
|
||||
babel-helper-mark-eval-scopes "^0.3.0"
|
||||
babel-helper-remove-or-void "^0.3.0"
|
||||
lodash.some "^4.6.0"
|
||||
|
||||
babel-plugin-minify-flip-comparisons@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.2.0.tgz#0c9c8e93155c8f09dedad8118b634c259f709ef5"
|
||||
babel-plugin-minify-flip-comparisons@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.3.0.tgz#6627893a409c9f30ef7f2c89e0c6eea7ee97ddc4"
|
||||
dependencies:
|
||||
babel-helper-is-void-0 "^0.2.0"
|
||||
babel-helper-is-void-0 "^0.3.0"
|
||||
|
||||
babel-plugin-minify-guarded-expressions@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.2.0.tgz#8a8c950040fce3e258a12e6eb21eab94ad7235ab"
|
||||
babel-plugin-minify-guarded-expressions@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.3.0.tgz#2552d96189ef45d9a463f1a6b5e4fa110703ac8d"
|
||||
dependencies:
|
||||
babel-helper-flip-expressions "^0.2.0"
|
||||
babel-helper-flip-expressions "^0.3.0"
|
||||
|
||||
babel-plugin-minify-infinity@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.2.0.tgz#30960c615ddbc657c045bb00a1d8eb4af257cf03"
|
||||
babel-plugin-minify-infinity@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.3.0.tgz#c5ec0edd433517cf31b3af17077c202beb48bbe7"
|
||||
|
||||
babel-plugin-minify-mangle-names@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.2.0.tgz#719892297ff0106a6ec1a4b0fc062f1f8b6a8529"
|
||||
babel-plugin-minify-mangle-names@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.3.0.tgz#f28561bad0dd2f0380816816bb946e219b3b6135"
|
||||
dependencies:
|
||||
babel-helper-mark-eval-scopes "^0.2.0"
|
||||
babel-helper-mark-eval-scopes "^0.3.0"
|
||||
|
||||
babel-plugin-minify-numeric-literals@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.2.0.tgz#5746e851700167a380c05e93f289a7070459a0d1"
|
||||
babel-plugin-minify-numeric-literals@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.3.0.tgz#b57734a612e8a592005407323c321119f27d4b40"
|
||||
|
||||
babel-plugin-minify-replace@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.2.0.tgz#3c1f06bc4e6d3e301eacb763edc1be611efc39b0"
|
||||
babel-plugin-minify-replace@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.3.0.tgz#980125bbf7cbb5a637439de9d0b1b030a4693893"
|
||||
|
||||
babel-plugin-minify-simplify@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.2.0.tgz#21ceec4857100c5476d7cef121f351156e5c9bc0"
|
||||
babel-plugin-minify-simplify@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.3.0.tgz#14574cc74d21c81d3060fafa041010028189f11b"
|
||||
dependencies:
|
||||
babel-helper-flip-expressions "^0.2.0"
|
||||
babel-helper-flip-expressions "^0.3.0"
|
||||
babel-helper-is-nodes-equiv "^0.0.1"
|
||||
babel-helper-to-multiple-sequence-expressions "^0.2.0"
|
||||
babel-helper-to-multiple-sequence-expressions "^0.3.0"
|
||||
|
||||
babel-plugin-minify-type-constructors@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.2.0.tgz#7f3b6458be0863cfd59e9985bed6d134aa7a2e17"
|
||||
babel-plugin-minify-type-constructors@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.3.0.tgz#7f5a86ef322c4746364e3c591b8514eeafea6ad4"
|
||||
dependencies:
|
||||
babel-helper-is-void-0 "^0.2.0"
|
||||
babel-helper-is-void-0 "^0.3.0"
|
||||
|
||||
babel-plugin-react-docgen@^1.8.2:
|
||||
version "1.8.2"
|
||||
@ -1657,25 +1675,25 @@ babel-plugin-transform-function-bind@^6.22.0:
|
||||
babel-plugin-syntax-function-bind "^6.8.0"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-inline-consecutive-adds@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.2.0.tgz#15dae78921057f4004f8eafd79e15ddc5f12f426"
|
||||
babel-plugin-transform-inline-consecutive-adds@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.3.0.tgz#f07d93689c0002ed2b2b62969bdd99f734e03f57"
|
||||
|
||||
babel-plugin-transform-md-import-to-string@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-md-import-to-string/-/babel-plugin-transform-md-import-to-string-1.0.6.tgz#f57bf84bb14988cd2a9b8d8262114fa021587e70"
|
||||
|
||||
babel-plugin-transform-member-expression-literals@^6.8.5:
|
||||
version "6.8.5"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.8.5.tgz#e06ae305cf48d819822e93a70d79269f04d89eec"
|
||||
babel-plugin-transform-member-expression-literals@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.0.tgz#ab07ad52a11ff7d2528c71388e8f901a4499c2b2"
|
||||
|
||||
babel-plugin-transform-merge-sibling-variables@^6.8.6:
|
||||
version "6.8.6"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.8.6.tgz#6d21efa5ee4981f71657fae716f9594bb2622aef"
|
||||
babel-plugin-transform-merge-sibling-variables@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.0.tgz#140017e305f8eb4f60d2f2db61154fbd71a9fcdd"
|
||||
|
||||
babel-plugin-transform-minify-booleans@^6.8.3:
|
||||
version "6.8.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.8.3.tgz#5906ed776d3718250519abf1bace44b0b613ddf9"
|
||||
babel-plugin-transform-minify-booleans@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.0.tgz#e36ceaa49aadcae70ec98bd9dbccb660719a667a"
|
||||
|
||||
babel-plugin-transform-object-assign@^6.5.0:
|
||||
version "6.22.0"
|
||||
@ -1690,9 +1708,9 @@ babel-plugin-transform-object-rest-spread@6.26.0, babel-plugin-transform-object-
|
||||
babel-plugin-syntax-object-rest-spread "^6.8.0"
|
||||
babel-runtime "^6.26.0"
|
||||
|
||||
babel-plugin-transform-property-literals@^6.8.5:
|
||||
version "6.8.5"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.8.5.tgz#67ed5930b34805443452c8b9690c7ebe1e206c40"
|
||||
babel-plugin-transform-property-literals@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.0.tgz#4ddc12ada888927eacab4daff8a535ebc5de5a61"
|
||||
dependencies:
|
||||
esutils "^2.0.2"
|
||||
|
||||
@ -1736,23 +1754,23 @@ babel-plugin-transform-regenerator@6.26.0, babel-plugin-transform-regenerator@^6
|
||||
dependencies:
|
||||
regenerator-transform "^0.10.0"
|
||||
|
||||
babel-plugin-transform-regexp-constructors@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.2.0.tgz#6aa5dd0acc515db4be929bbcec4ed4c946c534a3"
|
||||
babel-plugin-transform-regexp-constructors@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.3.0.tgz#9bb2c8dd082271a5cb1b3a441a7c52e8fd07e0f5"
|
||||
|
||||
babel-plugin-transform-remove-console@^6.8.5:
|
||||
version "6.8.5"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.8.5.tgz#fde9d2d3d725530b0fadd8d31078402410386810"
|
||||
babel-plugin-transform-remove-console@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.0.tgz#a7b671aab050dd30ef7cf2142b61a7d10efb327f"
|
||||
|
||||
babel-plugin-transform-remove-debugger@^6.8.5:
|
||||
version "6.8.5"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.8.5.tgz#809584d412bf918f071fdf41e1fdb15ea89cdcd5"
|
||||
babel-plugin-transform-remove-debugger@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.0.tgz#b465e74b3fbe1970da561fb1331e30aefac3f1fe"
|
||||
|
||||
babel-plugin-transform-remove-undefined@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.2.0.tgz#94f052062054c707e8d094acefe79416b63452b1"
|
||||
babel-plugin-transform-remove-undefined@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.3.0.tgz#03f5f0071867781e9beabbc7b77bf8095fd3f3ec"
|
||||
dependencies:
|
||||
babel-helper-evaluate-path "^0.2.0"
|
||||
babel-helper-evaluate-path "^0.3.0"
|
||||
|
||||
babel-plugin-transform-runtime@6.23.0, babel-plugin-transform-runtime@^6.23.0:
|
||||
version "6.23.0"
|
||||
@ -1760,9 +1778,9 @@ babel-plugin-transform-runtime@6.23.0, babel-plugin-transform-runtime@^6.23.0:
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-simplify-comparison-operators@^6.8.5:
|
||||
version "6.8.5"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.8.5.tgz#a838786baf40cc33a93b95ae09e05591227e43bf"
|
||||
babel-plugin-transform-simplify-comparison-operators@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.0.tgz#586252fea023cb13f2400a09c0ab178dc0844f0a"
|
||||
|
||||
babel-plugin-transform-strict-mode@^6.24.1:
|
||||
version "6.24.1"
|
||||
@ -1771,9 +1789,9 @@ babel-plugin-transform-strict-mode@^6.24.1:
|
||||
babel-runtime "^6.22.0"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-plugin-transform-undefined-to-void@^6.8.3:
|
||||
version "6.8.3"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.8.3.tgz#fc52707f6ee1ddc71bb91b0d314fbefdeef9beb4"
|
||||
babel-plugin-transform-undefined-to-void@^6.9.0:
|
||||
version "6.9.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.0.tgz#eb5db0554caffe9ded0206468ec0c6c3b332b9d2"
|
||||
|
||||
babel-plugin-transform-vue-jsx@^3.5.0:
|
||||
version "3.5.0"
|
||||
@ -1933,32 +1951,32 @@ babel-preset-jest@^22.0.1, babel-preset-jest@^22.1.0:
|
||||
babel-plugin-jest-hoist "^22.1.0"
|
||||
babel-plugin-syntax-object-rest-spread "^6.13.0"
|
||||
|
||||
babel-preset-minify@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-minify/-/babel-preset-minify-0.2.0.tgz#006566552d9b83834472273f306c0131062a0acc"
|
||||
babel-preset-minify@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-minify/-/babel-preset-minify-0.3.0.tgz#7db64afa75f16f6e06c0aa5f25195f6f36784d77"
|
||||
dependencies:
|
||||
babel-plugin-minify-builtins "^0.2.0"
|
||||
babel-plugin-minify-constant-folding "^0.2.0"
|
||||
babel-plugin-minify-dead-code-elimination "^0.2.0"
|
||||
babel-plugin-minify-flip-comparisons "^0.2.0"
|
||||
babel-plugin-minify-guarded-expressions "^0.2.0"
|
||||
babel-plugin-minify-infinity "^0.2.0"
|
||||
babel-plugin-minify-mangle-names "^0.2.0"
|
||||
babel-plugin-minify-numeric-literals "^0.2.0"
|
||||
babel-plugin-minify-replace "^0.2.0"
|
||||
babel-plugin-minify-simplify "^0.2.0"
|
||||
babel-plugin-minify-type-constructors "^0.2.0"
|
||||
babel-plugin-transform-inline-consecutive-adds "^0.2.0"
|
||||
babel-plugin-transform-member-expression-literals "^6.8.5"
|
||||
babel-plugin-transform-merge-sibling-variables "^6.8.6"
|
||||
babel-plugin-transform-minify-booleans "^6.8.3"
|
||||
babel-plugin-transform-property-literals "^6.8.5"
|
||||
babel-plugin-transform-regexp-constructors "^0.2.0"
|
||||
babel-plugin-transform-remove-console "^6.8.5"
|
||||
babel-plugin-transform-remove-debugger "^6.8.5"
|
||||
babel-plugin-transform-remove-undefined "^0.2.0"
|
||||
babel-plugin-transform-simplify-comparison-operators "^6.8.5"
|
||||
babel-plugin-transform-undefined-to-void "^6.8.3"
|
||||
babel-plugin-minify-builtins "^0.3.0"
|
||||
babel-plugin-minify-constant-folding "^0.3.0"
|
||||
babel-plugin-minify-dead-code-elimination "^0.3.0"
|
||||
babel-plugin-minify-flip-comparisons "^0.3.0"
|
||||
babel-plugin-minify-guarded-expressions "^0.3.0"
|
||||
babel-plugin-minify-infinity "^0.3.0"
|
||||
babel-plugin-minify-mangle-names "^0.3.0"
|
||||
babel-plugin-minify-numeric-literals "^0.3.0"
|
||||
babel-plugin-minify-replace "^0.3.0"
|
||||
babel-plugin-minify-simplify "^0.3.0"
|
||||
babel-plugin-minify-type-constructors "^0.3.0"
|
||||
babel-plugin-transform-inline-consecutive-adds "^0.3.0"
|
||||
babel-plugin-transform-member-expression-literals "^6.9.0"
|
||||
babel-plugin-transform-merge-sibling-variables "^6.9.0"
|
||||
babel-plugin-transform-minify-booleans "^6.9.0"
|
||||
babel-plugin-transform-property-literals "^6.9.0"
|
||||
babel-plugin-transform-regexp-constructors "^0.3.0"
|
||||
babel-plugin-transform-remove-console "^6.9.0"
|
||||
babel-plugin-transform-remove-debugger "^6.9.0"
|
||||
babel-plugin-transform-remove-undefined "^0.3.0"
|
||||
babel-plugin-transform-simplify-comparison-operators "^6.9.0"
|
||||
babel-plugin-transform-undefined-to-void "^6.9.0"
|
||||
lodash.isplainobject "^4.0.6"
|
||||
|
||||
babel-preset-react-app@^3.1.1:
|
||||
@ -3556,6 +3574,15 @@ core-util-is@1.0.2, core-util-is@~1.0.0:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
||||
|
||||
cosmiconfig@3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-3.1.0.tgz#640a94bf9847f321800403cd273af60665c73397"
|
||||
dependencies:
|
||||
is-directory "^0.3.1"
|
||||
js-yaml "^3.9.0"
|
||||
parse-json "^3.0.0"
|
||||
require-from-string "^2.0.1"
|
||||
|
||||
cosmiconfig@^2.1.0, cosmiconfig@^2.1.1:
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-2.2.2.tgz#6173cebd56fac042c1f4390edf7af6c07c7cb892"
|
||||
@ -4547,9 +4574,9 @@ enzyme-adapter-utils@^1.3.0:
|
||||
object.assign "^4.0.4"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
enzyme-matchers@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.0.2.tgz#3f4457d0d0da3e268af4bee9f222439dfca26214"
|
||||
enzyme-matchers@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.1.1.tgz#ce8c177f96f05e757a2c7b5ca4040450c3beb57c"
|
||||
dependencies:
|
||||
circular-json-es6 "^2.0.1"
|
||||
deep-equal-ident "^1.1.1"
|
||||
@ -5581,6 +5608,10 @@ find-parent-dir@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54"
|
||||
|
||||
find-root@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"
|
||||
|
||||
find-up@^1.0.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f"
|
||||
@ -7847,11 +7878,11 @@ jest-environment-node@^22.1.4:
|
||||
jest-mock "^22.1.0"
|
||||
jest-util "^22.1.4"
|
||||
|
||||
jest-enzyme@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-4.0.2.tgz#c3a87f311889819d51ae2639c9da412da07cfc4a"
|
||||
jest-enzyme@^4.1.0:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-4.1.1.tgz#db080b3ff2f93ab7161715d69801d1d5f187ed13"
|
||||
dependencies:
|
||||
enzyme-matchers "^4.0.2"
|
||||
enzyme-matchers "^4.1.1"
|
||||
enzyme-to-json "^3.3.0"
|
||||
|
||||
jest-get-type@^21.2.0:
|
||||
@ -9162,6 +9193,10 @@ lodash.defaults@^4.2.0:
|
||||
version "4.2.0"
|
||||
resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c"
|
||||
|
||||
lodash.endswith@^4.2.1:
|
||||
version "4.2.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash.endswith/-/lodash.endswith-4.2.1.tgz#fed59ac1738ed3e236edd7064ec456448b37bc09"
|
||||
|
||||
lodash.escape@^3.0.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
|
||||
@ -9195,6 +9230,10 @@ lodash.isequal@^3.0:
|
||||
lodash._baseisequal "^3.0.0"
|
||||
lodash._bindcallback "^3.0.0"
|
||||
|
||||
lodash.isfunction@^3.0.8:
|
||||
version "3.0.8"
|
||||
resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.8.tgz#4db709fc81bc4a8fd7127a458a5346c5cdce2c6b"
|
||||
|
||||
lodash.isobject@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d"
|
||||
@ -9203,6 +9242,10 @@ lodash.isplainobject@^4.0.6:
|
||||
version "4.0.6"
|
||||
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
|
||||
|
||||
lodash.isstring@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451"
|
||||
|
||||
lodash.istypedarray@^3.0.0:
|
||||
version "3.0.6"
|
||||
resolved "https://registry.yarnpkg.com/lodash.istypedarray/-/lodash.istypedarray-3.0.6.tgz#c9a477498607501d8e8494d283b87c39281cef62"
|
||||
@ -9255,6 +9298,10 @@ lodash.sortby@^4.7.0:
|
||||
version "4.7.0"
|
||||
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
|
||||
|
||||
lodash.startswith@^4.2.1:
|
||||
version "4.2.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash.startswith/-/lodash.startswith-4.2.1.tgz#c598c4adce188a27e53145731cdc6c0e7177600c"
|
||||
|
||||
lodash.tail@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash.tail/-/lodash.tail-4.1.1.tgz#d2333a36d9e7717c8ad2f7cacafec7c32b444664"
|
||||
@ -10952,6 +10999,15 @@ path@^0.12.7:
|
||||
process "^0.11.1"
|
||||
util "^0.10.3"
|
||||
|
||||
paths.macro@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/paths.macro/-/paths.macro-2.0.2.tgz#7b7b3930170c9d41f42ec426c987b2df3505fb72"
|
||||
dependencies:
|
||||
babel-macros "^1.2.0"
|
||||
babel-plugin-macros "^2.0.0"
|
||||
find-root "^1.1.0"
|
||||
upath "^1.0.2"
|
||||
|
||||
pause-stream@0.0.11:
|
||||
version "0.0.11"
|
||||
resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
|
||||
@ -14630,7 +14686,11 @@ typescript@2.5.3:
|
||||
version "2.5.3"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.5.3.tgz#df3dcdc38f3beb800d4bc322646b04a3f6ca7f0d"
|
||||
|
||||
typescript@^2.4.0, typescript@~2.6.2:
|
||||
typescript@^2.7.1:
|
||||
version "2.7.1"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.1.tgz#bb3682c2c791ac90e7c6210b26478a8da085c359"
|
||||
|
||||
typescript@~2.6.2:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4"
|
||||
|
||||
@ -14677,7 +14737,7 @@ uglifyjs-webpack-plugin@^0.4.6:
|
||||
uglify-js "^2.8.29"
|
||||
webpack-sources "^1.0.1"
|
||||
|
||||
uglifyjs-webpack-plugin@^1.1.5, uglifyjs-webpack-plugin@^1.1.6:
|
||||
uglifyjs-webpack-plugin@^1.1.5:
|
||||
version "1.1.6"
|
||||
resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.6.tgz#f4ba8449edcf17835c18ba6ae99b9d610857fb19"
|
||||
dependencies:
|
||||
@ -14690,6 +14750,19 @@ uglifyjs-webpack-plugin@^1.1.5, uglifyjs-webpack-plugin@^1.1.6:
|
||||
webpack-sources "^1.1.0"
|
||||
worker-farm "^1.5.2"
|
||||
|
||||
uglifyjs-webpack-plugin@^1.1.7:
|
||||
version "1.1.8"
|
||||
resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.8.tgz#1302fb9471a7daf3d0a5174da6d65f0f415e75ad"
|
||||
dependencies:
|
||||
cacache "^10.0.1"
|
||||
find-cache-dir "^1.0.0"
|
||||
schema-utils "^0.4.2"
|
||||
serialize-javascript "^1.4.0"
|
||||
source-map "^0.6.1"
|
||||
uglify-es "^3.3.4"
|
||||
webpack-sources "^1.1.0"
|
||||
worker-farm "^1.5.2"
|
||||
|
||||
uid-number@0.0.6, uid-number@^0.0.6:
|
||||
version "0.0.6"
|
||||
resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
|
||||
@ -14900,6 +14973,15 @@ unzip-response@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
|
||||
|
||||
upath@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/upath/-/upath-1.0.2.tgz#80aaae5395abc5fd402933ae2f58694f0860204c"
|
||||
dependencies:
|
||||
lodash.endswith "^4.2.1"
|
||||
lodash.isfunction "^3.0.8"
|
||||
lodash.isstring "^4.0.1"
|
||||
lodash.startswith "^4.2.1"
|
||||
|
||||
update-notifier@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-1.0.3.tgz#8f92c515482bd6831b7c93013e70f87552c7cf5a"
|
||||
@ -15206,9 +15288,9 @@ vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.2.4:
|
||||
version "2.2.4"
|
||||
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz#683bd1d026c0d3b3c937d5875679e9a87ec6cd8f"
|
||||
|
||||
vue-loader@^13.7.0:
|
||||
version "13.7.0"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.0.tgz#4d6a35b169c2a0a488842fb95c85052105fa9729"
|
||||
vue-loader@^13.7.1:
|
||||
version "13.7.1"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.1.tgz#d9009d0abd392b4efe8b8fb1f542f6723b02dd3a"
|
||||
dependencies:
|
||||
consolidate "^0.14.0"
|
||||
hash-sum "^1.0.2"
|
||||
@ -15238,9 +15320,9 @@ vue-style-loader@^3.0.0:
|
||||
hash-sum "^1.0.2"
|
||||
loader-utils "^1.0.2"
|
||||
|
||||
vue-style-loader@^3.1.1:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.1.1.tgz#74fdef91a81d38bc0125746a1b5505e62d69e32c"
|
||||
vue-style-loader@^3.1.2:
|
||||
version "3.1.2"
|
||||
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.1.2.tgz#6b66ad34998fc9520c2f1e4d5fa4091641c1597a"
|
||||
dependencies:
|
||||
hash-sum "^1.0.2"
|
||||
loader-utils "^1.0.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user