├── .eslintrc ├── .gitignore ├── .npmignore ├── .travis.yml ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── README.md ├── lex.config.js ├── package.json ├── src ├── actions │ └── AppActions │ │ ├── AppActions.test.ts │ │ └── AppActions.ts ├── app.css ├── components │ ├── Component │ │ ├── Component.test.tsx │ │ └── Component.tsx │ └── Icon │ │ ├── Icon.test.tsx │ │ ├── Icon.tsx │ │ └── icon.css ├── config │ └── index.ts ├── constants │ └── AppConstants.ts ├── errors │ └── UserError.ts ├── fonts │ └── readme.txt ├── icons │ ├── pencil.svg │ └── readme.txt ├── img │ ├── arkhamjs-logo.png │ └── readme.txt ├── index.html ├── index.tsx ├── services │ └── StringService │ │ ├── StringService.test.ts │ │ └── StringService.ts ├── stores │ └── AppStore │ │ ├── AppStore.test.ts │ │ └── AppStore.ts ├── types │ ├── components.ts │ └── config.ts └── views │ └── AppView │ ├── AppView.test.tsx │ ├── AppView.tsx │ └── appView.css ├── tsconfig.json └── yarn.lock /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "styleguidejs/typescript" 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Coverage directory used by tools like istanbul 7 | coverage 8 | 9 | # Dependency directories 10 | node_modules 11 | 12 | # Workspace 13 | .idea 14 | .DS_Store 15 | 16 | # Compiled 17 | dist 18 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | coverage 2 | dist 3 | docs 4 | node_modules 5 | .travis.yml 6 | package-lock.json 7 | yarn-error.log 8 | yarn.lock 9 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "10" 4 | before_install: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start 8 | install: 9 | - npm install -g yarn @nlabs/lex 10 | - lex versions 11 | - yarn 12 | script: 13 | - yarn build 14 | - yarn test 15 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": [ 3 | "dbaeumer.vscode-eslint", 4 | "ricard.postcss", 5 | "shinnn.stylelint", 6 | "streetsidesoftware.code-spell-checker", 7 | "bierner.markdown-preview-github-styles", 8 | "DavidAnson.vscode-markdownlint" 9 | ], 10 | "recommendations": [ 11 | "dbaeumer.vscode-eslint", 12 | "ricard.postcss", 13 | "shinnn.stylelint", 14 | "streetsidesoftware.code-spell-checker", 15 | "bierner.markdown-preview-github-styles", 16 | "DavidAnson.vscode-markdownlint", 17 | "rbbit.typescript-hero", 18 | "Equinusocio.vsc-material-theme", 19 | "PKief.material-icon-theme" 20 | ] 21 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "arkham", 4 | "arkhamjs", 5 | "nitrogenlabs", 6 | "nlabs", 7 | "transpiler" 8 | ], 9 | "css.validate": false, 10 | "editor.autoClosingBrackets": false, 11 | "editor.detectIndentation": false, 12 | "editor.formatOnSave": true, 13 | "editor.rulers": [ 14 | 120 15 | ], 16 | "editor.tabCompletion": true, 17 | "editor.tabSize": 2, 18 | "editor.wordWrap": "off", 19 | "editor.wordWrapColumn": 120, 20 | "editor.wrappingIndent": "indent", 21 | "emmet.includeLanguages": { 22 | "postcss": "css" 23 | }, 24 | "emmet.syntaxProfiles": { 25 | "postcss": "css" 26 | }, 27 | "eslint.autoFixOnSave": true, 28 | "eslint.packageManager": "yarn", 29 | "eslint.alwaysShowStatus": true, 30 | "eslint.enable": true, 31 | "eslint.validate": [ 32 | { 33 | "language": "javascript", 34 | "autoFix": true 35 | }, 36 | { 37 | "language": "javascriptreact", 38 | "autoFix": true 39 | }, 40 | { 41 | "language": "typescript", 42 | "autoFix": true 43 | }, 44 | { 45 | "language": "typescriptreact", 46 | "autoFix": true 47 | } 48 | ], 49 | "explorer.confirmDragAndDrop": false, 50 | "explorer.decorations.badges": false, 51 | "files.trimTrailingWhitespace": true, 52 | "flow.runOnAllFiles": true, 53 | "html.format.indentInnerHtml": true, 54 | "html.format.indentHandlebars": true, 55 | "html.format.extraLiners": "", 56 | "html.format.enable": false, 57 | "html.format.endWithNewline": true, 58 | "javascript.format.enable": false, 59 | "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, 60 | "javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": false, 61 | "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false, 62 | "javascript.validate.enable": false, 63 | "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": false, 64 | "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false, 65 | "typescriptHero.imports.insertSpaceBeforeAndAfterImportBraces": false, 66 | "typescriptHero.imports.multiLineTrailingComma": false, 67 | "typescriptHero.imports.multiLineWrapThreshold": 120, 68 | "typescriptHero.imports.organizeOnSave": true, 69 | "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, 70 | "tslint.enable": true, 71 | "tslint.packageManager": "yarn", 72 | "tslint.autoFixOnSave": true, 73 | "tslint.configFile": "./tslint.json" 74 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Nitrogen Labs 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 | # ArkhamJS React TypeScript Example 2 | 3 | A simple base application to start you off on your ReactJS project. Uses the following modules: 4 | - [arkhamjs](https://www.npmjs.com/package/arkhamjs) - A clean, simple Flux framework. 5 | - [react](https://www.npmjs.com/package/react) - A declarative, efficient, and flexible JavaScript library for building user interfaces. 6 | - [@nlabs/lex](https://www.npmjs.com/package/@nlabs/lex) - CLI tool to assist in development. Initialize, test, and compile your apps with zero setup. Using [Jest](https://facebook.github.io/jest/), [Webpack](https://webpack.js.org/), and [Typescript](http://www.typescriptlang.org/). 7 | - [@nlabs/arkhamjs-storage-browser](https://www.npmjs.com/package/@nlabs/arkhamjs-storage-browser) - ArkhamJS browser storage. Caches state in session or local storage. 8 | - [@nlabs/arkhamjs-middleware-logger](https://www.npmjs.com/package/@nlabs/arkhamjs-middleware-logger) - ArkhamJS console log middleware. 9 | 10 | [![Travis](https://img.shields.io/travis/nitrogenlabs/arkhamjs-example-react.svg?style=flat-square)](https://travis-ci.org/nitrogenlabs/arkhamjs-example-react) 11 | [![TypeScript](https://badges.frapsoft.com/typescript/version/typescript-next.svg?v=101)](https://github.com/ellerbrock/typescript-badges/) 12 | [![Issues](http://img.shields.io/github/issues/nitrogenlabs/arkhamjs-example-react.svg?style=flat-square)](https://github.com/nitrogenlabs/arkhamjs-example-react/issues) 13 | [![Gitter](https://img.shields.io/gitter/room/NitrgenLabs/arkhamjs.svg?style=flat-square)](https://gitter.im/NitrogenLabs/arkhamjs) 14 | [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://opensource.org/licenses/MIT) 15 | 16 | ## Getting Started 17 | 18 | --------------- 19 | 20 | - Clone the repo and install the necessary node modules: 21 | 22 | ```bash 23 | $ npm install -g yarn @nlabs/lex # Install Yarn and Lex 24 | $ yarn # Install Node modules listed in ./package.json (may take a while the first time) 25 | ``` 26 | 27 | ## Usage 28 | 29 | --------------- 30 | 31 | ### `yarn start` also `yarn development` 32 | 33 | Runs the webpack build system to compile scripts on the fly. Run local web server. The default webpack dev server can be found at `localhost:5000`. The port can be changed in the config. 34 | 35 | ### `yarn build` 36 | 37 | Compile your application and copy static files for a production environment. 38 | 39 | ### `yarn lint` 40 | 41 | Lint your app with tslint. 42 | 43 | ### `yarn test` 44 | 45 | Runs all unit tests within your app with Jest. 46 | 47 | ### `yarn production` 48 | 49 | Run tests and then, on success, compile your application for a production environment. 50 | 51 | ### `yarn dev` 52 | 53 | Compile your application for a development environment. Run local development web server. The default web server url is: `localhost:8080`. 54 | 55 | ## Configuration 56 | 57 | --------------- 58 | 59 | See [@nlabs/lex](https://www.npmjs.com/package/@nlabs/lex) for documentation on custom configuration. 60 | 61 | ## Structure 62 | 63 | --------------- 64 | 65 | The folder structure provided is only meant to serve as a guide, it is by no means prescriptive. It is something that has worked very well for me and my team, but use only what makes sense to you. 66 | 67 | ```bash 68 | . 69 | ├── coverage # Unit test coverage reports 70 | ├── dist # Compiled files 71 | ├── src # Application source code 72 | │ ├── actions # Flux actions 73 | │ ├── components # React components 74 | │ ├── config # App Configuration 75 | │ ├── constants # App constants 76 | │ ├── errors # Custom errors 77 | │ ├── fonts # Font files 78 | │ ├── icons # SVG files 79 | │ ├── img # Images 80 | │ ├── services # Helpers and utilities 81 | │ ├── stores # Redux store configuration 82 | │ ├── styles # SCSS styles 83 | │ ├── views # React components/views that live at a route 84 | │ └── app.tsx # Application bootstrap and rendering 85 | │ └── index.html # Initial HTML 86 | ``` 87 | 88 | ### Components vs. Views vs. Layouts 89 | 90 | **TL;DR:** They're all components. 91 | 92 | This distinction may not be important for you, but as an explanation: A **Layout** is something that describes an entire page structure, such as a fixed navigation, viewport, sidebar, and footer. Most applications will probably only have one layout, but keeping these components separate makes their intent clear. **Views** are components that live at routes, and are generally rendered within a **Layout**. What this ends up meaning is that, with this structure, nearly everything inside of **Components** ends up being a dumb component. 93 | 94 | ## Styles 95 | 96 | --------------- 97 | 98 | All `.css` imports will be run through postcss and cssnext, extracted and compiled during builds. CSS features included are nested classes and SASS-like variables. Styles must be imported either directly within the js file or via another stylesheet which has already been imported. 99 | 100 | ```js 101 | // JS 102 | import `./component.css`; 103 | ``` 104 | 105 | ## Testing 106 | 107 | --------------- 108 | 109 | To add a unit test, simply create a `*.test.ts` or `*.test.tsx` file within the `/src` directory. Jest will look for these for and test these files. 110 | 111 | ## Troubleshooting 112 | 113 | --------------- 114 | 115 | Nothing yet. Having an issue? Report it and We'll get to it as soon as possible! 116 | -------------------------------------------------------------------------------- /lex.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | useTypescript: true 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@nlabs/arkhamjs-example-ts-react", 3 | "version": "1.0.5", 4 | "description": "ArkhamJS React Typescript Example App", 5 | "license": "MIT", 6 | "keywords": [ 7 | "arkhamjs", 8 | "example", 9 | "nitrogenlabs", 10 | "react", 11 | "typescript", 12 | "skeleton", 13 | "lex" 14 | ], 15 | "author": { 16 | "name": "Giraldo Rosales", 17 | "email": "giraldo@nitrogenlabs.com", 18 | "url": "http://nitrogenlabs.com" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "nitrogenlabs/arkhamjs-example-ts-react" 23 | }, 24 | "homepage": "https://github.com/nitrogenlabs/arkhamjs-example-ts-react", 25 | "bugs": { 26 | "url": "https://github.com/nitrogenlabs/arkhamjs-example-ts-react/issues" 27 | }, 28 | "scripts": { 29 | "build": "lex build", 30 | "development": "lex dev", 31 | "lint": "eslint ./src --ext .ts,.tsx", 32 | "prepublishOnly": "yarn test", 33 | "production": "yarn test && yarn build", 34 | "reset": "lex clean && yarn", 35 | "start": "lex dev -o", 36 | "test": "lex test", 37 | "update": "lex update -i" 38 | }, 39 | "dependencies": { 40 | "@nlabs/arkhamjs-middleware-devtools": "^0.1.1", 41 | "@nlabs/arkhamjs-middleware-logger": "^1.0.3", 42 | "@nlabs/arkhamjs-storage-browser": "^1.0.7", 43 | "arkhamjs": "3.5.7", 44 | "bootstrap": "^4.1.0", 45 | "lodash": "^4.17.10", 46 | "react": "^16.4.1", 47 | "react-dom": "^16.4.1", 48 | "react-hot-loader": "^4.3.3" 49 | }, 50 | "devDependencies": { 51 | "@types/history": "^4.6.2", 52 | "@types/jest": "^23.1.3", 53 | "@types/node": "^10.5.1", 54 | "@types/react": "^16.4.5", 55 | "@types/react-dom": "^16.0.6", 56 | "eslint": "^5.0.1", 57 | "eslint-config-styleguidejs": "^0.7.5", 58 | "react-test-renderer": "^16.4.1", 59 | "typescript": "^2.9.2" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /src/actions/AppActions/AppActions.test.ts: -------------------------------------------------------------------------------- 1 | import {AppConstants} from '../../constants/AppConstants'; 2 | import {AppActions} from './AppActions'; 3 | 4 | describe('AppActions', () => { 5 | const content: string = 'test'; 6 | 7 | describe('#updateContent', () => { 8 | let action; 9 | 10 | beforeAll(async () => { 11 | // Method 12 | action = await AppActions.updateContent(content); 13 | }); 14 | 15 | it('should dispatch AppConstants.UPDATE_CONTENT', () => { 16 | expect(action.type).toBe(AppConstants.UPDATE_CONTENT); 17 | }); 18 | 19 | it('should contain content in action', () => { 20 | expect(action.content).toBe(content); 21 | }); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /src/actions/AppActions/AppActions.ts: -------------------------------------------------------------------------------- 1 | import {Flux, FluxAction} from 'arkhamjs'; 2 | 3 | import {AppConstants} from '../../constants/AppConstants'; 4 | 5 | export class AppActions { 6 | static updateContent(content: string): Promise { 7 | return Flux.dispatch({content, type: AppConstants.UPDATE_CONTENT}); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/app.css: -------------------------------------------------------------------------------- 1 | /* Base */ 2 | @import 'bootstrap/dist/css/bootstrap.css'; 3 | 4 | body, p, h1 { 5 | font-family: 'Open Sans', sans-serif; 6 | } -------------------------------------------------------------------------------- /src/components/Component/Component.test.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as renderer from 'react-test-renderer'; 3 | 4 | import {Component} from './Component'; 5 | 6 | describe('Component', () => { 7 | let componentInstance; 8 | let rendered; 9 | 10 | beforeAll(() => { 11 | rendered = renderer.create(); 12 | componentInstance = rendered.root.instance; 13 | }); 14 | 15 | it('should render', () => expect(rendered).toBeDefined()); 16 | 17 | it('#getStyles', () => { 18 | const styles = componentInstance.getStyles(); 19 | return expect(styles).toBe('test component'); 20 | }); 21 | 22 | it('#addStyles', () => { 23 | const styles = componentInstance.addStyles(); 24 | return expect(styles.length).toBe(0); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /src/components/Component/Component.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | import {ComponentProps} from '../../types/components'; 4 | 5 | export class Component

extends React.Component { 6 | static defaultProps: object = { 7 | className: '' 8 | }; 9 | 10 | readonly props: any; 11 | readonly name: string; 12 | 13 | 14 | constructor(props: ComponentProps, name: string) { 15 | super(props as any); 16 | 17 | // Component Name 18 | if(typeof name === 'string') { 19 | this.name = name; 20 | } else { 21 | this.name = 'component'; 22 | } 23 | 24 | // Methods 25 | this.addStyles = this.addStyles.bind(this); 26 | this.getStyles = this.getStyles.bind(this); 27 | } 28 | 29 | getStyles(): string { 30 | const {className = ''} = this.props; 31 | const styleClasses: string[] = className.split(' '); 32 | styleClasses.push(this.name); 33 | 34 | // Add additional classes 35 | return styleClasses 36 | .concat(this.addStyles()) 37 | .filter((style: string) => style !== '') 38 | .join(' ') 39 | .trim(); 40 | } 41 | 42 | addStyles(): string[] { 43 | return []; 44 | } 45 | 46 | render(): JSX.Element { 47 | return null; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/components/Icon/Icon.test.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as renderer from 'react-test-renderer'; 3 | import {Icon} from './Icon'; 4 | 5 | describe('Icon', () => { 6 | let rendered; 7 | 8 | beforeAll(() => { 9 | rendered = renderer.create(); 10 | }); 11 | 12 | it('should render', () => { 13 | return expect(rendered).toBeDefined(); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /src/components/Icon/Icon.tsx: -------------------------------------------------------------------------------- 1 | import './icon.css'; 2 | 3 | import * as React from 'react'; 4 | 5 | import {IconProps} from '../../types/components'; 6 | import {Component} from '../Component/Component'; 7 | 8 | export class Icon extends Component { 9 | static defaultProps: object = { 10 | ...Component.defaultProps, 11 | size: '' 12 | }; 13 | 14 | constructor(props) { 15 | super(props, 'icon'); 16 | } 17 | 18 | addStyles(): string[] { 19 | const styleClasses: string[] = []; 20 | const {size: propSize} = this.props; 21 | const size = propSize.toLowerCase(); 22 | 23 | if(size !== '') { 24 | styleClasses.push(`icon-${size}`); 25 | } 26 | 27 | return styleClasses; 28 | } 29 | 30 | render(): JSX.Element { 31 | const useTag: string = ``; 32 | return ; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/components/Icon/icon.css: -------------------------------------------------------------------------------- 1 | $icon-size-base: 16px; 2 | $icon-size-sm: 16px; 3 | $icon-size-md: 32px; 4 | $icon-size-lg: 64px; 5 | $icon-size-xl: 128px; 6 | $icon-size-xx: 256px; 7 | .icon { 8 | display: block; 9 | vertical-align: middle; 10 | background-color: transparent; 11 | width: $icon-size-base; 12 | height: $icon-size-base; 13 | color: inherit; 14 | fill: currentColor; 15 | 16 | & svg { 17 | width: 100%; 18 | height: 100%; 19 | fill: inherit; 20 | 21 | & symbol path { 22 | all: inherit; 23 | } 24 | } 25 | 26 | &.icon-sm { 27 | width: $icon-size-sm; 28 | height: $icon-size-sm; 29 | } 30 | 31 | &.icon-md { 32 | width: $icon-size-md; 33 | height: $icon-size-md; 34 | } 35 | 36 | &.icon-lg { 37 | width: $icon-size-lg; 38 | height: $icon-size-lg; 39 | } 40 | 41 | &.icon-xl { 42 | width: $icon-size-xl; 43 | height: $icon-size-xl; 44 | } 45 | 46 | &.icon-xx { 47 | width: $icon-size-xx; 48 | height: $icon-size-xx; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- 1 | import get from 'lodash/get'; 2 | import merge from 'lodash/merge'; 3 | 4 | import {EnvConfig} from '../types/config'; 5 | 6 | export class Config { 7 | static values: EnvConfig = { 8 | default: { 9 | appId: 'arkhamjs-skeleton', 10 | env: process.env.NODE_ENV 11 | }, 12 | development: { 13 | appName: 'Arkham Skeleton Development' 14 | }, 15 | preprod: { 16 | appName: 'Arkham Skeleton Pre-Production' 17 | }, 18 | production: { 19 | appName: 'Arkham Skeleton Production' 20 | }, 21 | test: { 22 | appName: 'Arkham Skeleton Test' 23 | } 24 | }; 25 | 26 | static get(path: string | string[]): any { 27 | const environment: string = process.env.NODE_ENV || 'development'; 28 | const configValues: object = merge(this.values.default, this.values[environment], {environment}); 29 | return get(configValues, path); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/constants/AppConstants.ts: -------------------------------------------------------------------------------- 1 | export class AppConstants { 2 | static readonly UPDATE_CONTENT: string = 'APP_UPDATE_CONTENT'; 3 | } 4 | -------------------------------------------------------------------------------- /src/errors/UserError.ts: -------------------------------------------------------------------------------- 1 | export class UserError extends Error { 2 | errors: string[]; 3 | 4 | constructor(msg: string, errors: string[] = []) { 5 | super(msg); 6 | this.errors = errors || []; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/fonts/readme.txt: -------------------------------------------------------------------------------- 1 | Any font files to be imported would be placed in the fonts directory. -------------------------------------------------------------------------------- /src/icons/pencil.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/icons/readme.txt: -------------------------------------------------------------------------------- 1 | Any SVG icons to be imported would be placed in the icons directory. They will be consolidated into one file, icons.svg. -------------------------------------------------------------------------------- /src/img/arkhamjs-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitrogenlabs/arkhamjs-example-ts-react/6bbecd65858b8fcca2ba5dc5599413881a6dbeb0/src/img/arkhamjs-logo.png -------------------------------------------------------------------------------- /src/img/readme.txt: -------------------------------------------------------------------------------- 1 | Any images to be imported would be placed in the img directory. -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ArkhamJS 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

16 | 17 | -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- 1 | import './app.css'; 2 | 3 | import * as React from 'react'; 4 | import * as ReactDOM from 'react-dom'; 5 | 6 | import {AppView} from './views/AppView/AppView'; 7 | 8 | const target = document.getElementById('app'); 9 | 10 | // Render initial ReactJS code 11 | ReactDOM.render(, target); 12 | -------------------------------------------------------------------------------- /src/services/StringService/StringService.test.ts: -------------------------------------------------------------------------------- 1 | import {StringService} from './StringService'; 2 | 3 | describe('StringService', () => { 4 | describe('.uppercaseWords', () => { 5 | it('should uppercase words', () => { 6 | const str = 'test string'; 7 | const expected = 'Test String'; 8 | return expect(StringService.uppercaseWords(str)).toBe(expected); 9 | }); 10 | }); 11 | 12 | describe('.capitalize', () => { 13 | it('should capitalize word', () => { 14 | const str = 'test'; 15 | const expected = 'Test'; 16 | return expect(StringService.capitalize(str)).toBe(expected); 17 | }); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /src/services/StringService/StringService.ts: -------------------------------------------------------------------------------- 1 | export class StringService { 2 | static uppercaseWords(str: string = ''): string { 3 | return (str || '').replace(/\w\S*/g, (txt: string) => StringService.capitalize(txt)); 4 | } 5 | 6 | static capitalize(str: string = ''): string { 7 | return `${str.charAt(0).toUpperCase()}${str.substr(1).toLowerCase()}`; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/stores/AppStore/AppStore.test.ts: -------------------------------------------------------------------------------- 1 | import {AppConstants} from '../../constants/AppConstants'; 2 | import {AppStore} from './AppStore'; 3 | 4 | describe('AppStore', () => { 5 | const store = new AppStore(); 6 | 7 | describe('#onAction', () => { 8 | it('should listen for AppConstants.UPDATE_CONTENT', () => { 9 | const state = store.initialState(); 10 | const content: string = 'test'; 11 | const updatedState: any = store.onAction(AppConstants.UPDATE_CONTENT, {content}, state); 12 | return expect(updatedState.content).toBe(content); 13 | }); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /src/stores/AppStore/AppStore.ts: -------------------------------------------------------------------------------- 1 | import {Store} from 'arkhamjs'; 2 | import set from 'lodash/set'; 3 | 4 | import {AppConstants} from '../../constants/AppConstants'; 5 | 6 | export class AppStore extends Store { 7 | constructor() { 8 | super('app'); 9 | } 10 | 11 | initialState(): object { 12 | return { 13 | content: 'Hello World' 14 | }; 15 | } 16 | 17 | onAction(type: string, data, state): object { 18 | switch(type) { 19 | case AppConstants.UPDATE_CONTENT: 20 | return set(state, 'content', data.content); 21 | default: 22 | return state; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/types/components.ts: -------------------------------------------------------------------------------- 1 | export interface ComponentProps { 2 | readonly className?: string; 3 | } 4 | 5 | export interface IconProps extends ComponentProps { 6 | readonly name: string; 7 | readonly size?: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/types/config.ts: -------------------------------------------------------------------------------- 1 | export interface AppConfig { 2 | readonly appId?: string; 3 | readonly appName?: string; 4 | readonly env?: string; 5 | } 6 | 7 | export interface EnvConfig { 8 | readonly default: AppConfig; 9 | readonly development: AppConfig; 10 | readonly preprod: AppConfig; 11 | readonly production: AppConfig; 12 | readonly test: AppConfig; 13 | } 14 | -------------------------------------------------------------------------------- /src/views/AppView/AppView.test.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as renderer from 'react-test-renderer'; 3 | 4 | import {AppView} from './AppView'; 5 | 6 | describe('AppView', () => { 7 | let rendered; 8 | 9 | beforeAll(() => { 10 | // Render 11 | rendered = renderer.create(); 12 | }); 13 | 14 | it('should render', () => expect(rendered).toBeDefined()); 15 | }); 16 | -------------------------------------------------------------------------------- /src/views/AppView/AppView.tsx: -------------------------------------------------------------------------------- 1 | import './appView.css'; 2 | 3 | import {Logger, LoggerDebugLevel} from '@nlabs/arkhamjs-middleware-logger'; 4 | import {BrowserStorage} from '@nlabs/arkhamjs-storage-browser'; 5 | import {Flux} from 'arkhamjs'; 6 | import * as React from 'react'; 7 | import {hot} from 'react-hot-loader'; 8 | 9 | import {AppActions} from '../../actions/AppActions/AppActions'; 10 | import {Icon} from '../../components/Icon/Icon'; 11 | import {Config} from '../../config'; 12 | import {AppConstants} from '../../constants/AppConstants'; 13 | import {StringService} from '../../services/StringService/StringService'; 14 | import {AppStore} from '../../stores/AppStore/AppStore'; 15 | 16 | export interface AppViewState { 17 | content: string; 18 | } 19 | 20 | export class AppViewBase extends React.Component<{}, AppViewState> { 21 | input: HTMLInputElement; 22 | 23 | constructor(props) { 24 | super(props); 25 | 26 | // Methods 27 | this.onUpdateContent = this.onUpdateContent.bind(this); 28 | this.updateContent = this.updateContent.bind(this); 29 | 30 | // ArkhamJS Middleware 31 | const env: string = Config.get('environment'); 32 | const logger: Logger = new Logger({ 33 | debugLevel: env === 'development' ? LoggerDebugLevel.DISPATCH : LoggerDebugLevel.DISABLED 34 | }); 35 | 36 | // ArkhamJS Configuration 37 | Flux.init({ 38 | middleware: [logger], 39 | name: 'arkhamExampleReact', 40 | storage: new BrowserStorage({type: 'session'}), 41 | stores: [AppStore] 42 | }); 43 | 44 | // Initial state 45 | this.state = { 46 | content: Flux.getState('app.content', '') 47 | }; 48 | } 49 | 50 | componentWillMount(): void { 51 | // Add listeners 52 | // When app initializes and gets any data from persistent storage 53 | Flux.onInit(this.onUpdateContent); 54 | 55 | // Listen for content updates 56 | Flux.on(AppConstants.UPDATE_CONTENT, this.onUpdateContent); 57 | } 58 | 59 | componentWillUnmount(): void { 60 | // Remove listeners 61 | Flux.offInit(this.onUpdateContent); 62 | Flux.off(AppConstants.UPDATE_CONTENT, this.onUpdateContent); 63 | } 64 | 65 | updateContent(): void { 66 | const {value} = this.input; 67 | AppActions.updateContent(value); 68 | } 69 | 70 | onUpdateContent(): void { 71 | const content: string = Flux.getState('app.content', ''); 72 | this.setState({content}); 73 | } 74 | 75 | render(): JSX.Element { 76 | return ( 77 |
78 |
79 |
80 |
81 | 82 | 83 | 84 |
85 |
{StringService.uppercaseWords(this.state.content)}
86 |
87 | this.input = ref} type="text" name="test" /> 88 | 92 |
93 |
94 |
95 |
96 | ); 97 | } 98 | } 99 | 100 | export const AppView = hot(module)(AppViewBase); 101 | -------------------------------------------------------------------------------- /src/views/AppView/appView.css: -------------------------------------------------------------------------------- 1 | .view-home { 2 | & .logo { 3 | display: flex; 4 | justify-content: center; 5 | margin-bottom: 100px; 6 | 7 | & .logoImg { 8 | width: 403px; 9 | height: 94px; 10 | } 11 | } 12 | & .helloTxt { 13 | text-align: center; 14 | font-size: 30px; 15 | font-style: italic; 16 | font-weight: 100; 17 | } 18 | 19 | & .form { 20 | display: flex; 21 | flex-direction: column; 22 | 23 | & input { 24 | align-self: stretch; 25 | border: 1px solid #ccc; 26 | padding: 10px 15px; 27 | margin: 30px 0; 28 | } 29 | 30 | & button { 31 | display: flex; 32 | align-self: flex-end; 33 | flex-direction: row; 34 | align-content: center; 35 | justify-content: center; 36 | 37 | & .btnIcon { 38 | align-self: center; 39 | margin-right: 5px; 40 | } 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowSyntheticDefaultImports": true, 4 | "baseUrl": "./src", 5 | "declaration": true, 6 | "emitDeclarationOnly": true, 7 | "esModuleInterop": true, 8 | "jsx": "react", 9 | "lib": [ 10 | "es6", 11 | "es7", 12 | "esnext", 13 | "dom" 14 | ], 15 | "module": "commonjs", 16 | "moduleResolution": "node", 17 | "noImplicitReturns": true, 18 | "noImplicitThis": true, 19 | "noStrictGenericChecks": true, 20 | "noUnusedLocals": true, 21 | "outDir": "./dist", 22 | "pretty": true, 23 | "skipLibCheck": true, 24 | "sourceMap": true, 25 | "target": "esnext", 26 | "typeRoots": [ 27 | "node_modules/@types", 28 | "node_modules/json-d-ts" 29 | ] 30 | }, 31 | "include": [ 32 | "./src/**/*" 33 | ], 34 | "exclude": [ 35 | "**/*.test.*", 36 | "./dist", 37 | "./node_modules", 38 | "./test" 39 | ] 40 | } -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@babel/code-frame@7.0.0-beta.44": 6 | version "7.0.0-beta.44" 7 | resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9" 8 | dependencies: 9 | "@babel/highlight" "7.0.0-beta.44" 10 | 11 | "@babel/generator@7.0.0-beta.44": 12 | version "7.0.0-beta.44" 13 | resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42" 14 | dependencies: 15 | "@babel/types" "7.0.0-beta.44" 16 | jsesc "^2.5.1" 17 | lodash "^4.2.0" 18 | source-map "^0.5.0" 19 | trim-right "^1.0.1" 20 | 21 | "@babel/helper-function-name@7.0.0-beta.44": 22 | version "7.0.0-beta.44" 23 | resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd" 24 | dependencies: 25 | "@babel/helper-get-function-arity" "7.0.0-beta.44" 26 | "@babel/template" "7.0.0-beta.44" 27 | "@babel/types" "7.0.0-beta.44" 28 | 29 | "@babel/helper-get-function-arity@7.0.0-beta.44": 30 | version "7.0.0-beta.44" 31 | resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15" 32 | dependencies: 33 | "@babel/types" "7.0.0-beta.44" 34 | 35 | "@babel/helper-split-export-declaration@7.0.0-beta.44": 36 | version "7.0.0-beta.44" 37 | resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc" 38 | dependencies: 39 | "@babel/types" "7.0.0-beta.44" 40 | 41 | "@babel/highlight@7.0.0-beta.44": 42 | version "7.0.0-beta.44" 43 | resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5" 44 | dependencies: 45 | chalk "^2.0.0" 46 | esutils "^2.0.2" 47 | js-tokens "^3.0.0" 48 | 49 | "@babel/template@7.0.0-beta.44": 50 | version "7.0.0-beta.44" 51 | resolved "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" 52 | dependencies: 53 | "@babel/code-frame" "7.0.0-beta.44" 54 | "@babel/types" "7.0.0-beta.44" 55 | babylon "7.0.0-beta.44" 56 | lodash "^4.2.0" 57 | 58 | "@babel/traverse@7.0.0-beta.44": 59 | version "7.0.0-beta.44" 60 | resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966" 61 | dependencies: 62 | "@babel/code-frame" "7.0.0-beta.44" 63 | "@babel/generator" "7.0.0-beta.44" 64 | "@babel/helper-function-name" "7.0.0-beta.44" 65 | "@babel/helper-split-export-declaration" "7.0.0-beta.44" 66 | "@babel/types" "7.0.0-beta.44" 67 | babylon "7.0.0-beta.44" 68 | debug "^3.1.0" 69 | globals "^11.1.0" 70 | invariant "^2.2.0" 71 | lodash "^4.2.0" 72 | 73 | "@babel/types@7.0.0-beta.44": 74 | version "7.0.0-beta.44" 75 | resolved "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757" 76 | dependencies: 77 | esutils "^2.0.2" 78 | lodash "^4.2.0" 79 | to-fast-properties "^2.0.0" 80 | 81 | "@nlabs/arkhamjs-middleware-devtools@^0.1.1": 82 | version "0.1.1" 83 | resolved "https://registry.npmjs.org/@nlabs/arkhamjs-middleware-devtools/-/arkhamjs-middleware-devtools-0.1.1.tgz#28595b2c0eff4fac9d61e1ab1c8776135cc4f2f8" 84 | 85 | "@nlabs/arkhamjs-middleware-logger@^1.0.3": 86 | version "1.0.3" 87 | resolved "https://registry.npmjs.org/@nlabs/arkhamjs-middleware-logger/-/arkhamjs-middleware-logger-1.0.3.tgz#442fe6d203301381a8e55ddb76b9723b9794b55b" 88 | dependencies: 89 | arkhamjs "^3.5.6" 90 | 91 | "@nlabs/arkhamjs-storage-browser@^1.0.7": 92 | version "1.0.7" 93 | resolved "https://registry.npmjs.org/@nlabs/arkhamjs-storage-browser/-/arkhamjs-storage-browser-1.0.7.tgz#e82062548d661742410f5c3fb277753c9ddac2b0" 94 | 95 | "@types/history@^4.6.2": 96 | version "4.6.2" 97 | resolved "https://registry.npmjs.org/@types/history/-/history-4.6.2.tgz#12cfaba693ba20f114ed5765467ff25fdf67ddb0" 98 | 99 | "@types/jest@^23.1.3": 100 | version "23.1.3" 101 | resolved "https://registry.npmjs.org/@types/jest/-/jest-23.1.3.tgz#4db19b2e7627dc254bbed5781b5609c621b5ad8e" 102 | 103 | "@types/node@*": 104 | version "10.3.4" 105 | resolved "https://registry.npmjs.org/@types/node/-/node-10.3.4.tgz#c74e8aec19e555df44609b8057311052a2c84d9e" 106 | 107 | "@types/node@^10.5.1": 108 | version "10.5.1" 109 | resolved "https://registry.npmjs.org/@types/node/-/node-10.5.1.tgz#d578446f4abff5c0b49ade9b4e5274f6badaadfc" 110 | 111 | "@types/react-dom@^16.0.6": 112 | version "16.0.6" 113 | resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.0.6.tgz#f1a65a4e7be8ed5d123f8b3b9eacc913e35a1a3c" 114 | dependencies: 115 | "@types/node" "*" 116 | "@types/react" "*" 117 | 118 | "@types/react@*": 119 | version "16.4.1" 120 | resolved "https://registry.npmjs.org/@types/react/-/react-16.4.1.tgz#c53bbfb4a78933db587da085ac60dbf5fcf73f8f" 121 | dependencies: 122 | csstype "^2.2.0" 123 | 124 | "@types/react@^16.4.5": 125 | version "16.4.5" 126 | resolved "https://registry.npmjs.org/@types/react/-/react-16.4.5.tgz#98a00fdd2c512ed5d7399d3f2660ce9d6152bce6" 127 | dependencies: 128 | csstype "^2.2.0" 129 | 130 | acorn-jsx@^4.1.1: 131 | version "4.1.1" 132 | resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-4.1.1.tgz#e8e41e48ea2fe0c896740610ab6a4ffd8add225e" 133 | dependencies: 134 | acorn "^5.0.3" 135 | 136 | acorn@^5.0.3, acorn@^5.6.0: 137 | version "5.7.1" 138 | resolved "https://registry.npmjs.org/acorn/-/acorn-5.7.1.tgz#f095829297706a7c9776958c0afc8930a9b9d9d8" 139 | 140 | ajv-keywords@^3.0.0: 141 | version "3.2.0" 142 | resolved "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" 143 | 144 | ajv@^6.0.1, ajv@^6.5.0: 145 | version "6.5.1" 146 | resolved "https://registry.npmjs.org/ajv/-/ajv-6.5.1.tgz#88ebc1263c7133937d108b80c5572e64e1d9322d" 147 | dependencies: 148 | fast-deep-equal "^2.0.1" 149 | fast-json-stable-stringify "^2.0.0" 150 | json-schema-traverse "^0.4.1" 151 | uri-js "^4.2.1" 152 | 153 | ansi-escapes@^3.0.0: 154 | version "3.1.0" 155 | resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" 156 | 157 | ansi-regex@^2.0.0: 158 | version "2.1.1" 159 | resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 160 | 161 | ansi-regex@^3.0.0: 162 | version "3.0.0" 163 | resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 164 | 165 | ansi-styles@^2.2.1: 166 | version "2.2.1" 167 | resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 168 | 169 | ansi-styles@^3.2.1: 170 | version "3.2.1" 171 | resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" 172 | dependencies: 173 | color-convert "^1.9.0" 174 | 175 | argparse@^1.0.7: 176 | version "1.0.10" 177 | resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" 178 | dependencies: 179 | sprintf-js "~1.0.2" 180 | 181 | arkhamjs@3.5.7: 182 | version "3.5.7" 183 | resolved "https://registry.npmjs.org/arkhamjs/-/arkhamjs-3.5.7.tgz#802b46cc8d469a1384d662eba56ff60d844cad70" 184 | dependencies: 185 | error-stack-parser "^2.0.2" 186 | lodash "^4.17.5" 187 | 188 | arkhamjs@^3.5.6: 189 | version "3.5.6" 190 | resolved "https://registry.npmjs.org/arkhamjs/-/arkhamjs-3.5.6.tgz#bedbe389db570bd332c1a0b4347ac54c4daee832" 191 | dependencies: 192 | error-stack-parser "^2.0.2" 193 | lodash "^4.17.5" 194 | 195 | array-includes@^3.0.3: 196 | version "3.0.3" 197 | resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" 198 | dependencies: 199 | define-properties "^1.1.2" 200 | es-abstract "^1.7.0" 201 | 202 | array-union@^1.0.1: 203 | version "1.0.2" 204 | resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 205 | dependencies: 206 | array-uniq "^1.0.1" 207 | 208 | array-uniq@^1.0.1: 209 | version "1.0.3" 210 | resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 211 | 212 | arrify@^1.0.0: 213 | version "1.0.1" 214 | resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 215 | 216 | asap@~2.0.3: 217 | version "2.0.6" 218 | resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" 219 | 220 | babel-code-frame@^6.26.0: 221 | version "6.26.0" 222 | resolved "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 223 | dependencies: 224 | chalk "^1.1.3" 225 | esutils "^2.0.2" 226 | js-tokens "^3.0.2" 227 | 228 | babel-eslint@^8.2.3: 229 | version "8.2.3" 230 | resolved "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.3.tgz#1a2e6681cc9bc4473c32899e59915e19cd6733cf" 231 | dependencies: 232 | "@babel/code-frame" "7.0.0-beta.44" 233 | "@babel/traverse" "7.0.0-beta.44" 234 | "@babel/types" "7.0.0-beta.44" 235 | babylon "7.0.0-beta.44" 236 | eslint-scope "~3.7.1" 237 | eslint-visitor-keys "^1.0.0" 238 | 239 | babylon@7.0.0-beta.44: 240 | version "7.0.0-beta.44" 241 | resolved "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d" 242 | 243 | balanced-match@^1.0.0: 244 | version "1.0.0" 245 | resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 246 | 247 | bootstrap@^4.1.0: 248 | version "4.1.1" 249 | resolved "https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.1.tgz#3aec85000fa619085da8d2e4983dfd67cf2114cb" 250 | 251 | brace-expansion@^1.1.7: 252 | version "1.1.11" 253 | resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 254 | dependencies: 255 | balanced-match "^1.0.0" 256 | concat-map "0.0.1" 257 | 258 | builtin-modules@^1.0.0: 259 | version "1.1.1" 260 | resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 261 | 262 | caller-path@^0.1.0: 263 | version "0.1.0" 264 | resolved "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" 265 | dependencies: 266 | callsites "^0.2.0" 267 | 268 | callsites@^0.2.0: 269 | version "0.2.0" 270 | resolved "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 271 | 272 | chalk@^1.1.3: 273 | version "1.1.3" 274 | resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 275 | dependencies: 276 | ansi-styles "^2.2.1" 277 | escape-string-regexp "^1.0.2" 278 | has-ansi "^2.0.0" 279 | strip-ansi "^3.0.0" 280 | supports-color "^2.0.0" 281 | 282 | chalk@^2.0.0, chalk@^2.1.0: 283 | version "2.4.1" 284 | resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" 285 | dependencies: 286 | ansi-styles "^3.2.1" 287 | escape-string-regexp "^1.0.5" 288 | supports-color "^5.3.0" 289 | 290 | chardet@^0.4.0: 291 | version "0.4.2" 292 | resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" 293 | 294 | circular-json@^0.3.1: 295 | version "0.3.3" 296 | resolved "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" 297 | 298 | cli-cursor@^2.1.0: 299 | version "2.1.0" 300 | resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" 301 | dependencies: 302 | restore-cursor "^2.0.0" 303 | 304 | cli-width@^2.0.0: 305 | version "2.2.0" 306 | resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" 307 | 308 | color-convert@^1.9.0: 309 | version "1.9.2" 310 | resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147" 311 | dependencies: 312 | color-name "1.1.1" 313 | 314 | color-name@1.1.1: 315 | version "1.1.1" 316 | resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689" 317 | 318 | concat-map@0.0.1: 319 | version "0.0.1" 320 | resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 321 | 322 | contains-path@^0.1.0: 323 | version "0.1.0" 324 | resolved "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" 325 | 326 | core-js@^1.0.0: 327 | version "1.2.7" 328 | resolved "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" 329 | 330 | cross-spawn@^6.0.5: 331 | version "6.0.5" 332 | resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" 333 | dependencies: 334 | nice-try "^1.0.4" 335 | path-key "^2.0.1" 336 | semver "^5.5.0" 337 | shebang-command "^1.2.0" 338 | which "^1.2.9" 339 | 340 | csstype@^2.2.0: 341 | version "2.5.5" 342 | resolved "https://registry.npmjs.org/csstype/-/csstype-2.5.5.tgz#4125484a3d42189a863943f23b9e4b80fedfa106" 343 | 344 | debug@^2.6.8, debug@^2.6.9: 345 | version "2.6.9" 346 | resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 347 | dependencies: 348 | ms "2.0.0" 349 | 350 | debug@^3.1.0: 351 | version "3.1.0" 352 | resolved "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 353 | dependencies: 354 | ms "2.0.0" 355 | 356 | deep-is@~0.1.3: 357 | version "0.1.3" 358 | resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 359 | 360 | define-properties@^1.1.2: 361 | version "1.1.2" 362 | resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" 363 | dependencies: 364 | foreach "^2.0.5" 365 | object-keys "^1.0.8" 366 | 367 | del@^2.0.2: 368 | version "2.2.2" 369 | resolved "https://registry.npmjs.org/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 370 | dependencies: 371 | globby "^5.0.0" 372 | is-path-cwd "^1.0.0" 373 | is-path-in-cwd "^1.0.0" 374 | object-assign "^4.0.1" 375 | pify "^2.0.0" 376 | pinkie-promise "^2.0.0" 377 | rimraf "^2.2.8" 378 | 379 | doctrine@1.5.0: 380 | version "1.5.0" 381 | resolved "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" 382 | dependencies: 383 | esutils "^2.0.2" 384 | isarray "^1.0.0" 385 | 386 | doctrine@^2.1.0: 387 | version "2.1.0" 388 | resolved "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" 389 | dependencies: 390 | esutils "^2.0.2" 391 | 392 | dom-walk@^0.1.0: 393 | version "0.1.1" 394 | resolved "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" 395 | 396 | encoding@^0.1.11: 397 | version "0.1.12" 398 | resolved "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" 399 | dependencies: 400 | iconv-lite "~0.4.13" 401 | 402 | error-ex@^1.2.0: 403 | version "1.3.2" 404 | resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" 405 | dependencies: 406 | is-arrayish "^0.2.1" 407 | 408 | error-stack-parser@^2.0.2: 409 | version "2.0.2" 410 | resolved "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.2.tgz#4ae8dbaa2bf90a8b450707b9149dcabca135520d" 411 | dependencies: 412 | stackframe "^1.0.4" 413 | 414 | es-abstract@^1.10.0, es-abstract@^1.7.0: 415 | version "1.12.0" 416 | resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165" 417 | dependencies: 418 | es-to-primitive "^1.1.1" 419 | function-bind "^1.1.1" 420 | has "^1.0.1" 421 | is-callable "^1.1.3" 422 | is-regex "^1.0.4" 423 | 424 | es-to-primitive@^1.1.1: 425 | version "1.1.1" 426 | resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" 427 | dependencies: 428 | is-callable "^1.1.1" 429 | is-date-object "^1.0.1" 430 | is-symbol "^1.0.1" 431 | 432 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 433 | version "1.0.5" 434 | resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 435 | 436 | eslint-config-styleguidejs@^0.7.5: 437 | version "0.7.5" 438 | resolved "https://registry.npmjs.org/eslint-config-styleguidejs/-/eslint-config-styleguidejs-0.7.5.tgz#e306bd2ae785b3f398dcca3f47da4a00d6994356" 439 | dependencies: 440 | babel-eslint "^8.2.3" 441 | eslint-plugin-babel "^5.1.0" 442 | eslint-plugin-flowtype "^2.49.3" 443 | eslint-plugin-import "^2.12.0" 444 | eslint-plugin-jest "^21.17.0" 445 | eslint-plugin-react "^7.9.1" 446 | eslint-plugin-react-native "^3.2.1" 447 | eslint-plugin-typescript "^0.12.0" 448 | typescript-eslint-parser "^16.0.0" 449 | 450 | eslint-import-resolver-node@^0.3.1: 451 | version "0.3.2" 452 | resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" 453 | dependencies: 454 | debug "^2.6.9" 455 | resolve "^1.5.0" 456 | 457 | eslint-module-utils@^2.2.0: 458 | version "2.2.0" 459 | resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz#b270362cd88b1a48ad308976ce7fa54e98411746" 460 | dependencies: 461 | debug "^2.6.8" 462 | pkg-dir "^1.0.0" 463 | 464 | eslint-plugin-babel@^5.1.0: 465 | version "5.1.0" 466 | resolved "https://registry.npmjs.org/eslint-plugin-babel/-/eslint-plugin-babel-5.1.0.tgz#9c76e476162041e50b6ba69aa4eae3bdd6a4e1c3" 467 | dependencies: 468 | eslint-rule-composer "^0.3.0" 469 | 470 | eslint-plugin-flowtype@^2.49.3: 471 | version "2.49.3" 472 | resolved "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.49.3.tgz#ccca6ee5ba2027eb3ed36bc2ec8c9a842feee841" 473 | dependencies: 474 | lodash "^4.17.10" 475 | 476 | eslint-plugin-import@^2.12.0: 477 | version "2.12.0" 478 | resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.12.0.tgz#dad31781292d6664b25317fd049d2e2b2f02205d" 479 | dependencies: 480 | contains-path "^0.1.0" 481 | debug "^2.6.8" 482 | doctrine "1.5.0" 483 | eslint-import-resolver-node "^0.3.1" 484 | eslint-module-utils "^2.2.0" 485 | has "^1.0.1" 486 | lodash "^4.17.4" 487 | minimatch "^3.0.3" 488 | read-pkg-up "^2.0.0" 489 | resolve "^1.6.0" 490 | 491 | eslint-plugin-jest@^21.17.0: 492 | version "21.17.0" 493 | resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.17.0.tgz#fdb00e2f9ff16987d6ebcf2c75c7add105760bbb" 494 | 495 | eslint-plugin-react-native-globals@^0.1.1: 496 | version "0.1.2" 497 | resolved "https://registry.npmjs.org/eslint-plugin-react-native-globals/-/eslint-plugin-react-native-globals-0.1.2.tgz#ee1348bc2ceb912303ce6bdbd22e2f045ea86ea2" 498 | 499 | eslint-plugin-react-native@^3.2.1: 500 | version "3.2.1" 501 | resolved "https://registry.npmjs.org/eslint-plugin-react-native/-/eslint-plugin-react-native-3.2.1.tgz#04fcadd3285b7cd2f27146e640c941b00acc4e7e" 502 | dependencies: 503 | eslint-plugin-react-native-globals "^0.1.1" 504 | 505 | eslint-plugin-react@^7.9.1: 506 | version "7.9.1" 507 | resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.9.1.tgz#101aadd15e7c7b431ed025303ac7b421a8e3dc15" 508 | dependencies: 509 | doctrine "^2.1.0" 510 | has "^1.0.2" 511 | jsx-ast-utils "^2.0.1" 512 | prop-types "^15.6.1" 513 | 514 | eslint-plugin-typescript@^0.12.0: 515 | version "0.12.0" 516 | resolved "https://registry.npmjs.org/eslint-plugin-typescript/-/eslint-plugin-typescript-0.12.0.tgz#e23d58cb27fe28e89fc641a1f20e8d862cb99aef" 517 | dependencies: 518 | requireindex "~1.1.0" 519 | 520 | eslint-rule-composer@^0.3.0: 521 | version "0.3.0" 522 | resolved "https://registry.npmjs.org/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" 523 | 524 | eslint-scope@^4.0.0: 525 | version "4.0.0" 526 | resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz#50bf3071e9338bcdc43331794a0cb533f0136172" 527 | dependencies: 528 | esrecurse "^4.1.0" 529 | estraverse "^4.1.1" 530 | 531 | eslint-scope@~3.7.1: 532 | version "3.7.1" 533 | resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" 534 | dependencies: 535 | esrecurse "^4.1.0" 536 | estraverse "^4.1.1" 537 | 538 | eslint-visitor-keys@^1.0.0: 539 | version "1.0.0" 540 | resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" 541 | 542 | eslint@^5.0.1: 543 | version "5.0.1" 544 | resolved "https://registry.npmjs.org/eslint/-/eslint-5.0.1.tgz#109b90ab7f7a736f54e0f341c8bb9d09777494c3" 545 | dependencies: 546 | ajv "^6.5.0" 547 | babel-code-frame "^6.26.0" 548 | chalk "^2.1.0" 549 | cross-spawn "^6.0.5" 550 | debug "^3.1.0" 551 | doctrine "^2.1.0" 552 | eslint-scope "^4.0.0" 553 | eslint-visitor-keys "^1.0.0" 554 | espree "^4.0.0" 555 | esquery "^1.0.1" 556 | esutils "^2.0.2" 557 | file-entry-cache "^2.0.0" 558 | functional-red-black-tree "^1.0.1" 559 | glob "^7.1.2" 560 | globals "^11.5.0" 561 | ignore "^3.3.3" 562 | imurmurhash "^0.1.4" 563 | inquirer "^5.2.0" 564 | is-resolvable "^1.1.0" 565 | js-yaml "^3.11.0" 566 | json-stable-stringify-without-jsonify "^1.0.1" 567 | levn "^0.3.0" 568 | lodash "^4.17.5" 569 | minimatch "^3.0.4" 570 | mkdirp "^0.5.1" 571 | natural-compare "^1.4.0" 572 | optionator "^0.8.2" 573 | path-is-inside "^1.0.2" 574 | pluralize "^7.0.0" 575 | progress "^2.0.0" 576 | regexpp "^1.1.0" 577 | require-uncached "^1.0.3" 578 | semver "^5.5.0" 579 | string.prototype.matchall "^2.0.0" 580 | strip-ansi "^4.0.0" 581 | strip-json-comments "^2.0.1" 582 | table "^4.0.3" 583 | text-table "^0.2.0" 584 | 585 | espree@^4.0.0: 586 | version "4.0.0" 587 | resolved "https://registry.npmjs.org/espree/-/espree-4.0.0.tgz#253998f20a0f82db5d866385799d912a83a36634" 588 | dependencies: 589 | acorn "^5.6.0" 590 | acorn-jsx "^4.1.1" 591 | 592 | esprima@^4.0.0: 593 | version "4.0.0" 594 | resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 595 | 596 | esquery@^1.0.1: 597 | version "1.0.1" 598 | resolved "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" 599 | dependencies: 600 | estraverse "^4.0.0" 601 | 602 | esrecurse@^4.1.0: 603 | version "4.2.1" 604 | resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" 605 | dependencies: 606 | estraverse "^4.1.0" 607 | 608 | estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: 609 | version "4.2.0" 610 | resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 611 | 612 | esutils@^2.0.2: 613 | version "2.0.2" 614 | resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 615 | 616 | external-editor@^2.1.0: 617 | version "2.2.0" 618 | resolved "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" 619 | dependencies: 620 | chardet "^0.4.0" 621 | iconv-lite "^0.4.17" 622 | tmp "^0.0.33" 623 | 624 | fast-deep-equal@^2.0.1: 625 | version "2.0.1" 626 | resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" 627 | 628 | fast-json-stable-stringify@^2.0.0: 629 | version "2.0.0" 630 | resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 631 | 632 | fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.4: 633 | version "2.0.6" 634 | resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 635 | 636 | fbjs@^0.8.16: 637 | version "0.8.17" 638 | resolved "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" 639 | dependencies: 640 | core-js "^1.0.0" 641 | isomorphic-fetch "^2.1.1" 642 | loose-envify "^1.0.0" 643 | object-assign "^4.1.0" 644 | promise "^7.1.1" 645 | setimmediate "^1.0.5" 646 | ua-parser-js "^0.7.18" 647 | 648 | figures@^2.0.0: 649 | version "2.0.0" 650 | resolved "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" 651 | dependencies: 652 | escape-string-regexp "^1.0.5" 653 | 654 | file-entry-cache@^2.0.0: 655 | version "2.0.0" 656 | resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" 657 | dependencies: 658 | flat-cache "^1.2.1" 659 | object-assign "^4.0.1" 660 | 661 | find-up@^1.0.0: 662 | version "1.1.2" 663 | resolved "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 664 | dependencies: 665 | path-exists "^2.0.0" 666 | pinkie-promise "^2.0.0" 667 | 668 | find-up@^2.0.0: 669 | version "2.1.0" 670 | resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 671 | dependencies: 672 | locate-path "^2.0.0" 673 | 674 | flat-cache@^1.2.1: 675 | version "1.3.0" 676 | resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" 677 | dependencies: 678 | circular-json "^0.3.1" 679 | del "^2.0.2" 680 | graceful-fs "^4.1.2" 681 | write "^0.2.1" 682 | 683 | foreach@^2.0.5: 684 | version "2.0.5" 685 | resolved "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" 686 | 687 | fs.realpath@^1.0.0: 688 | version "1.0.0" 689 | resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 690 | 691 | function-bind@^1.1.1: 692 | version "1.1.1" 693 | resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 694 | 695 | functional-red-black-tree@^1.0.1: 696 | version "1.0.1" 697 | resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" 698 | 699 | glob@^7.0.3, glob@^7.0.5, glob@^7.1.2: 700 | version "7.1.2" 701 | resolved "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 702 | dependencies: 703 | fs.realpath "^1.0.0" 704 | inflight "^1.0.4" 705 | inherits "2" 706 | minimatch "^3.0.4" 707 | once "^1.3.0" 708 | path-is-absolute "^1.0.0" 709 | 710 | global@^4.3.0: 711 | version "4.3.2" 712 | resolved "https://registry.npmjs.org/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" 713 | dependencies: 714 | min-document "^2.19.0" 715 | process "~0.5.1" 716 | 717 | globals@^11.1.0, globals@^11.5.0: 718 | version "11.7.0" 719 | resolved "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673" 720 | 721 | globby@^5.0.0: 722 | version "5.0.0" 723 | resolved "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 724 | dependencies: 725 | array-union "^1.0.1" 726 | arrify "^1.0.0" 727 | glob "^7.0.3" 728 | object-assign "^4.0.1" 729 | pify "^2.0.0" 730 | pinkie-promise "^2.0.0" 731 | 732 | graceful-fs@^4.1.2: 733 | version "4.1.11" 734 | resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 735 | 736 | has-ansi@^2.0.0: 737 | version "2.0.0" 738 | resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 739 | dependencies: 740 | ansi-regex "^2.0.0" 741 | 742 | has-flag@^3.0.0: 743 | version "3.0.0" 744 | resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 745 | 746 | has-symbols@^1.0.0: 747 | version "1.0.0" 748 | resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" 749 | 750 | has@^1.0.1, has@^1.0.2: 751 | version "1.0.3" 752 | resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" 753 | dependencies: 754 | function-bind "^1.1.1" 755 | 756 | hoist-non-react-statics@^2.5.0: 757 | version "2.5.5" 758 | resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" 759 | 760 | hosted-git-info@^2.1.4: 761 | version "2.6.0" 762 | resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz#23235b29ab230c576aab0d4f13fc046b0b038222" 763 | 764 | iconv-lite@^0.4.17, iconv-lite@~0.4.13: 765 | version "0.4.23" 766 | resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" 767 | dependencies: 768 | safer-buffer ">= 2.1.2 < 3" 769 | 770 | ignore@^3.3.3: 771 | version "3.3.10" 772 | resolved "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" 773 | 774 | imurmurhash@^0.1.4: 775 | version "0.1.4" 776 | resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 777 | 778 | inflight@^1.0.4: 779 | version "1.0.6" 780 | resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 781 | dependencies: 782 | once "^1.3.0" 783 | wrappy "1" 784 | 785 | inherits@2: 786 | version "2.0.3" 787 | resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 788 | 789 | inquirer@^5.2.0: 790 | version "5.2.0" 791 | resolved "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz#db350c2b73daca77ff1243962e9f22f099685726" 792 | dependencies: 793 | ansi-escapes "^3.0.0" 794 | chalk "^2.0.0" 795 | cli-cursor "^2.1.0" 796 | cli-width "^2.0.0" 797 | external-editor "^2.1.0" 798 | figures "^2.0.0" 799 | lodash "^4.3.0" 800 | mute-stream "0.0.7" 801 | run-async "^2.2.0" 802 | rxjs "^5.5.2" 803 | string-width "^2.1.0" 804 | strip-ansi "^4.0.0" 805 | through "^2.3.6" 806 | 807 | invariant@^2.2.0: 808 | version "2.2.4" 809 | resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" 810 | dependencies: 811 | loose-envify "^1.0.0" 812 | 813 | is-arrayish@^0.2.1: 814 | version "0.2.1" 815 | resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 816 | 817 | is-builtin-module@^1.0.0: 818 | version "1.0.0" 819 | resolved "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 820 | dependencies: 821 | builtin-modules "^1.0.0" 822 | 823 | is-callable@^1.1.1, is-callable@^1.1.3: 824 | version "1.1.3" 825 | resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" 826 | 827 | is-date-object@^1.0.1: 828 | version "1.0.1" 829 | resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" 830 | 831 | is-fullwidth-code-point@^2.0.0: 832 | version "2.0.0" 833 | resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 834 | 835 | is-path-cwd@^1.0.0: 836 | version "1.0.0" 837 | resolved "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 838 | 839 | is-path-in-cwd@^1.0.0: 840 | version "1.0.1" 841 | resolved "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" 842 | dependencies: 843 | is-path-inside "^1.0.0" 844 | 845 | is-path-inside@^1.0.0: 846 | version "1.0.1" 847 | resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" 848 | dependencies: 849 | path-is-inside "^1.0.1" 850 | 851 | is-promise@^2.1.0: 852 | version "2.1.0" 853 | resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 854 | 855 | is-regex@^1.0.4: 856 | version "1.0.4" 857 | resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" 858 | dependencies: 859 | has "^1.0.1" 860 | 861 | is-resolvable@^1.1.0: 862 | version "1.1.0" 863 | resolved "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" 864 | 865 | is-stream@^1.0.1: 866 | version "1.1.0" 867 | resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 868 | 869 | is-symbol@^1.0.1: 870 | version "1.0.1" 871 | resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" 872 | 873 | isarray@^1.0.0: 874 | version "1.0.0" 875 | resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 876 | 877 | isexe@^2.0.0: 878 | version "2.0.0" 879 | resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 880 | 881 | isomorphic-fetch@^2.1.1: 882 | version "2.2.1" 883 | resolved "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" 884 | dependencies: 885 | node-fetch "^1.0.1" 886 | whatwg-fetch ">=0.10.0" 887 | 888 | js-tokens@^3.0.0, js-tokens@^3.0.2: 889 | version "3.0.2" 890 | resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 891 | 892 | js-yaml@^3.11.0: 893 | version "3.12.0" 894 | resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" 895 | dependencies: 896 | argparse "^1.0.7" 897 | esprima "^4.0.0" 898 | 899 | jsesc@^2.5.1: 900 | version "2.5.1" 901 | resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz#e421a2a8e20d6b0819df28908f782526b96dd1fe" 902 | 903 | json-schema-traverse@^0.4.1: 904 | version "0.4.1" 905 | resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 906 | 907 | json-stable-stringify-without-jsonify@^1.0.1: 908 | version "1.0.1" 909 | resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" 910 | 911 | jsx-ast-utils@^2.0.1: 912 | version "2.0.1" 913 | resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f" 914 | dependencies: 915 | array-includes "^3.0.3" 916 | 917 | levn@^0.3.0, levn@~0.3.0: 918 | version "0.3.0" 919 | resolved "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 920 | dependencies: 921 | prelude-ls "~1.1.2" 922 | type-check "~0.3.2" 923 | 924 | load-json-file@^2.0.0: 925 | version "2.0.0" 926 | resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" 927 | dependencies: 928 | graceful-fs "^4.1.2" 929 | parse-json "^2.2.0" 930 | pify "^2.0.0" 931 | strip-bom "^3.0.0" 932 | 933 | locate-path@^2.0.0: 934 | version "2.0.0" 935 | resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 936 | dependencies: 937 | p-locate "^2.0.0" 938 | path-exists "^3.0.0" 939 | 940 | lodash.unescape@4.0.1: 941 | version "4.0.1" 942 | resolved "https://registry.npmjs.org/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" 943 | 944 | lodash@^4.17.10, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0: 945 | version "4.17.10" 946 | resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" 947 | 948 | loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: 949 | version "1.3.1" 950 | resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 951 | dependencies: 952 | js-tokens "^3.0.0" 953 | 954 | mimic-fn@^1.0.0: 955 | version "1.2.0" 956 | resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" 957 | 958 | min-document@^2.19.0: 959 | version "2.19.0" 960 | resolved "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" 961 | dependencies: 962 | dom-walk "^0.1.0" 963 | 964 | minimatch@^3.0.3, minimatch@^3.0.4: 965 | version "3.0.4" 966 | resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 967 | dependencies: 968 | brace-expansion "^1.1.7" 969 | 970 | minimist@0.0.8: 971 | version "0.0.8" 972 | resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 973 | 974 | mkdirp@^0.5.1: 975 | version "0.5.1" 976 | resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 977 | dependencies: 978 | minimist "0.0.8" 979 | 980 | ms@2.0.0: 981 | version "2.0.0" 982 | resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 983 | 984 | mute-stream@0.0.7: 985 | version "0.0.7" 986 | resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 987 | 988 | natural-compare@^1.4.0: 989 | version "1.4.0" 990 | resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 991 | 992 | nice-try@^1.0.4: 993 | version "1.0.4" 994 | resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4" 995 | 996 | node-fetch@^1.0.1: 997 | version "1.7.3" 998 | resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" 999 | dependencies: 1000 | encoding "^0.1.11" 1001 | is-stream "^1.0.1" 1002 | 1003 | normalize-package-data@^2.3.2: 1004 | version "2.4.0" 1005 | resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" 1006 | dependencies: 1007 | hosted-git-info "^2.1.4" 1008 | is-builtin-module "^1.0.0" 1009 | semver "2 || 3 || 4 || 5" 1010 | validate-npm-package-license "^3.0.1" 1011 | 1012 | object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: 1013 | version "4.1.1" 1014 | resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1015 | 1016 | object-keys@^1.0.8: 1017 | version "1.0.12" 1018 | resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz#09c53855377575310cca62f55bb334abff7b3ed2" 1019 | 1020 | once@^1.3.0: 1021 | version "1.4.0" 1022 | resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1023 | dependencies: 1024 | wrappy "1" 1025 | 1026 | onetime@^2.0.0: 1027 | version "2.0.1" 1028 | resolved "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" 1029 | dependencies: 1030 | mimic-fn "^1.0.0" 1031 | 1032 | optionator@^0.8.2: 1033 | version "0.8.2" 1034 | resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 1035 | dependencies: 1036 | deep-is "~0.1.3" 1037 | fast-levenshtein "~2.0.4" 1038 | levn "~0.3.0" 1039 | prelude-ls "~1.1.2" 1040 | type-check "~0.3.2" 1041 | wordwrap "~1.0.0" 1042 | 1043 | os-tmpdir@~1.0.2: 1044 | version "1.0.2" 1045 | resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1046 | 1047 | p-limit@^1.1.0: 1048 | version "1.3.0" 1049 | resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" 1050 | dependencies: 1051 | p-try "^1.0.0" 1052 | 1053 | p-locate@^2.0.0: 1054 | version "2.0.0" 1055 | resolved "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 1056 | dependencies: 1057 | p-limit "^1.1.0" 1058 | 1059 | p-try@^1.0.0: 1060 | version "1.0.0" 1061 | resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" 1062 | 1063 | parse-json@^2.2.0: 1064 | version "2.2.0" 1065 | resolved "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 1066 | dependencies: 1067 | error-ex "^1.2.0" 1068 | 1069 | path-exists@^2.0.0: 1070 | version "2.1.0" 1071 | resolved "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 1072 | dependencies: 1073 | pinkie-promise "^2.0.0" 1074 | 1075 | path-exists@^3.0.0: 1076 | version "3.0.0" 1077 | resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 1078 | 1079 | path-is-absolute@^1.0.0: 1080 | version "1.0.1" 1081 | resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1082 | 1083 | path-is-inside@^1.0.1, path-is-inside@^1.0.2: 1084 | version "1.0.2" 1085 | resolved "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 1086 | 1087 | path-key@^2.0.1: 1088 | version "2.0.1" 1089 | resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 1090 | 1091 | path-parse@^1.0.5: 1092 | version "1.0.5" 1093 | resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 1094 | 1095 | path-type@^2.0.0: 1096 | version "2.0.0" 1097 | resolved "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" 1098 | dependencies: 1099 | pify "^2.0.0" 1100 | 1101 | pify@^2.0.0: 1102 | version "2.3.0" 1103 | resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1104 | 1105 | pinkie-promise@^2.0.0: 1106 | version "2.0.1" 1107 | resolved "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1108 | dependencies: 1109 | pinkie "^2.0.0" 1110 | 1111 | pinkie@^2.0.0: 1112 | version "2.0.4" 1113 | resolved "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1114 | 1115 | pkg-dir@^1.0.0: 1116 | version "1.0.0" 1117 | resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" 1118 | dependencies: 1119 | find-up "^1.0.0" 1120 | 1121 | pluralize@^7.0.0: 1122 | version "7.0.0" 1123 | resolved "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" 1124 | 1125 | prelude-ls@~1.1.2: 1126 | version "1.1.2" 1127 | resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 1128 | 1129 | process@~0.5.1: 1130 | version "0.5.2" 1131 | resolved "https://registry.npmjs.org/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf" 1132 | 1133 | progress@^2.0.0: 1134 | version "2.0.0" 1135 | resolved "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" 1136 | 1137 | promise@^7.1.1: 1138 | version "7.3.1" 1139 | resolved "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" 1140 | dependencies: 1141 | asap "~2.0.3" 1142 | 1143 | prop-types@^15.6.0, prop-types@^15.6.1: 1144 | version "15.6.2" 1145 | resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" 1146 | dependencies: 1147 | loose-envify "^1.3.1" 1148 | object-assign "^4.1.1" 1149 | 1150 | punycode@^2.1.0: 1151 | version "2.1.1" 1152 | resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 1153 | 1154 | react-dom@^16.4.1: 1155 | version "16.4.1" 1156 | resolved "https://registry.npmjs.org/react-dom/-/react-dom-16.4.1.tgz#7f8b0223b3a5fbe205116c56deb85de32685dad6" 1157 | dependencies: 1158 | fbjs "^0.8.16" 1159 | loose-envify "^1.1.0" 1160 | object-assign "^4.1.1" 1161 | prop-types "^15.6.0" 1162 | 1163 | react-hot-loader@^4.3.3: 1164 | version "4.3.3" 1165 | resolved "https://registry.npmjs.org/react-hot-loader/-/react-hot-loader-4.3.3.tgz#37409a3341c7787563d0972007ba02521f82f5d5" 1166 | dependencies: 1167 | fast-levenshtein "^2.0.6" 1168 | global "^4.3.0" 1169 | hoist-non-react-statics "^2.5.0" 1170 | prop-types "^15.6.1" 1171 | react-lifecycles-compat "^3.0.4" 1172 | shallowequal "^1.0.2" 1173 | 1174 | react-is@^16.4.1: 1175 | version "16.4.1" 1176 | resolved "https://registry.npmjs.org/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e" 1177 | 1178 | react-lifecycles-compat@^3.0.4: 1179 | version "3.0.4" 1180 | resolved "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" 1181 | 1182 | react-test-renderer@^16.4.1: 1183 | version "16.4.1" 1184 | resolved "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.4.1.tgz#f2fb30c2c7b517db6e5b10ed20bb6b0a7ccd8d70" 1185 | dependencies: 1186 | fbjs "^0.8.16" 1187 | object-assign "^4.1.1" 1188 | prop-types "^15.6.0" 1189 | react-is "^16.4.1" 1190 | 1191 | react@^16.4.1: 1192 | version "16.4.1" 1193 | resolved "https://registry.npmjs.org/react/-/react-16.4.1.tgz#de51ba5764b5dbcd1f9079037b862bd26b82fe32" 1194 | dependencies: 1195 | fbjs "^0.8.16" 1196 | loose-envify "^1.1.0" 1197 | object-assign "^4.1.1" 1198 | prop-types "^15.6.0" 1199 | 1200 | read-pkg-up@^2.0.0: 1201 | version "2.0.0" 1202 | resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" 1203 | dependencies: 1204 | find-up "^2.0.0" 1205 | read-pkg "^2.0.0" 1206 | 1207 | read-pkg@^2.0.0: 1208 | version "2.0.0" 1209 | resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" 1210 | dependencies: 1211 | load-json-file "^2.0.0" 1212 | normalize-package-data "^2.3.2" 1213 | path-type "^2.0.0" 1214 | 1215 | regexp.prototype.flags@^1.2.0: 1216 | version "1.2.0" 1217 | resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c" 1218 | dependencies: 1219 | define-properties "^1.1.2" 1220 | 1221 | regexpp@^1.1.0: 1222 | version "1.1.0" 1223 | resolved "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab" 1224 | 1225 | require-uncached@^1.0.3: 1226 | version "1.0.3" 1227 | resolved "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" 1228 | dependencies: 1229 | caller-path "^0.1.0" 1230 | resolve-from "^1.0.0" 1231 | 1232 | requireindex@~1.1.0: 1233 | version "1.1.0" 1234 | resolved "https://registry.npmjs.org/requireindex/-/requireindex-1.1.0.tgz#e5404b81557ef75db6e49c5a72004893fe03e162" 1235 | 1236 | resolve-from@^1.0.0: 1237 | version "1.0.1" 1238 | resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" 1239 | 1240 | resolve@^1.5.0, resolve@^1.6.0: 1241 | version "1.8.1" 1242 | resolved "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" 1243 | dependencies: 1244 | path-parse "^1.0.5" 1245 | 1246 | restore-cursor@^2.0.0: 1247 | version "2.0.0" 1248 | resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" 1249 | dependencies: 1250 | onetime "^2.0.0" 1251 | signal-exit "^3.0.2" 1252 | 1253 | rimraf@^2.2.8: 1254 | version "2.6.2" 1255 | resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 1256 | dependencies: 1257 | glob "^7.0.5" 1258 | 1259 | run-async@^2.2.0: 1260 | version "2.3.0" 1261 | resolved "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" 1262 | dependencies: 1263 | is-promise "^2.1.0" 1264 | 1265 | rxjs@^5.5.2: 1266 | version "5.5.11" 1267 | resolved "https://registry.npmjs.org/rxjs/-/rxjs-5.5.11.tgz#f733027ca43e3bec6b994473be4ab98ad43ced87" 1268 | dependencies: 1269 | symbol-observable "1.0.1" 1270 | 1271 | "safer-buffer@>= 2.1.2 < 3": 1272 | version "2.1.2" 1273 | resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 1274 | 1275 | "semver@2 || 3 || 4 || 5", semver@5.5.0, semver@^5.5.0: 1276 | version "5.5.0" 1277 | resolved "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 1278 | 1279 | setimmediate@^1.0.5: 1280 | version "1.0.5" 1281 | resolved "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 1282 | 1283 | shallowequal@^1.0.2: 1284 | version "1.1.0" 1285 | resolved "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" 1286 | 1287 | shebang-command@^1.2.0: 1288 | version "1.2.0" 1289 | resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 1290 | dependencies: 1291 | shebang-regex "^1.0.0" 1292 | 1293 | shebang-regex@^1.0.0: 1294 | version "1.0.0" 1295 | resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 1296 | 1297 | signal-exit@^3.0.2: 1298 | version "3.0.2" 1299 | resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1300 | 1301 | slice-ansi@1.0.0: 1302 | version "1.0.0" 1303 | resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" 1304 | dependencies: 1305 | is-fullwidth-code-point "^2.0.0" 1306 | 1307 | source-map@^0.5.0: 1308 | version "0.5.7" 1309 | resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 1310 | 1311 | spdx-correct@^3.0.0: 1312 | version "3.0.0" 1313 | resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz#05a5b4d7153a195bc92c3c425b69f3b2a9524c82" 1314 | dependencies: 1315 | spdx-expression-parse "^3.0.0" 1316 | spdx-license-ids "^3.0.0" 1317 | 1318 | spdx-exceptions@^2.1.0: 1319 | version "2.1.0" 1320 | resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" 1321 | 1322 | spdx-expression-parse@^3.0.0: 1323 | version "3.0.0" 1324 | resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" 1325 | dependencies: 1326 | spdx-exceptions "^2.1.0" 1327 | spdx-license-ids "^3.0.0" 1328 | 1329 | spdx-license-ids@^3.0.0: 1330 | version "3.0.0" 1331 | resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" 1332 | 1333 | sprintf-js@~1.0.2: 1334 | version "1.0.3" 1335 | resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 1336 | 1337 | stackframe@^1.0.4: 1338 | version "1.0.4" 1339 | resolved "https://registry.npmjs.org/stackframe/-/stackframe-1.0.4.tgz#357b24a992f9427cba6b545d96a14ed2cbca187b" 1340 | 1341 | string-width@^2.1.0, string-width@^2.1.1: 1342 | version "2.1.1" 1343 | resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 1344 | dependencies: 1345 | is-fullwidth-code-point "^2.0.0" 1346 | strip-ansi "^4.0.0" 1347 | 1348 | string.prototype.matchall@^2.0.0: 1349 | version "2.0.0" 1350 | resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-2.0.0.tgz#2af8fe3d2d6dc53ca2a59bd376b089c3c152b3c8" 1351 | dependencies: 1352 | define-properties "^1.1.2" 1353 | es-abstract "^1.10.0" 1354 | function-bind "^1.1.1" 1355 | has-symbols "^1.0.0" 1356 | regexp.prototype.flags "^1.2.0" 1357 | 1358 | strip-ansi@^3.0.0: 1359 | version "3.0.1" 1360 | resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1361 | dependencies: 1362 | ansi-regex "^2.0.0" 1363 | 1364 | strip-ansi@^4.0.0: 1365 | version "4.0.0" 1366 | resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 1367 | dependencies: 1368 | ansi-regex "^3.0.0" 1369 | 1370 | strip-bom@^3.0.0: 1371 | version "3.0.0" 1372 | resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 1373 | 1374 | strip-json-comments@^2.0.1: 1375 | version "2.0.1" 1376 | resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 1377 | 1378 | supports-color@^2.0.0: 1379 | version "2.0.0" 1380 | resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 1381 | 1382 | supports-color@^5.3.0: 1383 | version "5.4.0" 1384 | resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" 1385 | dependencies: 1386 | has-flag "^3.0.0" 1387 | 1388 | symbol-observable@1.0.1: 1389 | version "1.0.1" 1390 | resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" 1391 | 1392 | table@^4.0.3: 1393 | version "4.0.3" 1394 | resolved "https://registry.npmjs.org/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc" 1395 | dependencies: 1396 | ajv "^6.0.1" 1397 | ajv-keywords "^3.0.0" 1398 | chalk "^2.1.0" 1399 | lodash "^4.17.4" 1400 | slice-ansi "1.0.0" 1401 | string-width "^2.1.1" 1402 | 1403 | text-table@^0.2.0: 1404 | version "0.2.0" 1405 | resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 1406 | 1407 | through@^2.3.6: 1408 | version "2.3.8" 1409 | resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 1410 | 1411 | tmp@^0.0.33: 1412 | version "0.0.33" 1413 | resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" 1414 | dependencies: 1415 | os-tmpdir "~1.0.2" 1416 | 1417 | to-fast-properties@^2.0.0: 1418 | version "2.0.0" 1419 | resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" 1420 | 1421 | trim-right@^1.0.1: 1422 | version "1.0.1" 1423 | resolved "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 1424 | 1425 | type-check@~0.3.2: 1426 | version "0.3.2" 1427 | resolved "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 1428 | dependencies: 1429 | prelude-ls "~1.1.2" 1430 | 1431 | typescript-eslint-parser@^16.0.0: 1432 | version "16.0.0" 1433 | resolved "https://registry.npmjs.org/typescript-eslint-parser/-/typescript-eslint-parser-16.0.0.tgz#14a9ab75932b15af919602faef553c6f0487f352" 1434 | dependencies: 1435 | lodash.unescape "4.0.1" 1436 | semver "5.5.0" 1437 | 1438 | typescript@^2.9.2: 1439 | version "2.9.2" 1440 | resolved "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz#1cbf61d05d6b96269244eb6a3bce4bd914e0f00c" 1441 | 1442 | ua-parser-js@^0.7.18: 1443 | version "0.7.18" 1444 | resolved "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed" 1445 | 1446 | uri-js@^4.2.1: 1447 | version "4.2.2" 1448 | resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 1449 | dependencies: 1450 | punycode "^2.1.0" 1451 | 1452 | validate-npm-package-license@^3.0.1: 1453 | version "3.0.3" 1454 | resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz#81643bcbef1bdfecd4623793dc4648948ba98338" 1455 | dependencies: 1456 | spdx-correct "^3.0.0" 1457 | spdx-expression-parse "^3.0.0" 1458 | 1459 | whatwg-fetch@>=0.10.0: 1460 | version "2.0.4" 1461 | resolved "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" 1462 | 1463 | which@^1.2.9: 1464 | version "1.3.1" 1465 | resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" 1466 | dependencies: 1467 | isexe "^2.0.0" 1468 | 1469 | wordwrap@~1.0.0: 1470 | version "1.0.0" 1471 | resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 1472 | 1473 | wrappy@1: 1474 | version "1.0.2" 1475 | resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1476 | 1477 | write@^0.2.1: 1478 | version "0.2.1" 1479 | resolved "https://registry.npmjs.org/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" 1480 | dependencies: 1481 | mkdirp "^0.5.1" 1482 | --------------------------------------------------------------------------------