Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade #26

Merged
merged 6 commits into from
Nov 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 10 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
"presets": [
"es2015",
"react"
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties"
],
"env": {
"production": {
"plugins": [
["transform-react-remove-prop-types", {"removeImport": true}]
[
"transform-react-remove-prop-types",
{
"removeImport": true
}
]
]
}
}
Expand Down
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2


jobs:
build:
working_directory: ~/app
docker:
- image: circleci/node:10

steps:
- checkout
- restore_cache:
key: deps-{{ checksum "yarn.lock" }}
- run: yarn install --pure-lockfile --offline
- run: yarn deps
- save_cache:
key: deps-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- node_modules
- run: yarn lint
- run: yarn test
- run: yarn lib
- run: yarn dist
- run: yarn pub
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/example/
/lib/
/node_modules/
/build/
/lib/
/pub/
/reports/
14 changes: 0 additions & 14 deletions .eslintrc

This file was deleted.

49 changes: 49 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
module.exports = {
extends: 'airbnb',
parser: 'babel-eslint',
env: {
browser: true
},
rules: {
'arrow-parens': ['error', 'as-needed'],
'comma-dangle': ['error', 'never'],
'object-curly-spacing': ['error', 'never'],
'no-console': 'off',
'global-require': 'off',
'import/no-dynamic-require': 'off',
'import/prefer-default-export': 'off',
'import/no-extraneous-dependencies': 'off',
'react/no-multi-comp': 'off',
'react/sort-comp': ['error', {
order: [
'static-variables',
'static-methods',
'instance-variables',
'lifecycle',
'everything-else',
'render'
],
}],
'react/jsx-filename-extension': ['error', {extensions: ['.js']}],
'react/jsx-closing-bracket-location': ['error', {
nonEmpty: 'after-props',
selfClosing: 'after-props'
}],
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/label-has-associated-control': 'off',

'max-classes-per-file': 'off',
'react/static-property-placement': 'off',
'react/jsx-props-no-spreading': 'off',

'object-curly-newline': ['error', {
multiline: true,
consistent: true,
minProperties: 0
}],

'react/state-in-constructor': 'off',
'react/jsx-one-expression-per-line': 'off',
'react/no-array-index-key': 'off'
}
};
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ pids
*.pid
*.seed

/build/

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
/node_modules/

/build/
/lib/
/example/
/.coveralls.yml
/pub/
/reports/

/.eslintcache
10 changes: 0 additions & 10 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

Binary file added .packages/@babel-cli-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-code-frame-7.5.5.tgz
Binary file not shown.
Binary file added .packages/@babel-core-7.7.2.tgz
Binary file not shown.
Binary file added .packages/@babel-generator-7.7.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-call-delegate-7.7.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-define-map-7.7.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-function-name-7.7.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-hoist-variables-7.7.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-module-imports-7.7.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-plugin-utils-7.0.0.tgz
Binary file not shown.
Binary file added .packages/@babel-helper-regex-7.5.5.tgz
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-replace-supers-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-helper-simple-access-7.7.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-helper-wrap-function-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-helpers-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-highlight-7.5.0.tgz
Binary file not shown.
Binary file added .packages/@babel-parser-7.7.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-plugin-syntax-jsx-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@babel-preset-env-7.7.1.tgz
Binary file not shown.
Binary file added .packages/@babel-preset-react-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-register-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-runtime-7.7.2.tgz
Binary file not shown.
Binary file added .packages/@babel-template-7.7.0.tgz
Binary file not shown.
Binary file added .packages/@babel-traverse-7.7.2.tgz
Binary file not shown.
Binary file added .packages/@babel-types-7.7.2.tgz
Binary file not shown.
Binary file added .packages/@types-events-3.0.0.tgz
Binary file not shown.
Binary file added .packages/@types-glob-7.1.1.tgz
Binary file not shown.
Binary file added .packages/@types-minimatch-3.0.3.tgz
Binary file not shown.
Binary file added .packages/@types-node-12.12.7.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-ast-1.8.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@webassemblyjs-helper-buffer-1.8.5.tgz
Binary file not shown.
Binary file not shown.
Binary file added .packages/@webassemblyjs-helper-fsm-1.8.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/@webassemblyjs-ieee754-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-leb128-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-utf8-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-wasm-edit-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-wasm-gen-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-wasm-opt-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-wasm-parser-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-wast-parser-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@webassemblyjs-wast-printer-1.8.5.tgz
Binary file not shown.
Binary file added .packages/@xtuc-ieee754-1.2.0.tgz
Binary file not shown.
Binary file added .packages/@xtuc-long-4.2.2.tgz
Binary file not shown.
Binary file added .packages/abbrev-1.1.1.tgz
Binary file not shown.
Binary file added .packages/accepts-1.3.7.tgz
Binary file not shown.
Binary file added .packages/acorn-6.3.0.tgz
Binary file not shown.
Binary file added .packages/acorn-7.1.0.tgz
Binary file not shown.
Binary file added .packages/acorn-jsx-5.1.0.tgz
Binary file not shown.
Binary file added .packages/ajv-6.10.2.tgz
Binary file not shown.
Binary file added .packages/ajv-errors-1.0.1.tgz
Binary file not shown.
Binary file added .packages/ajv-keywords-3.4.1.tgz
Binary file not shown.
Binary file added .packages/ansi-colors-3.2.4.tgz
Binary file not shown.
Binary file added .packages/ansi-escapes-4.2.1.tgz
Binary file not shown.
Binary file added .packages/ansi-html-0.0.7.tgz
Binary file not shown.
Binary file added .packages/ansi-regex-2.1.1.tgz
Binary file not shown.
Binary file added .packages/ansi-regex-3.0.0.tgz
Binary file not shown.
Binary file added .packages/ansi-regex-4.1.0.tgz
Binary file not shown.
Binary file added .packages/ansi-regex-5.0.0.tgz
Binary file not shown.
Binary file added .packages/ansi-styles-3.2.1.tgz
Binary file not shown.
Binary file added .packages/anymatch-2.0.0.tgz
Binary file not shown.
Binary file added .packages/aproba-1.2.0.tgz
Binary file not shown.
Binary file added .packages/are-we-there-yet-1.1.5.tgz
Binary file not shown.
Binary file added .packages/argparse-1.0.10.tgz
Binary file not shown.
Binary file added .packages/aria-query-3.0.0.tgz
Binary file not shown.
Binary file added .packages/arr-diff-4.0.0.tgz
Binary file not shown.
Binary file added .packages/arr-flatten-1.1.0.tgz
Binary file not shown.
Binary file added .packages/arr-union-3.1.0.tgz
Binary file not shown.
Binary file added .packages/array-flatten-1.1.1.tgz
Binary file not shown.
Binary file added .packages/array-flatten-2.1.2.tgz
Binary file not shown.
Binary file added .packages/array-includes-3.0.3.tgz
Binary file not shown.
Binary file added .packages/array-union-1.0.2.tgz
Binary file not shown.
Binary file added .packages/array-uniq-1.0.3.tgz
Binary file not shown.
Binary file added .packages/array-unique-0.3.2.tgz
Binary file not shown.
Binary file added .packages/asn1.js-4.10.1.tgz
Binary file not shown.
Binary file added .packages/assert-1.5.0.tgz
Binary file not shown.
Binary file added .packages/assign-symbols-1.0.0.tgz
Binary file not shown.
Binary file added .packages/ast-types-flow-0.0.7.tgz
Binary file not shown.
Binary file added .packages/astral-regex-1.0.0.tgz
Binary file not shown.
Binary file added .packages/async-2.6.3.tgz
Binary file not shown.
Binary file added .packages/async-each-1.0.3.tgz
Binary file not shown.
Binary file added .packages/async-limiter-1.0.1.tgz
Binary file not shown.
Binary file added .packages/atob-2.1.2.tgz
Binary file not shown.
Binary file added .packages/axobject-query-2.0.2.tgz
Binary file not shown.
Binary file added .packages/babel-eslint-10.0.3.tgz
Binary file not shown.
Binary file added .packages/babel-loader-8.0.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .packages/balanced-match-1.0.0.tgz
Binary file not shown.
Binary file added .packages/base-0.11.2.tgz
Binary file not shown.
Binary file added .packages/base64-js-1.3.1.tgz
Binary file not shown.
Binary file added .packages/batch-0.6.1.tgz
Binary file not shown.
Binary file added .packages/big.js-3.2.0.tgz
Binary file not shown.
Binary file added .packages/big.js-5.2.2.tgz
Binary file not shown.
Binary file added .packages/binary-extensions-1.13.1.tgz
Binary file not shown.
Binary file added .packages/bluebird-3.7.1.tgz
Binary file not shown.
Binary file added .packages/bn.js-4.11.8.tgz
Binary file not shown.
Binary file added .packages/body-parser-1.19.0.tgz
Binary file not shown.
Binary file added .packages/bonjour-3.5.0.tgz
Binary file not shown.
Binary file added .packages/boolbase-1.0.0.tgz
Binary file not shown.
Binary file added .packages/brace-expansion-1.1.11.tgz
Binary file not shown.
Binary file added .packages/braces-2.3.2.tgz
Binary file not shown.
Binary file added .packages/brorand-1.1.0.tgz
Binary file not shown.
Binary file added .packages/browserify-aes-1.2.0.tgz
Binary file not shown.
Binary file added .packages/browserify-cipher-1.0.1.tgz
Binary file not shown.
Binary file added .packages/browserify-des-1.0.2.tgz
Binary file not shown.
Binary file added .packages/browserify-rsa-4.0.1.tgz
Binary file not shown.
Binary file added .packages/browserify-sign-4.0.4.tgz
Binary file not shown.
Binary file added .packages/browserify-zlib-0.2.0.tgz
Binary file not shown.
Binary file added .packages/browserslist-4.7.2.tgz
Binary file not shown.
Binary file added .packages/buffer-4.9.2.tgz
Binary file not shown.
Binary file added .packages/buffer-from-1.1.1.tgz
Binary file not shown.
Binary file added .packages/buffer-indexof-1.1.1.tgz
Binary file not shown.
Binary file added .packages/buffer-xor-1.0.3.tgz
Binary file not shown.
Binary file added .packages/builtin-modules-3.1.0.tgz
Binary file not shown.
Binary file added .packages/builtin-status-codes-3.0.0.tgz
Binary file not shown.
Binary file added .packages/bytes-3.0.0.tgz
Binary file not shown.
Binary file added .packages/bytes-3.1.0.tgz
Binary file not shown.
Binary file added .packages/cacache-12.0.3.tgz
Binary file not shown.
Binary file added .packages/cache-base-1.0.1.tgz
Binary file not shown.
Binary file added .packages/callsites-3.1.0.tgz
Binary file not shown.
Binary file added .packages/camel-case-3.0.0.tgz
Binary file not shown.
Binary file added .packages/camelcase-5.3.1.tgz
Binary file not shown.
Binary file added .packages/caniuse-lite-1.0.30001010.tgz
Binary file not shown.
Binary file added .packages/chalk-2.4.2.tgz
Binary file not shown.
Binary file added .packages/chardet-0.7.0.tgz
Binary file not shown.
Binary file added .packages/chokidar-2.1.8.tgz
Binary file not shown.
Binary file added .packages/chownr-1.1.3.tgz
Binary file not shown.
Binary file added .packages/chrome-trace-event-1.0.2.tgz
Binary file not shown.
Binary file added .packages/cipher-base-1.0.4.tgz
Binary file not shown.
Binary file added .packages/class-utils-0.3.6.tgz
Binary file not shown.
Binary file added .packages/clean-css-4.2.1.tgz
Binary file not shown.
Binary file added .packages/cli-cursor-3.1.0.tgz
Binary file not shown.
Binary file added .packages/cli-width-2.2.0.tgz
Binary file not shown.
Binary file added .packages/cliui-4.1.0.tgz
Binary file not shown.
Binary file added .packages/cliui-5.0.0.tgz
Binary file not shown.
Binary file added .packages/code-point-at-1.1.0.tgz
Binary file not shown.
Binary file added .packages/collection-visit-1.0.0.tgz
Binary file not shown.
Binary file added .packages/color-convert-1.9.3.tgz
Binary file not shown.
Binary file added .packages/color-name-1.1.3.tgz
Binary file not shown.
Binary file added .packages/commander-2.17.1.tgz
Binary file not shown.
Binary file added .packages/commander-2.19.0.tgz
Binary file not shown.
Binary file added .packages/commander-2.20.3.tgz
Binary file not shown.
Binary file added .packages/commondir-1.0.1.tgz
Binary file not shown.
Binary file added .packages/component-emitter-1.3.0.tgz
Binary file not shown.
Binary file added .packages/compressible-2.0.17.tgz
Binary file not shown.
Binary file added .packages/compression-1.7.4.tgz
Binary file not shown.
Binary file added .packages/concat-map-0.0.1.tgz
Binary file not shown.
Binary file added .packages/concat-stream-1.6.2.tgz
Binary file not shown.
Binary file added .packages/confusing-browser-globals-1.0.9.tgz
Binary file not shown.
Binary file added .packages/connect-history-api-fallback-1.6.0.tgz
Binary file not shown.
Binary file added .packages/console-browserify-1.2.0.tgz
Binary file not shown.
Binary file added .packages/console-control-strings-1.1.0.tgz
Binary file not shown.
Binary file added .packages/constants-browserify-1.0.0.tgz
Binary file not shown.
Binary file added .packages/contains-path-0.1.0.tgz
Binary file not shown.
Binary file added .packages/content-disposition-0.5.3.tgz
Binary file not shown.
Binary file added .packages/content-type-1.0.4.tgz
Binary file not shown.
Binary file added .packages/convert-source-map-1.7.0.tgz
Binary file not shown.
Binary file added .packages/cookie-0.4.0.tgz
Binary file not shown.
Binary file added .packages/cookie-signature-1.0.6.tgz
Binary file not shown.
Binary file added .packages/copy-concurrently-1.0.5.tgz
Binary file not shown.
Binary file added .packages/copy-descriptor-0.1.1.tgz
Binary file not shown.
Binary file added .packages/core-js-compat-3.4.1.tgz
Binary file not shown.
Binary file added .packages/core-util-is-1.0.2.tgz
Binary file not shown.
Binary file added .packages/create-ecdh-4.0.3.tgz
Binary file not shown.
Binary file added .packages/create-hash-1.2.0.tgz
Binary file not shown.
Binary file added .packages/create-hmac-1.1.7.tgz
Binary file not shown.
Binary file added .packages/cross-spawn-6.0.5.tgz
Binary file not shown.
Binary file added .packages/crypto-browserify-3.12.0.tgz
Binary file not shown.
Binary file added .packages/css-loader-3.2.0.tgz
Binary file not shown.
Binary file added .packages/css-select-1.2.0.tgz
Binary file not shown.
Binary file added .packages/css-what-2.1.3.tgz
Binary file not shown.
Binary file added .packages/cssesc-3.0.0.tgz
Binary file not shown.
Binary file added .packages/cyclist-1.0.1.tgz
Binary file not shown.
Binary file added .packages/damerau-levenshtein-1.0.5.tgz
Binary file not shown.
Binary file added .packages/de-indent-1.0.2.tgz
Binary file not shown.
Binary file added .packages/debug-2.6.9.tgz
Binary file not shown.
Binary file added .packages/debug-3.2.6.tgz
Binary file not shown.
Binary file added .packages/debug-4.1.1.tgz
Binary file not shown.
Binary file added .packages/decamelize-1.2.0.tgz
Binary file not shown.
Binary file added .packages/decode-uri-component-0.2.0.tgz
Binary file not shown.
Binary file added .packages/deep-equal-1.0.1.tgz
Binary file not shown.
Binary file added .packages/deep-equal-1.1.1.tgz
Binary file not shown.
Binary file added .packages/deep-extend-0.6.0.tgz
Binary file not shown.
Binary file added .packages/deep-is-0.1.3.tgz
Binary file not shown.
Binary file added .packages/default-gateway-4.2.0.tgz
Binary file not shown.
Binary file added .packages/define-properties-1.1.3.tgz
Binary file not shown.
Binary file added .packages/define-property-0.2.5.tgz
Binary file not shown.
Binary file added .packages/define-property-1.0.0.tgz
Binary file not shown.
Binary file added .packages/define-property-2.0.2.tgz
Binary file not shown.
Binary file added .packages/defined-1.0.0.tgz
Binary file not shown.
Binary file added .packages/del-4.1.1.tgz
Binary file not shown.
Binary file added .packages/delegates-1.0.0.tgz
Binary file not shown.
Binary file added .packages/depcheck-0.9.1.tgz
Binary file not shown.
Binary file added .packages/depd-1.1.2.tgz
Binary file not shown.
Binary file added .packages/deps-regex-0.1.4.tgz
Binary file not shown.
Binary file added .packages/des.js-1.0.1.tgz
Binary file not shown.
Binary file added .packages/destroy-1.0.4.tgz
Binary file not shown.
Binary file added .packages/detect-file-1.0.0.tgz
Binary file not shown.
Binary file added .packages/detect-libc-1.0.3.tgz
Binary file not shown.
Binary file added .packages/detect-node-2.0.4.tgz
Binary file not shown.
Binary file added .packages/diffie-hellman-5.0.3.tgz
Binary file not shown.
Binary file added .packages/dns-equal-1.0.0.tgz
Binary file not shown.
Binary file added .packages/dns-packet-1.3.1.tgz
Binary file not shown.
Binary file added .packages/dns-txt-2.0.2.tgz
Binary file not shown.
Binary file added .packages/doctrine-1.5.0.tgz
Binary file not shown.
Binary file added .packages/doctrine-2.1.0.tgz
Binary file not shown.
Binary file added .packages/doctrine-3.0.0.tgz
Binary file not shown.
Binary file added .packages/dom-converter-0.2.0.tgz
Binary file not shown.
Binary file added .packages/dom-serializer-0.2.2.tgz
Binary file not shown.
Binary file added .packages/domain-browser-1.2.0.tgz
Binary file not shown.
Binary file added .packages/domelementtype-1.3.1.tgz
Binary file not shown.
Binary file added .packages/domelementtype-2.0.1.tgz
Binary file not shown.
Binary file added .packages/domhandler-2.4.2.tgz
Binary file not shown.
Binary file added .packages/domutils-1.5.1.tgz
Binary file not shown.
Binary file added .packages/domutils-1.7.0.tgz
Binary file not shown.
Binary file added .packages/duplexify-3.7.1.tgz
Binary file not shown.
Binary file added .packages/ee-first-1.1.1.tgz
Binary file not shown.
Binary file added .packages/electron-to-chromium-1.3.306.tgz
Binary file not shown.
Binary file added .packages/elliptic-6.5.1.tgz
Binary file not shown.
Binary file added .packages/email-addresses-3.1.0.tgz
Binary file not shown.
Binary file added .packages/emoji-regex-7.0.3.tgz
Binary file not shown.
Binary file added .packages/emoji-regex-8.0.0.tgz
Binary file not shown.
Binary file added .packages/emojis-list-2.1.0.tgz
Binary file not shown.
Binary file added .packages/encodeurl-1.0.2.tgz
Binary file not shown.
Binary file added .packages/end-of-stream-1.4.4.tgz
Binary file not shown.
Loading