├── .babelrc ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── examples └── basic │ ├── .gitignore │ ├── .prettierrc │ ├── GATSBY_README.1.md │ ├── LICENSE │ ├── README.md │ ├── gatsby-browser.js │ ├── gatsby-config.js │ ├── gatsby-node.js │ ├── gatsby-ssr.js │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── components │ │ ├── MyComponent.js │ │ ├── PolarChart.js │ │ ├── RadarChart.js │ │ └── header.js │ ├── layouts │ │ ├── index.css │ │ └── index.js │ └── pages │ │ ├── 404.js │ │ ├── index.js │ │ ├── markdown-page.md │ │ └── page-2.js │ └── yarn.lock ├── gatsby-node.js ├── index.js ├── package.json ├── src └── gatsby-node.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | yarn-error.log -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | examples 2 | node_modules 3 | yarn-error.log 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 1.0.0 2 | 3 | First release 4 | 5 | ## 1.0.1 6 | 7 | Support `.mdx` extension -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 nhducit 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gatsby-plugin-mdx 2 | 3 | this plugin is only applied to gatsby v1. for v2 please use [gatsby-mdx](https://github.com/ChristopherBiscardi/gatsby-mdx) 4 | 5 | ## Installation 6 | 7 | ``` 8 | yarn add gatsby-plugin-mdx 9 | ``` 10 | 11 | then 12 | 13 | ``` 14 | yarn add @mdx-js/mdx @mdx-js/loader loader-utils --dev 15 | ``` 16 | 17 | In your gatsby-config.js 18 | ``` 19 | plugins: ['gatsby-plugin-mdx'], 20 | 21 | ``` 22 | 23 | ## Usage 24 | 25 | Check mdx document for syntax and examples: https://github.com/mdx-js/mdx#mdx-syntax 26 | 27 | 28 | ## Example 29 | 30 | Check `examples` folder for working examples 31 | 32 | [Basic](https://github.com/nhducit/gatsby-plugin-mdx/blob/master/examples/basic/README.md): 33 | -------------------------------------------------------------------------------- /examples/basic/.gitignore: -------------------------------------------------------------------------------- 1 | # Project dependencies 2 | .cache 3 | node_modules 4 | yarn-error.log 5 | 6 | # Build directory 7 | /public 8 | .DS_Store 9 | -------------------------------------------------------------------------------- /examples/basic/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "trailingComma": "es5" 5 | } 6 | -------------------------------------------------------------------------------- /examples/basic/GATSBY_README.1.md: -------------------------------------------------------------------------------- 1 | # gatsby-starter-default 2 | The default Gatsby starter. 3 | 4 | For an overview of the project structure please refer to the [Gatsby documentation - Building with Components](https://www.gatsbyjs.org/docs/building-with-components/). 5 | 6 | ## Install 7 | 8 | Make sure that you have the Gatsby CLI program installed: 9 | ```sh 10 | npm install --global gatsby-cli 11 | ``` 12 | 13 | And run from your CLI: 14 | ```sh 15 | gatsby new gatsby-example-site 16 | ``` 17 | 18 | Then you can run it by: 19 | ```sh 20 | cd gatsby-example-site 21 | npm run develop 22 | ``` 23 | 24 | ## Deploy 25 | 26 | [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-default) 27 | -------------------------------------------------------------------------------- /examples/basic/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 gatsbyjs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /examples/basic/README.md: -------------------------------------------------------------------------------- 1 | # Basic example 2 | 3 | To create MDX pages add the `gatsby-source-filesystem` plugin pointed at the `pages/` directory. 4 | 5 | `gatsby-config.js` 6 | 7 | ```js 8 | module.exports = { 9 | plugins: [ 10 | 'gatsby-plugin-mdx', 11 | { 12 | resolve: 'gatsby-source-filesystem', 13 | options: { 14 | name: 'pages', 15 | path: `${__dirname}/src/pages/`, 16 | }, 17 | }, 18 | ], 19 | } 20 | ``` 21 | 22 | Next, query all markdown files and, using the `createPage` method, create corresponding pages for each of them. 23 | 24 | `gatsby-node.js` 25 | 26 | ```js 27 | exports.createPages = ({ graphql, boundActionCreators }) => { 28 | const { createPage } = boundActionCreators 29 | 30 | return new Promise((resolve, reject) => { 31 | graphql(` 32 | { 33 | allFile(filter: { extension: { eq: "md" } }) { 34 | edges { 35 | node { 36 | absolutePath 37 | relativeDirectory 38 | name 39 | } 40 | } 41 | } 42 | } 43 | `) 44 | .then(result => { 45 | if (result.errors) { 46 | return reject(result.errors) 47 | } 48 | 49 | // Create markdown pages. 50 | result.data.allFile.edges.forEach( 51 | ({ node: { absolutePath, relativeDirectory, name } }) => { 52 | createPage({ 53 | path: `${relativeDirectory}/${name}`, 54 | component: absolutePath, 55 | }) 56 | } 57 | ) 58 | }) 59 | .then(resolve) 60 | }) 61 | } 62 | ``` 63 | 64 | Create your markdown pages 🎉 65 | 66 | `src/pages/my-markdown-page.md` 67 | 68 | ```jsx 69 | import React from 'react' 70 | import RadarChart from './RadarChart' 71 | import PolarChart from './PolarChart' 72 | export default class MyComponent extends React.Component { 73 | render() { 74 | return ( 75 |
76 | 77 | 78 |
79 | ) 80 | } 81 | } 82 | ``` 83 | -------------------------------------------------------------------------------- /examples/basic/gatsby-browser.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Implement Gatsby's Browser APIs in this file. 3 | * 4 | * See: https://www.gatsbyjs.org/docs/browser-apis/ 5 | */ 6 | 7 | // You can delete this file if you're not using it -------------------------------------------------------------------------------- /examples/basic/gatsby-config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | siteMetadata: { 3 | title: 'Gatsby Default Starter', 4 | }, 5 | plugins: [ 6 | 'gatsby-plugin-react-helmet', 7 | 'gatsby-plugin-mdx', 8 | { 9 | resolve: 'gatsby-source-filesystem', 10 | options: { 11 | name: 'pages', 12 | path: `${__dirname}/src/pages/`, 13 | }, 14 | }, 15 | ], 16 | } 17 | -------------------------------------------------------------------------------- /examples/basic/gatsby-node.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Implement Gatsby's Node APIs in this file. 3 | * 4 | * See: https://www.gatsbyjs.org/docs/node-apis/ 5 | */ 6 | 7 | // You can delete this file if you're not using it 8 | 9 | exports.createPages = ({ graphql, boundActionCreators }) => { 10 | const { createPage } = boundActionCreators 11 | 12 | return new Promise((resolve, reject) => { 13 | graphql(` 14 | { 15 | allFile(filter: { extension: { eq: "md" } }) { 16 | edges { 17 | node { 18 | absolutePath 19 | relativeDirectory 20 | name 21 | } 22 | } 23 | } 24 | } 25 | `) 26 | .then(result => { 27 | if (result.errors) { 28 | return reject(result.errors) 29 | } 30 | 31 | // Create markdown pages. 32 | result.data.allFile.edges.forEach( 33 | ({ node: { absolutePath, relativeDirectory, name } }) => { 34 | createPage({ 35 | path: `${relativeDirectory}/${name}`, 36 | component: absolutePath, 37 | }) 38 | } 39 | ) 40 | }) 41 | .then(resolve) 42 | }) 43 | } 44 | -------------------------------------------------------------------------------- /examples/basic/gatsby-ssr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Implement Gatsby's SSR (Server Side Rendering) APIs in this file. 3 | * 4 | * See: https://www.gatsbyjs.org/docs/ssr-apis/ 5 | */ 6 | 7 | // You can delete this file if you're not using it -------------------------------------------------------------------------------- /examples/basic/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gatsby-starter-default", 3 | "description": "Gatsby default starter", 4 | "version": "1.0.0", 5 | "author": "Kyle Mathews ", 6 | "dependencies": { 7 | "chart.js": "^2.7.2", 8 | "gatsby": "^1.9.247", 9 | "gatsby-link": "^1.6.40", 10 | "gatsby-plugin-mdx": "^1.0.1", 11 | "gatsby-plugin-react-helmet": "^2.0.10", 12 | "gatsby-source-filesystem": "^1.5.36", 13 | "react-chartjs-2": "^2.7.2", 14 | "react-helmet": "^5.2.0" 15 | }, 16 | "keywords": [ 17 | "gatsby" 18 | ], 19 | "license": "MIT", 20 | "scripts": { 21 | "build": "gatsby build", 22 | "develop": "gatsby develop", 23 | "format": "prettier --write 'src/**/*.js'", 24 | "test": "echo \"Error: no test specified\" && exit 1" 25 | }, 26 | "devDependencies": { 27 | "@mdx-js/loader": "^0.9.0", 28 | "@mdx-js/mdx": "^0.9.0", 29 | "loader-utils": "^1.1.0", 30 | "prettier": "^1.12.0" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /examples/basic/src/components/MyComponent.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import RadarChart from './RadarChart' 3 | import PolarChart from './PolarChart' 4 | export default class MyComponent extends React.Component { 5 | render() { 6 | return ( 7 |
8 | 9 | 10 |
11 | ) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /examples/basic/src/components/PolarChart.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { Polar } from 'react-chartjs-2' 3 | 4 | const polarData = { 5 | datasets: [ 6 | { 7 | data: [11, 16, 7, 3, 14], 8 | backgroundColor: ['#FF6384', '#4BC0C0', '#FFCE56', '#E7E9ED', '#36A2EB'], 9 | label: 'My dataset', // for legend 10 | }, 11 | ], 12 | labels: ['Red', 'Green', 'Yellow', 'Grey', 'Blue'], 13 | } 14 | 15 | export default class PolarChart extends React.Component { 16 | render() { 17 | return ( 18 |
19 |

Polar Chart

20 | 21 |
22 | ) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/basic/src/components/RadarChart.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { Radar } from 'react-chartjs-2' 3 | 4 | const data = { 5 | labels: [ 6 | 'Eating', 7 | 'Drinking', 8 | 'Sleeping', 9 | 'Designing', 10 | 'Coding', 11 | 'Cycling', 12 | 'Running', 13 | ], 14 | datasets: [ 15 | { 16 | label: 'My First dataset', 17 | backgroundColor: 'rgba(179,181,198,0.2)', 18 | borderColor: 'rgba(179,181,198,1)', 19 | pointBackgroundColor: 'rgba(179,181,198,1)', 20 | pointBorderColor: '#fff', 21 | pointHoverBackgroundColor: '#fff', 22 | pointHoverBorderColor: 'rgba(179,181,198,1)', 23 | data: [65, 59, 90, 81, 56, 55, 40], 24 | }, 25 | { 26 | label: 'My Second dataset', 27 | backgroundColor: 'rgba(255,99,132,0.2)', 28 | borderColor: 'rgba(255,99,132,1)', 29 | pointBackgroundColor: 'rgba(255,99,132,1)', 30 | pointBorderColor: '#fff', 31 | pointHoverBackgroundColor: '#fff', 32 | pointHoverBorderColor: 'rgba(255,99,132,1)', 33 | data: [28, 48, 40, 19, 96, 27, 100], 34 | }, 35 | ], 36 | } 37 | 38 | export default class MyComponent extends React.Component { 39 | render() { 40 | return ( 41 |
42 |

Radar Chart

43 | 44 |
45 | ) 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /examples/basic/src/components/header.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Link from 'gatsby-link' 3 | 4 | const Header = ({ siteTitle }) => ( 5 |
11 |
18 |

19 | 26 | {siteTitle} 27 | 28 |

29 |
30 |
31 | ) 32 | 33 | export default Header 34 | -------------------------------------------------------------------------------- /examples/basic/src/layouts/index.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-family: sans-serif; 3 | -ms-text-size-adjust: 100%; 4 | -webkit-text-size-adjust: 100%; 5 | } 6 | body { 7 | margin: 0; 8 | } 9 | article, 10 | aside, 11 | details, 12 | figcaption, 13 | figure, 14 | footer, 15 | header, 16 | main, 17 | menu, 18 | nav, 19 | section, 20 | summary { 21 | display: block; 22 | } 23 | audio, 24 | canvas, 25 | progress, 26 | video { 27 | display: inline-block; 28 | } 29 | audio:not([controls]) { 30 | display: none; 31 | height: 0; 32 | } 33 | progress { 34 | vertical-align: baseline; 35 | } 36 | [hidden], 37 | template { 38 | display: none; 39 | } 40 | a { 41 | background-color: transparent; 42 | -webkit-text-decoration-skip: objects; 43 | } 44 | a:active, 45 | a:hover { 46 | outline-width: 0; 47 | } 48 | abbr[title] { 49 | border-bottom: none; 50 | text-decoration: underline; 51 | text-decoration: underline dotted; 52 | } 53 | b, 54 | strong { 55 | font-weight: inherit; 56 | font-weight: bolder; 57 | } 58 | dfn { 59 | font-style: italic; 60 | } 61 | h1 { 62 | font-size: 2em; 63 | margin: .67em 0; 64 | } 65 | mark { 66 | background-color: #ff0; 67 | color: #000; 68 | } 69 | small { 70 | font-size: 80%; 71 | } 72 | sub, 73 | sup { 74 | font-size: 75%; 75 | line-height: 0; 76 | position: relative; 77 | vertical-align: baseline; 78 | } 79 | sub { 80 | bottom: -.25em; 81 | } 82 | sup { 83 | top: -.5em; 84 | } 85 | img { 86 | border-style: none; 87 | } 88 | svg:not(:root) { 89 | overflow: hidden; 90 | } 91 | code, 92 | kbd, 93 | pre, 94 | samp { 95 | font-family: monospace, monospace; 96 | font-size: 1em; 97 | } 98 | figure { 99 | margin: 1em 40px; 100 | } 101 | hr { 102 | box-sizing: content-box; 103 | height: 0; 104 | overflow: visible; 105 | } 106 | button, 107 | input, 108 | optgroup, 109 | select, 110 | textarea { 111 | font: inherit; 112 | margin: 0; 113 | } 114 | optgroup { 115 | font-weight: 700; 116 | } 117 | button, 118 | input { 119 | overflow: visible; 120 | } 121 | button, 122 | select { 123 | text-transform: none; 124 | } 125 | [type=reset], 126 | [type=submit], 127 | button, 128 | html [type=button] { 129 | -webkit-appearance: button; 130 | } 131 | [type=button]::-moz-focus-inner, 132 | [type=reset]::-moz-focus-inner, 133 | [type=submit]::-moz-focus-inner, 134 | button::-moz-focus-inner { 135 | border-style: none; 136 | padding: 0; 137 | } 138 | [type=button]:-moz-focusring, 139 | [type=reset]:-moz-focusring, 140 | [type=submit]:-moz-focusring, 141 | button:-moz-focusring { 142 | outline: 1px dotted ButtonText; 143 | } 144 | fieldset { 145 | border: 1px solid silver; 146 | margin: 0 2px; 147 | padding: .35em .625em .75em; 148 | } 149 | legend { 150 | box-sizing: border-box; 151 | color: inherit; 152 | display: table; 153 | max-width: 100%; 154 | padding: 0; 155 | white-space: normal; 156 | } 157 | textarea { 158 | overflow: auto; 159 | } 160 | [type=checkbox], 161 | [type=radio] { 162 | box-sizing: border-box; 163 | padding: 0; 164 | } 165 | [type=number]::-webkit-inner-spin-button, 166 | [type=number]::-webkit-outer-spin-button { 167 | height: auto; 168 | } 169 | [type=search] { 170 | -webkit-appearance: textfield; 171 | outline-offset: -2px; 172 | } 173 | [type=search]::-webkit-search-cancel-button, 174 | [type=search]::-webkit-search-decoration { 175 | -webkit-appearance: none; 176 | } 177 | ::-webkit-input-placeholder { 178 | color: inherit; 179 | opacity: .54; 180 | } 181 | ::-webkit-file-upload-button { 182 | -webkit-appearance: button; 183 | font: inherit; 184 | } 185 | html { 186 | font: 112.5%/1.45em georgia, serif; 187 | box-sizing: border-box; 188 | overflow-y: scroll; 189 | } 190 | * { 191 | box-sizing: inherit; 192 | } 193 | *:before { 194 | box-sizing: inherit; 195 | } 196 | *:after { 197 | box-sizing: inherit; 198 | } 199 | body { 200 | color: hsla(0, 0%, 0%, 0.8); 201 | font-family: georgia, serif; 202 | font-weight: normal; 203 | word-wrap: break-word; 204 | font-kerning: normal; 205 | -moz-font-feature-settings: "kern", "liga", "clig", "calt"; 206 | -ms-font-feature-settings: "kern", "liga", "clig", "calt"; 207 | -webkit-font-feature-settings: "kern", "liga", "clig", "calt"; 208 | font-feature-settings: "kern", "liga", "clig", "calt"; 209 | } 210 | img { 211 | max-width: 100%; 212 | margin-left: 0; 213 | margin-right: 0; 214 | margin-top: 0; 215 | padding-bottom: 0; 216 | padding-left: 0; 217 | padding-right: 0; 218 | padding-top: 0; 219 | margin-bottom: 1.45rem; 220 | } 221 | h1 { 222 | margin-left: 0; 223 | margin-right: 0; 224 | margin-top: 0; 225 | padding-bottom: 0; 226 | padding-left: 0; 227 | padding-right: 0; 228 | padding-top: 0; 229 | margin-bottom: 1.45rem; 230 | color: inherit; 231 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 232 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 233 | font-weight: bold; 234 | text-rendering: optimizeLegibility; 235 | font-size: 2.25rem; 236 | line-height: 1.1; 237 | } 238 | h2 { 239 | margin-left: 0; 240 | margin-right: 0; 241 | margin-top: 0; 242 | padding-bottom: 0; 243 | padding-left: 0; 244 | padding-right: 0; 245 | padding-top: 0; 246 | margin-bottom: 1.45rem; 247 | color: inherit; 248 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 249 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 250 | font-weight: bold; 251 | text-rendering: optimizeLegibility; 252 | font-size: 1.62671rem; 253 | line-height: 1.1; 254 | } 255 | h3 { 256 | margin-left: 0; 257 | margin-right: 0; 258 | margin-top: 0; 259 | padding-bottom: 0; 260 | padding-left: 0; 261 | padding-right: 0; 262 | padding-top: 0; 263 | margin-bottom: 1.45rem; 264 | color: inherit; 265 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 266 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 267 | font-weight: bold; 268 | text-rendering: optimizeLegibility; 269 | font-size: 1.38316rem; 270 | line-height: 1.1; 271 | } 272 | h4 { 273 | margin-left: 0; 274 | margin-right: 0; 275 | margin-top: 0; 276 | padding-bottom: 0; 277 | padding-left: 0; 278 | padding-right: 0; 279 | padding-top: 0; 280 | margin-bottom: 1.45rem; 281 | color: inherit; 282 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 283 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 284 | font-weight: bold; 285 | text-rendering: optimizeLegibility; 286 | font-size: 1rem; 287 | line-height: 1.1; 288 | } 289 | h5 { 290 | margin-left: 0; 291 | margin-right: 0; 292 | margin-top: 0; 293 | padding-bottom: 0; 294 | padding-left: 0; 295 | padding-right: 0; 296 | padding-top: 0; 297 | margin-bottom: 1.45rem; 298 | color: inherit; 299 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 300 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 301 | font-weight: bold; 302 | text-rendering: optimizeLegibility; 303 | font-size: 0.85028rem; 304 | line-height: 1.1; 305 | } 306 | h6 { 307 | margin-left: 0; 308 | margin-right: 0; 309 | margin-top: 0; 310 | padding-bottom: 0; 311 | padding-left: 0; 312 | padding-right: 0; 313 | padding-top: 0; 314 | margin-bottom: 1.45rem; 315 | color: inherit; 316 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 317 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 318 | font-weight: bold; 319 | text-rendering: optimizeLegibility; 320 | font-size: 0.78405rem; 321 | line-height: 1.1; 322 | } 323 | hgroup { 324 | margin-left: 0; 325 | margin-right: 0; 326 | margin-top: 0; 327 | padding-bottom: 0; 328 | padding-left: 0; 329 | padding-right: 0; 330 | padding-top: 0; 331 | margin-bottom: 1.45rem; 332 | } 333 | ul { 334 | margin-left: 1.45rem; 335 | margin-right: 0; 336 | margin-top: 0; 337 | padding-bottom: 0; 338 | padding-left: 0; 339 | padding-right: 0; 340 | padding-top: 0; 341 | margin-bottom: 1.45rem; 342 | list-style-position: outside; 343 | list-style-image: none; 344 | } 345 | ol { 346 | margin-left: 1.45rem; 347 | margin-right: 0; 348 | margin-top: 0; 349 | padding-bottom: 0; 350 | padding-left: 0; 351 | padding-right: 0; 352 | padding-top: 0; 353 | margin-bottom: 1.45rem; 354 | list-style-position: outside; 355 | list-style-image: none; 356 | } 357 | dl { 358 | margin-left: 0; 359 | margin-right: 0; 360 | margin-top: 0; 361 | padding-bottom: 0; 362 | padding-left: 0; 363 | padding-right: 0; 364 | padding-top: 0; 365 | margin-bottom: 1.45rem; 366 | } 367 | dd { 368 | margin-left: 0; 369 | margin-right: 0; 370 | margin-top: 0; 371 | padding-bottom: 0; 372 | padding-left: 0; 373 | padding-right: 0; 374 | padding-top: 0; 375 | margin-bottom: 1.45rem; 376 | } 377 | p { 378 | margin-left: 0; 379 | margin-right: 0; 380 | margin-top: 0; 381 | padding-bottom: 0; 382 | padding-left: 0; 383 | padding-right: 0; 384 | padding-top: 0; 385 | margin-bottom: 1.45rem; 386 | } 387 | figure { 388 | margin-left: 0; 389 | margin-right: 0; 390 | margin-top: 0; 391 | padding-bottom: 0; 392 | padding-left: 0; 393 | padding-right: 0; 394 | padding-top: 0; 395 | margin-bottom: 1.45rem; 396 | } 397 | pre { 398 | margin-left: 0; 399 | margin-right: 0; 400 | margin-top: 0; 401 | padding-bottom: 0; 402 | padding-left: 0; 403 | padding-right: 0; 404 | padding-top: 0; 405 | margin-bottom: 1.45rem; 406 | font-size: 0.85rem; 407 | line-height: 1.42; 408 | background: hsla(0, 0%, 0%, 0.04); 409 | border-radius: 3px; 410 | overflow: auto; 411 | word-wrap: normal; 412 | padding: 1.45rem; 413 | } 414 | table { 415 | margin-left: 0; 416 | margin-right: 0; 417 | margin-top: 0; 418 | padding-bottom: 0; 419 | padding-left: 0; 420 | padding-right: 0; 421 | padding-top: 0; 422 | margin-bottom: 1.45rem; 423 | font-size: 1rem; 424 | line-height: 1.45rem; 425 | border-collapse: collapse; 426 | width: 100%; 427 | } 428 | fieldset { 429 | margin-left: 0; 430 | margin-right: 0; 431 | margin-top: 0; 432 | padding-bottom: 0; 433 | padding-left: 0; 434 | padding-right: 0; 435 | padding-top: 0; 436 | margin-bottom: 1.45rem; 437 | } 438 | blockquote { 439 | margin-left: 1.45rem; 440 | margin-right: 1.45rem; 441 | margin-top: 0; 442 | padding-bottom: 0; 443 | padding-left: 0; 444 | padding-right: 0; 445 | padding-top: 0; 446 | margin-bottom: 1.45rem; 447 | } 448 | form { 449 | margin-left: 0; 450 | margin-right: 0; 451 | margin-top: 0; 452 | padding-bottom: 0; 453 | padding-left: 0; 454 | padding-right: 0; 455 | padding-top: 0; 456 | margin-bottom: 1.45rem; 457 | } 458 | noscript { 459 | margin-left: 0; 460 | margin-right: 0; 461 | margin-top: 0; 462 | padding-bottom: 0; 463 | padding-left: 0; 464 | padding-right: 0; 465 | padding-top: 0; 466 | margin-bottom: 1.45rem; 467 | } 468 | iframe { 469 | margin-left: 0; 470 | margin-right: 0; 471 | margin-top: 0; 472 | padding-bottom: 0; 473 | padding-left: 0; 474 | padding-right: 0; 475 | padding-top: 0; 476 | margin-bottom: 1.45rem; 477 | } 478 | hr { 479 | margin-left: 0; 480 | margin-right: 0; 481 | margin-top: 0; 482 | padding-bottom: 0; 483 | padding-left: 0; 484 | padding-right: 0; 485 | padding-top: 0; 486 | margin-bottom: calc(1.45rem - 1px); 487 | background: hsla(0, 0%, 0%, 0.2); 488 | border: none; 489 | height: 1px; 490 | } 491 | address { 492 | margin-left: 0; 493 | margin-right: 0; 494 | margin-top: 0; 495 | padding-bottom: 0; 496 | padding-left: 0; 497 | padding-right: 0; 498 | padding-top: 0; 499 | margin-bottom: 1.45rem; 500 | } 501 | b { 502 | font-weight: bold; 503 | } 504 | strong { 505 | font-weight: bold; 506 | } 507 | dt { 508 | font-weight: bold; 509 | } 510 | th { 511 | font-weight: bold; 512 | } 513 | li { 514 | margin-bottom: calc(1.45rem / 2); 515 | } 516 | ol li { 517 | padding-left: 0; 518 | } 519 | ul li { 520 | padding-left: 0; 521 | } 522 | li > ol { 523 | margin-left: 1.45rem; 524 | margin-bottom: calc(1.45rem / 2); 525 | margin-top: calc(1.45rem / 2); 526 | } 527 | li > ul { 528 | margin-left: 1.45rem; 529 | margin-bottom: calc(1.45rem / 2); 530 | margin-top: calc(1.45rem / 2); 531 | } 532 | blockquote *:last-child { 533 | margin-bottom: 0; 534 | } 535 | li *:last-child { 536 | margin-bottom: 0; 537 | } 538 | p *:last-child { 539 | margin-bottom: 0; 540 | } 541 | li > p { 542 | margin-bottom: calc(1.45rem / 2); 543 | } 544 | code { 545 | font-size: 0.85rem; 546 | line-height: 1.45rem; 547 | } 548 | kbd { 549 | font-size: 0.85rem; 550 | line-height: 1.45rem; 551 | } 552 | samp { 553 | font-size: 0.85rem; 554 | line-height: 1.45rem; 555 | } 556 | abbr { 557 | border-bottom: 1px dotted hsla(0, 0%, 0%, 0.5); 558 | cursor: help; 559 | } 560 | acronym { 561 | border-bottom: 1px dotted hsla(0, 0%, 0%, 0.5); 562 | cursor: help; 563 | } 564 | abbr[title] { 565 | border-bottom: 1px dotted hsla(0, 0%, 0%, 0.5); 566 | cursor: help; 567 | text-decoration: none; 568 | } 569 | thead { 570 | text-align: left; 571 | } 572 | td, 573 | th { 574 | text-align: left; 575 | border-bottom: 1px solid hsla(0, 0%, 0%, 0.12); 576 | font-feature-settings: "tnum"; 577 | -moz-font-feature-settings: "tnum"; 578 | -ms-font-feature-settings: "tnum"; 579 | -webkit-font-feature-settings: "tnum"; 580 | padding-left: 0.96667rem; 581 | padding-right: 0.96667rem; 582 | padding-top: 0.725rem; 583 | padding-bottom: calc(0.725rem - 1px); 584 | } 585 | th:first-child, 586 | td:first-child { 587 | padding-left: 0; 588 | } 589 | th:last-child, 590 | td:last-child { 591 | padding-right: 0; 592 | } 593 | tt, 594 | code { 595 | background-color: hsla(0, 0%, 0%, 0.04); 596 | border-radius: 3px; 597 | font-family: "SFMono-Regular", Consolas, "Roboto Mono", "Droid Sans Mono", 598 | "Liberation Mono", Menlo, Courier, monospace; 599 | padding: 0; 600 | padding-top: 0.2em; 601 | padding-bottom: 0.2em; 602 | } 603 | pre code { 604 | background: none; 605 | line-height: 1.42; 606 | } 607 | code:before, 608 | code:after, 609 | tt:before, 610 | tt:after { 611 | letter-spacing: -0.2em; 612 | content: " "; 613 | } 614 | pre code:before, 615 | pre code:after, 616 | pre tt:before, 617 | pre tt:after { 618 | content: ""; 619 | } 620 | @media only screen and (max-width: 480px) { 621 | html { 622 | font-size: 100%; 623 | } 624 | } 625 | -------------------------------------------------------------------------------- /examples/basic/src/layouts/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import PropTypes from 'prop-types' 3 | import Helmet from 'react-helmet' 4 | 5 | import Header from '../components/header' 6 | import './index.css' 7 | 8 | const Layout = ({ children, data }) => ( 9 |
10 | 17 |
18 |
26 | {children()} 27 |
28 |
29 | ) 30 | 31 | Layout.propTypes = { 32 | children: PropTypes.func, 33 | } 34 | 35 | export default Layout 36 | 37 | export const query = graphql` 38 | query SiteTitleQuery { 39 | site { 40 | siteMetadata { 41 | title 42 | } 43 | } 44 | } 45 | ` 46 | -------------------------------------------------------------------------------- /examples/basic/src/pages/404.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const NotFoundPage = () => ( 4 |
5 |

NOT FOUND

6 |

You just hit a route that doesn't exist... the sadness.

7 |
8 | ) 9 | 10 | export default NotFoundPage 11 | -------------------------------------------------------------------------------- /examples/basic/src/pages/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Link from 'gatsby-link' 3 | const IndexPage = () => ( 4 |
5 |

Hi people

6 |

Welcome to your new Gatsby site.

7 |

Now go build something great.

8 | Go to page 2 9 |

10 | Go to markdown-page 11 |

12 | ) 13 | 14 | export default IndexPage 15 | -------------------------------------------------------------------------------- /examples/basic/src/pages/markdown-page.md: -------------------------------------------------------------------------------- 1 | import MyComponent from '../components/MyComponent' 2 | 3 | # Markdown content 4 | 5 | these are markdown text 6 | 7 | ## React Components: 8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/basic/src/pages/page-2.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Link from 'gatsby-link' 3 | 4 | const SecondPage = () => ( 5 |
6 |

Hi from the second page

7 |

Welcome to page 2

8 | Go back to the homepage 9 |
10 | ) 11 | 12 | export default SecondPage 13 | -------------------------------------------------------------------------------- /gatsby-node.js: -------------------------------------------------------------------------------- 1 | // const webpack = require(`webpack`) 2 | 3 | // Add Glamor support 4 | exports.modifyWebpackConfig = ({ config, stage }) => { 5 | const mdFiles = /\.mdx?$/; 6 | config.loader(`mdx`, { 7 | test: mdFiles, 8 | loaders: ['babel-loader?' + 'babelrc=false,' + 'presets[]=env,' + 'presets[]=react', '@mdx-js/loader'] 9 | }); 10 | }; 11 | 12 | // Add Glamor support 13 | // exports.modifyBabelrc = ({ babelrc }) => { 14 | // return Object.assign(babelrc, { 15 | // plugins: babelrc.plugins.concat(['@mdx-js/loader']), 16 | // }) 17 | // } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | // noop 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gatsby-plugin-mdx", 3 | "version": "1.0.1", 4 | "description": "mdx plugin for gatsby", 5 | "main": "index.js", 6 | "scripts": { 7 | "build": "babel src --out-dir . --ignore __tests__", 8 | "prepublish": "cross-env NODE_ENV=production npm run build", 9 | "watch": "babel -w src --out-dir . --ignore __tests__" 10 | }, 11 | "keywords": [ 12 | "gatsby", 13 | "gatsby-plugin", 14 | "markdown", 15 | "mdx", 16 | "jsx" 17 | ], 18 | "author": "Duc Nguyen", 19 | "license": "MIT", 20 | "dependencies": {}, 21 | "devDependencies": { 22 | "babel-cli": "^6.26.0", 23 | "cross-env": "^5.0.5" 24 | }, 25 | "peerDependencies": { 26 | "@mdx-js/loader": "^0.9.0", 27 | "@mdx-js/mdx": "^0.9.0", 28 | "gatsby": "^1.0.0" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/gatsby-node.js: -------------------------------------------------------------------------------- 1 | // const webpack = require(`webpack`) 2 | 3 | // Add Glamor support 4 | exports.modifyWebpackConfig = ({ config, stage }) => { 5 | const mdFiles = /\.mdx?$/ 6 | config.loader(`mdx`, { 7 | test: mdFiles, 8 | loaders: [ 9 | 'babel-loader?' + 'babelrc=false,' + 'presets[]=env,' + 'presets[]=react', 10 | '@mdx-js/loader', 11 | ], 12 | }) 13 | } 14 | 15 | // Add Glamor support 16 | // exports.modifyBabelrc = ({ babelrc }) => { 17 | // return Object.assign(babelrc, { 18 | // plugins: babelrc.plugins.concat(['@mdx-js/loader']), 19 | // }) 20 | // } 21 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | abbrev@1: 6 | version "1.1.1" 7 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 8 | 9 | ansi-regex@^2.0.0: 10 | version "2.1.1" 11 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 12 | 13 | ansi-styles@^2.2.1: 14 | version "2.2.1" 15 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 16 | 17 | anymatch@^1.3.0: 18 | version "1.3.2" 19 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" 20 | dependencies: 21 | micromatch "^2.1.5" 22 | normalize-path "^2.0.0" 23 | 24 | aproba@^1.0.3: 25 | version "1.2.0" 26 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 27 | 28 | are-we-there-yet@~1.1.2: 29 | version "1.1.4" 30 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 31 | dependencies: 32 | delegates "^1.0.0" 33 | readable-stream "^2.0.6" 34 | 35 | arr-diff@^2.0.0: 36 | version "2.0.0" 37 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 38 | dependencies: 39 | arr-flatten "^1.0.1" 40 | 41 | arr-flatten@^1.0.1: 42 | version "1.1.0" 43 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 44 | 45 | array-unique@^0.2.1: 46 | version "0.2.1" 47 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 48 | 49 | async-each@^1.0.0: 50 | version "1.0.1" 51 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 52 | 53 | babel-cli@^6.26.0: 54 | version "6.26.0" 55 | resolved "https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.26.0.tgz#502ab54874d7db88ad00b887a06383ce03d002f1" 56 | dependencies: 57 | babel-core "^6.26.0" 58 | babel-polyfill "^6.26.0" 59 | babel-register "^6.26.0" 60 | babel-runtime "^6.26.0" 61 | commander "^2.11.0" 62 | convert-source-map "^1.5.0" 63 | fs-readdir-recursive "^1.0.0" 64 | glob "^7.1.2" 65 | lodash "^4.17.4" 66 | output-file-sync "^1.1.2" 67 | path-is-absolute "^1.0.1" 68 | slash "^1.0.0" 69 | source-map "^0.5.6" 70 | v8flags "^2.1.1" 71 | optionalDependencies: 72 | chokidar "^1.6.1" 73 | 74 | babel-code-frame@^6.26.0: 75 | version "6.26.0" 76 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 77 | dependencies: 78 | chalk "^1.1.3" 79 | esutils "^2.0.2" 80 | js-tokens "^3.0.2" 81 | 82 | babel-core@^6.26.0: 83 | version "6.26.3" 84 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" 85 | dependencies: 86 | babel-code-frame "^6.26.0" 87 | babel-generator "^6.26.0" 88 | babel-helpers "^6.24.1" 89 | babel-messages "^6.23.0" 90 | babel-register "^6.26.0" 91 | babel-runtime "^6.26.0" 92 | babel-template "^6.26.0" 93 | babel-traverse "^6.26.0" 94 | babel-types "^6.26.0" 95 | babylon "^6.18.0" 96 | convert-source-map "^1.5.1" 97 | debug "^2.6.9" 98 | json5 "^0.5.1" 99 | lodash "^4.17.4" 100 | minimatch "^3.0.4" 101 | path-is-absolute "^1.0.1" 102 | private "^0.1.8" 103 | slash "^1.0.0" 104 | source-map "^0.5.7" 105 | 106 | babel-generator@^6.26.0: 107 | version "6.26.1" 108 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" 109 | dependencies: 110 | babel-messages "^6.23.0" 111 | babel-runtime "^6.26.0" 112 | babel-types "^6.26.0" 113 | detect-indent "^4.0.0" 114 | jsesc "^1.3.0" 115 | lodash "^4.17.4" 116 | source-map "^0.5.7" 117 | trim-right "^1.0.1" 118 | 119 | babel-helpers@^6.24.1: 120 | version "6.24.1" 121 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 122 | dependencies: 123 | babel-runtime "^6.22.0" 124 | babel-template "^6.24.1" 125 | 126 | babel-messages@^6.23.0: 127 | version "6.23.0" 128 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 129 | dependencies: 130 | babel-runtime "^6.22.0" 131 | 132 | babel-polyfill@^6.26.0: 133 | version "6.26.0" 134 | resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" 135 | dependencies: 136 | babel-runtime "^6.26.0" 137 | core-js "^2.5.0" 138 | regenerator-runtime "^0.10.5" 139 | 140 | babel-register@^6.26.0: 141 | version "6.26.0" 142 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" 143 | dependencies: 144 | babel-core "^6.26.0" 145 | babel-runtime "^6.26.0" 146 | core-js "^2.5.0" 147 | home-or-tmp "^2.0.0" 148 | lodash "^4.17.4" 149 | mkdirp "^0.5.1" 150 | source-map-support "^0.4.15" 151 | 152 | babel-runtime@^6.22.0, babel-runtime@^6.26.0: 153 | version "6.26.0" 154 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 155 | dependencies: 156 | core-js "^2.4.0" 157 | regenerator-runtime "^0.11.0" 158 | 159 | babel-template@^6.24.1, babel-template@^6.26.0: 160 | version "6.26.0" 161 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" 162 | dependencies: 163 | babel-runtime "^6.26.0" 164 | babel-traverse "^6.26.0" 165 | babel-types "^6.26.0" 166 | babylon "^6.18.0" 167 | lodash "^4.17.4" 168 | 169 | babel-traverse@^6.26.0: 170 | version "6.26.0" 171 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 172 | dependencies: 173 | babel-code-frame "^6.26.0" 174 | babel-messages "^6.23.0" 175 | babel-runtime "^6.26.0" 176 | babel-types "^6.26.0" 177 | babylon "^6.18.0" 178 | debug "^2.6.8" 179 | globals "^9.18.0" 180 | invariant "^2.2.2" 181 | lodash "^4.17.4" 182 | 183 | babel-types@^6.26.0: 184 | version "6.26.0" 185 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 186 | dependencies: 187 | babel-runtime "^6.26.0" 188 | esutils "^2.0.2" 189 | lodash "^4.17.4" 190 | to-fast-properties "^1.0.3" 191 | 192 | babylon@^6.18.0: 193 | version "6.18.0" 194 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 195 | 196 | balanced-match@^1.0.0: 197 | version "1.0.0" 198 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 199 | 200 | binary-extensions@^1.0.0: 201 | version "1.11.0" 202 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" 203 | 204 | brace-expansion@^1.1.7: 205 | version "1.1.11" 206 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 207 | dependencies: 208 | balanced-match "^1.0.0" 209 | concat-map "0.0.1" 210 | 211 | braces@^1.8.2: 212 | version "1.8.5" 213 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 214 | dependencies: 215 | expand-range "^1.8.1" 216 | preserve "^0.2.0" 217 | repeat-element "^1.1.2" 218 | 219 | chalk@^1.1.3: 220 | version "1.1.3" 221 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 222 | dependencies: 223 | ansi-styles "^2.2.1" 224 | escape-string-regexp "^1.0.2" 225 | has-ansi "^2.0.0" 226 | strip-ansi "^3.0.0" 227 | supports-color "^2.0.0" 228 | 229 | chokidar@^1.6.1: 230 | version "1.7.0" 231 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" 232 | dependencies: 233 | anymatch "^1.3.0" 234 | async-each "^1.0.0" 235 | glob-parent "^2.0.0" 236 | inherits "^2.0.1" 237 | is-binary-path "^1.0.0" 238 | is-glob "^2.0.0" 239 | path-is-absolute "^1.0.0" 240 | readdirp "^2.0.0" 241 | optionalDependencies: 242 | fsevents "^1.0.0" 243 | 244 | chownr@^1.0.1: 245 | version "1.0.1" 246 | resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" 247 | 248 | code-point-at@^1.0.0: 249 | version "1.1.0" 250 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 251 | 252 | commander@^2.11.0: 253 | version "2.15.1" 254 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" 255 | 256 | concat-map@0.0.1: 257 | version "0.0.1" 258 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 259 | 260 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 261 | version "1.1.0" 262 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 263 | 264 | convert-source-map@^1.5.0, convert-source-map@^1.5.1: 265 | version "1.5.1" 266 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" 267 | 268 | core-js@^2.4.0, core-js@^2.5.0: 269 | version "2.5.6" 270 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d" 271 | 272 | core-util-is@~1.0.0: 273 | version "1.0.2" 274 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 275 | 276 | cross-env@^5.0.5: 277 | version "5.1.4" 278 | resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.4.tgz#f61c14291f7cc653bb86457002ea80a04699d022" 279 | dependencies: 280 | cross-spawn "^5.1.0" 281 | is-windows "^1.0.0" 282 | 283 | cross-spawn@^5.1.0: 284 | version "5.1.0" 285 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 286 | dependencies: 287 | lru-cache "^4.0.1" 288 | shebang-command "^1.2.0" 289 | which "^1.2.9" 290 | 291 | debug@^2.1.2, debug@^2.6.8, debug@^2.6.9: 292 | version "2.6.9" 293 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 294 | dependencies: 295 | ms "2.0.0" 296 | 297 | deep-extend@^0.5.1: 298 | version "0.5.1" 299 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" 300 | 301 | delegates@^1.0.0: 302 | version "1.0.0" 303 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 304 | 305 | detect-indent@^4.0.0: 306 | version "4.0.0" 307 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 308 | dependencies: 309 | repeating "^2.0.0" 310 | 311 | detect-libc@^1.0.2: 312 | version "1.0.3" 313 | resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 314 | 315 | escape-string-regexp@^1.0.2: 316 | version "1.0.5" 317 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 318 | 319 | esutils@^2.0.2: 320 | version "2.0.2" 321 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 322 | 323 | expand-brackets@^0.1.4: 324 | version "0.1.5" 325 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 326 | dependencies: 327 | is-posix-bracket "^0.1.0" 328 | 329 | expand-range@^1.8.1: 330 | version "1.8.2" 331 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 332 | dependencies: 333 | fill-range "^2.1.0" 334 | 335 | extglob@^0.3.1: 336 | version "0.3.2" 337 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 338 | dependencies: 339 | is-extglob "^1.0.0" 340 | 341 | filename-regex@^2.0.0: 342 | version "2.0.1" 343 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 344 | 345 | fill-range@^2.1.0: 346 | version "2.2.3" 347 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 348 | dependencies: 349 | is-number "^2.1.0" 350 | isobject "^2.0.0" 351 | randomatic "^1.1.3" 352 | repeat-element "^1.1.2" 353 | repeat-string "^1.5.2" 354 | 355 | for-in@^1.0.1: 356 | version "1.0.2" 357 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 358 | 359 | for-own@^0.1.4: 360 | version "0.1.5" 361 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 362 | dependencies: 363 | for-in "^1.0.1" 364 | 365 | fs-minipass@^1.2.5: 366 | version "1.2.5" 367 | resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" 368 | dependencies: 369 | minipass "^2.2.1" 370 | 371 | fs-readdir-recursive@^1.0.0: 372 | version "1.1.0" 373 | resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" 374 | 375 | fs.realpath@^1.0.0: 376 | version "1.0.0" 377 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 378 | 379 | fsevents@^1.0.0: 380 | version "1.2.3" 381 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.3.tgz#08292982e7059f6674c93d8b829c1e8604979ac0" 382 | dependencies: 383 | nan "^2.9.2" 384 | node-pre-gyp "^0.9.0" 385 | 386 | gauge@~2.7.3: 387 | version "2.7.4" 388 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 389 | dependencies: 390 | aproba "^1.0.3" 391 | console-control-strings "^1.0.0" 392 | has-unicode "^2.0.0" 393 | object-assign "^4.1.0" 394 | signal-exit "^3.0.0" 395 | string-width "^1.0.1" 396 | strip-ansi "^3.0.1" 397 | wide-align "^1.1.0" 398 | 399 | glob-base@^0.3.0: 400 | version "0.3.0" 401 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 402 | dependencies: 403 | glob-parent "^2.0.0" 404 | is-glob "^2.0.0" 405 | 406 | glob-parent@^2.0.0: 407 | version "2.0.0" 408 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 409 | dependencies: 410 | is-glob "^2.0.0" 411 | 412 | glob@^7.0.5, glob@^7.1.2: 413 | version "7.1.2" 414 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 415 | dependencies: 416 | fs.realpath "^1.0.0" 417 | inflight "^1.0.4" 418 | inherits "2" 419 | minimatch "^3.0.4" 420 | once "^1.3.0" 421 | path-is-absolute "^1.0.0" 422 | 423 | globals@^9.18.0: 424 | version "9.18.0" 425 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 426 | 427 | graceful-fs@^4.1.2, graceful-fs@^4.1.4: 428 | version "4.1.11" 429 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 430 | 431 | has-ansi@^2.0.0: 432 | version "2.0.0" 433 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 434 | dependencies: 435 | ansi-regex "^2.0.0" 436 | 437 | has-unicode@^2.0.0: 438 | version "2.0.1" 439 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 440 | 441 | home-or-tmp@^2.0.0: 442 | version "2.0.0" 443 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 444 | dependencies: 445 | os-homedir "^1.0.0" 446 | os-tmpdir "^1.0.1" 447 | 448 | iconv-lite@^0.4.4: 449 | version "0.4.22" 450 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.22.tgz#c6b16b9d05bc6c307dc9303a820412995d2eea95" 451 | dependencies: 452 | safer-buffer ">= 2.1.2 < 3" 453 | 454 | ignore-walk@^3.0.1: 455 | version "3.0.1" 456 | resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" 457 | dependencies: 458 | minimatch "^3.0.4" 459 | 460 | inflight@^1.0.4: 461 | version "1.0.6" 462 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 463 | dependencies: 464 | once "^1.3.0" 465 | wrappy "1" 466 | 467 | inherits@2, inherits@^2.0.1, inherits@~2.0.3: 468 | version "2.0.3" 469 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 470 | 471 | ini@~1.3.0: 472 | version "1.3.5" 473 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 474 | 475 | invariant@^2.2.2: 476 | version "2.2.4" 477 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" 478 | dependencies: 479 | loose-envify "^1.0.0" 480 | 481 | is-binary-path@^1.0.0: 482 | version "1.0.1" 483 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 484 | dependencies: 485 | binary-extensions "^1.0.0" 486 | 487 | is-buffer@^1.1.5: 488 | version "1.1.6" 489 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 490 | 491 | is-dotfile@^1.0.0: 492 | version "1.0.3" 493 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 494 | 495 | is-equal-shallow@^0.1.3: 496 | version "0.1.3" 497 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 498 | dependencies: 499 | is-primitive "^2.0.0" 500 | 501 | is-extendable@^0.1.1: 502 | version "0.1.1" 503 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 504 | 505 | is-extglob@^1.0.0: 506 | version "1.0.0" 507 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 508 | 509 | is-finite@^1.0.0: 510 | version "1.0.2" 511 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 512 | dependencies: 513 | number-is-nan "^1.0.0" 514 | 515 | is-fullwidth-code-point@^1.0.0: 516 | version "1.0.0" 517 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 518 | dependencies: 519 | number-is-nan "^1.0.0" 520 | 521 | is-glob@^2.0.0, is-glob@^2.0.1: 522 | version "2.0.1" 523 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 524 | dependencies: 525 | is-extglob "^1.0.0" 526 | 527 | is-number@^2.1.0: 528 | version "2.1.0" 529 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 530 | dependencies: 531 | kind-of "^3.0.2" 532 | 533 | is-number@^3.0.0: 534 | version "3.0.0" 535 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 536 | dependencies: 537 | kind-of "^3.0.2" 538 | 539 | is-posix-bracket@^0.1.0: 540 | version "0.1.1" 541 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 542 | 543 | is-primitive@^2.0.0: 544 | version "2.0.0" 545 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 546 | 547 | is-windows@^1.0.0: 548 | version "1.0.2" 549 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" 550 | 551 | isarray@1.0.0, isarray@~1.0.0: 552 | version "1.0.0" 553 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 554 | 555 | isexe@^2.0.0: 556 | version "2.0.0" 557 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 558 | 559 | isobject@^2.0.0: 560 | version "2.1.0" 561 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 562 | dependencies: 563 | isarray "1.0.0" 564 | 565 | js-tokens@^3.0.0, js-tokens@^3.0.2: 566 | version "3.0.2" 567 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 568 | 569 | jsesc@^1.3.0: 570 | version "1.3.0" 571 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 572 | 573 | json5@^0.5.1: 574 | version "0.5.1" 575 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 576 | 577 | kind-of@^3.0.2: 578 | version "3.2.2" 579 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 580 | dependencies: 581 | is-buffer "^1.1.5" 582 | 583 | kind-of@^4.0.0: 584 | version "4.0.0" 585 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 586 | dependencies: 587 | is-buffer "^1.1.5" 588 | 589 | lodash@^4.17.4: 590 | version "4.17.10" 591 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" 592 | 593 | loose-envify@^1.0.0: 594 | version "1.3.1" 595 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 596 | dependencies: 597 | js-tokens "^3.0.0" 598 | 599 | lru-cache@^4.0.1: 600 | version "4.1.2" 601 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.2.tgz#45234b2e6e2f2b33da125624c4664929a0224c3f" 602 | dependencies: 603 | pseudomap "^1.0.2" 604 | yallist "^2.1.2" 605 | 606 | micromatch@^2.1.5: 607 | version "2.3.11" 608 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 609 | dependencies: 610 | arr-diff "^2.0.0" 611 | array-unique "^0.2.1" 612 | braces "^1.8.2" 613 | expand-brackets "^0.1.4" 614 | extglob "^0.3.1" 615 | filename-regex "^2.0.0" 616 | is-extglob "^1.0.0" 617 | is-glob "^2.0.1" 618 | kind-of "^3.0.2" 619 | normalize-path "^2.0.1" 620 | object.omit "^2.0.0" 621 | parse-glob "^3.0.4" 622 | regex-cache "^0.4.2" 623 | 624 | minimatch@^3.0.2, minimatch@^3.0.4: 625 | version "3.0.4" 626 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 627 | dependencies: 628 | brace-expansion "^1.1.7" 629 | 630 | minimist@0.0.8: 631 | version "0.0.8" 632 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 633 | 634 | minimist@^1.2.0: 635 | version "1.2.0" 636 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 637 | 638 | minipass@^2.2.1, minipass@^2.2.4: 639 | version "2.3.0" 640 | resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.0.tgz#2e11b1c46df7fe7f1afbe9a490280add21ffe384" 641 | dependencies: 642 | safe-buffer "^5.1.1" 643 | yallist "^3.0.0" 644 | 645 | minizlib@^1.1.0: 646 | version "1.1.0" 647 | resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb" 648 | dependencies: 649 | minipass "^2.2.1" 650 | 651 | mkdirp@^0.5.0, mkdirp@^0.5.1: 652 | version "0.5.1" 653 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 654 | dependencies: 655 | minimist "0.0.8" 656 | 657 | ms@2.0.0: 658 | version "2.0.0" 659 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 660 | 661 | nan@^2.9.2: 662 | version "2.10.0" 663 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" 664 | 665 | needle@^2.2.0: 666 | version "2.2.1" 667 | resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.1.tgz#b5e325bd3aae8c2678902fa296f729455d1d3a7d" 668 | dependencies: 669 | debug "^2.1.2" 670 | iconv-lite "^0.4.4" 671 | sax "^1.2.4" 672 | 673 | node-pre-gyp@^0.9.0: 674 | version "0.9.1" 675 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.9.1.tgz#f11c07516dd92f87199dbc7e1838eab7cd56c9e0" 676 | dependencies: 677 | detect-libc "^1.0.2" 678 | mkdirp "^0.5.1" 679 | needle "^2.2.0" 680 | nopt "^4.0.1" 681 | npm-packlist "^1.1.6" 682 | npmlog "^4.0.2" 683 | rc "^1.1.7" 684 | rimraf "^2.6.1" 685 | semver "^5.3.0" 686 | tar "^4" 687 | 688 | nopt@^4.0.1: 689 | version "4.0.1" 690 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 691 | dependencies: 692 | abbrev "1" 693 | osenv "^0.1.4" 694 | 695 | normalize-path@^2.0.0, normalize-path@^2.0.1: 696 | version "2.1.1" 697 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 698 | dependencies: 699 | remove-trailing-separator "^1.0.1" 700 | 701 | npm-bundled@^1.0.1: 702 | version "1.0.3" 703 | resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.3.tgz#7e71703d973af3370a9591bafe3a63aca0be2308" 704 | 705 | npm-packlist@^1.1.6: 706 | version "1.1.10" 707 | resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a" 708 | dependencies: 709 | ignore-walk "^3.0.1" 710 | npm-bundled "^1.0.1" 711 | 712 | npmlog@^4.0.2: 713 | version "4.1.2" 714 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 715 | dependencies: 716 | are-we-there-yet "~1.1.2" 717 | console-control-strings "~1.1.0" 718 | gauge "~2.7.3" 719 | set-blocking "~2.0.0" 720 | 721 | number-is-nan@^1.0.0: 722 | version "1.0.1" 723 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 724 | 725 | object-assign@^4.1.0: 726 | version "4.1.1" 727 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 728 | 729 | object.omit@^2.0.0: 730 | version "2.0.1" 731 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 732 | dependencies: 733 | for-own "^0.1.4" 734 | is-extendable "^0.1.1" 735 | 736 | once@^1.3.0: 737 | version "1.4.0" 738 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 739 | dependencies: 740 | wrappy "1" 741 | 742 | os-homedir@^1.0.0: 743 | version "1.0.2" 744 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 745 | 746 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1: 747 | version "1.0.2" 748 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 749 | 750 | osenv@^0.1.4: 751 | version "0.1.5" 752 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" 753 | dependencies: 754 | os-homedir "^1.0.0" 755 | os-tmpdir "^1.0.0" 756 | 757 | output-file-sync@^1.1.2: 758 | version "1.1.2" 759 | resolved "https://registry.yarnpkg.com/output-file-sync/-/output-file-sync-1.1.2.tgz#d0a33eefe61a205facb90092e826598d5245ce76" 760 | dependencies: 761 | graceful-fs "^4.1.4" 762 | mkdirp "^0.5.1" 763 | object-assign "^4.1.0" 764 | 765 | parse-glob@^3.0.4: 766 | version "3.0.4" 767 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 768 | dependencies: 769 | glob-base "^0.3.0" 770 | is-dotfile "^1.0.0" 771 | is-extglob "^1.0.0" 772 | is-glob "^2.0.0" 773 | 774 | path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: 775 | version "1.0.1" 776 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 777 | 778 | preserve@^0.2.0: 779 | version "0.2.0" 780 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 781 | 782 | private@^0.1.8: 783 | version "0.1.8" 784 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" 785 | 786 | process-nextick-args@~2.0.0: 787 | version "2.0.0" 788 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" 789 | 790 | pseudomap@^1.0.2: 791 | version "1.0.2" 792 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 793 | 794 | randomatic@^1.1.3: 795 | version "1.1.7" 796 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" 797 | dependencies: 798 | is-number "^3.0.0" 799 | kind-of "^4.0.0" 800 | 801 | rc@^1.1.7: 802 | version "1.2.7" 803 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.7.tgz#8a10ca30d588d00464360372b890d06dacd02297" 804 | dependencies: 805 | deep-extend "^0.5.1" 806 | ini "~1.3.0" 807 | minimist "^1.2.0" 808 | strip-json-comments "~2.0.1" 809 | 810 | readable-stream@^2.0.2, readable-stream@^2.0.6: 811 | version "2.3.6" 812 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" 813 | dependencies: 814 | core-util-is "~1.0.0" 815 | inherits "~2.0.3" 816 | isarray "~1.0.0" 817 | process-nextick-args "~2.0.0" 818 | safe-buffer "~5.1.1" 819 | string_decoder "~1.1.1" 820 | util-deprecate "~1.0.1" 821 | 822 | readdirp@^2.0.0: 823 | version "2.1.0" 824 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 825 | dependencies: 826 | graceful-fs "^4.1.2" 827 | minimatch "^3.0.2" 828 | readable-stream "^2.0.2" 829 | set-immediate-shim "^1.0.1" 830 | 831 | regenerator-runtime@^0.10.5: 832 | version "0.10.5" 833 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" 834 | 835 | regenerator-runtime@^0.11.0: 836 | version "0.11.1" 837 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" 838 | 839 | regex-cache@^0.4.2: 840 | version "0.4.4" 841 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" 842 | dependencies: 843 | is-equal-shallow "^0.1.3" 844 | 845 | remove-trailing-separator@^1.0.1: 846 | version "1.1.0" 847 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" 848 | 849 | repeat-element@^1.1.2: 850 | version "1.1.2" 851 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 852 | 853 | repeat-string@^1.5.2: 854 | version "1.6.1" 855 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 856 | 857 | repeating@^2.0.0: 858 | version "2.0.1" 859 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 860 | dependencies: 861 | is-finite "^1.0.0" 862 | 863 | rimraf@^2.6.1: 864 | version "2.6.2" 865 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 866 | dependencies: 867 | glob "^7.0.5" 868 | 869 | safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 870 | version "5.1.2" 871 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 872 | 873 | "safer-buffer@>= 2.1.2 < 3": 874 | version "2.1.2" 875 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 876 | 877 | sax@^1.2.4: 878 | version "1.2.4" 879 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 880 | 881 | semver@^5.3.0: 882 | version "5.5.0" 883 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 884 | 885 | set-blocking@~2.0.0: 886 | version "2.0.0" 887 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 888 | 889 | set-immediate-shim@^1.0.1: 890 | version "1.0.1" 891 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 892 | 893 | shebang-command@^1.2.0: 894 | version "1.2.0" 895 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 896 | dependencies: 897 | shebang-regex "^1.0.0" 898 | 899 | shebang-regex@^1.0.0: 900 | version "1.0.0" 901 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 902 | 903 | signal-exit@^3.0.0: 904 | version "3.0.2" 905 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 906 | 907 | slash@^1.0.0: 908 | version "1.0.0" 909 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 910 | 911 | source-map-support@^0.4.15: 912 | version "0.4.18" 913 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" 914 | dependencies: 915 | source-map "^0.5.6" 916 | 917 | source-map@^0.5.6, source-map@^0.5.7: 918 | version "0.5.7" 919 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 920 | 921 | string-width@^1.0.1, string-width@^1.0.2: 922 | version "1.0.2" 923 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 924 | dependencies: 925 | code-point-at "^1.0.0" 926 | is-fullwidth-code-point "^1.0.0" 927 | strip-ansi "^3.0.0" 928 | 929 | string_decoder@~1.1.1: 930 | version "1.1.1" 931 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" 932 | dependencies: 933 | safe-buffer "~5.1.0" 934 | 935 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 936 | version "3.0.1" 937 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 938 | dependencies: 939 | ansi-regex "^2.0.0" 940 | 941 | strip-json-comments@~2.0.1: 942 | version "2.0.1" 943 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 944 | 945 | supports-color@^2.0.0: 946 | version "2.0.0" 947 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 948 | 949 | tar@^4: 950 | version "4.4.2" 951 | resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.2.tgz#60685211ba46b38847b1ae7ee1a24d744a2cd462" 952 | dependencies: 953 | chownr "^1.0.1" 954 | fs-minipass "^1.2.5" 955 | minipass "^2.2.4" 956 | minizlib "^1.1.0" 957 | mkdirp "^0.5.0" 958 | safe-buffer "^5.1.2" 959 | yallist "^3.0.2" 960 | 961 | to-fast-properties@^1.0.3: 962 | version "1.0.3" 963 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 964 | 965 | trim-right@^1.0.1: 966 | version "1.0.1" 967 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 968 | 969 | user-home@^1.1.1: 970 | version "1.1.1" 971 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" 972 | 973 | util-deprecate@~1.0.1: 974 | version "1.0.2" 975 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 976 | 977 | v8flags@^2.1.1: 978 | version "2.1.1" 979 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" 980 | dependencies: 981 | user-home "^1.1.1" 982 | 983 | which@^1.2.9: 984 | version "1.3.0" 985 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" 986 | dependencies: 987 | isexe "^2.0.0" 988 | 989 | wide-align@^1.1.0: 990 | version "1.1.2" 991 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 992 | dependencies: 993 | string-width "^1.0.2" 994 | 995 | wrappy@1: 996 | version "1.0.2" 997 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 998 | 999 | yallist@^2.1.2: 1000 | version "2.1.2" 1001 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 1002 | 1003 | yallist@^3.0.0, yallist@^3.0.2: 1004 | version "3.0.2" 1005 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" 1006 | --------------------------------------------------------------------------------