Skip to content

Commit

Permalink
Rewrite library using create-react-library
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmichaeldiego committed Jul 25, 2020
1 parent e70d0f7 commit b9f9e55
Show file tree
Hide file tree
Showing 79 changed files with 20,431 additions and 5,217 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

5 changes: 5 additions & 0 deletions .eslintignore
@@ -0,0 +1,5 @@
build/
dist/
node_modules/
.snapshots/
*.min.js
68 changes: 18 additions & 50 deletions .eslintrc
@@ -1,65 +1,33 @@
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier",
"prettier/flowtype",
"standard",
"standard-react",
"plugin:prettier/recommended",
"prettier/standard",
"prettier/react"
],
"plugins": [
"babel",
"prettier"
],
"parser": "babel-eslint",
"env": {
"es6": true,
"browser": true,
"mocha": true,
"jest": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true,
"generators": true,
"experimentalObjectRestSpread": true
"legacyDecorators": true,
"jsx": true
}
},
"settings": {
"react": {
"version": "16"
}
},
"rules": {
"no-bitwise": 0,
"no-nested-ternary": 0,
"space-before-function-paren": 0,
"react/prop-types": 0,
"react/jsx-filename-extension": 0,
"react/require-default-props": 0,
"react/jsx-handler-names": 0,
"react/jsx-fragments": 0,
"react/no-unused-prop-types": 0,
"no-sequences": 1,
"comma-dangle": 0,
"no-mixed-operators": 0,
"no-underscore-dangle": 0,
"no-restricted-properties": 0,
"jsx-a11y/no-static-element-interactions": 0,
"import/no-extraneous-dependencies": 0,
"no-plusplus": 0,
"no-unused-vars": [
"error",
{
"ignoreRestSiblings": true
}
],
"react/sort-comp": 0,
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true
}
]
},
"settings": {
"polyfills": [
"fetch__"
]
},
"globals": {}
"import/export": 0
}
}
35 changes: 0 additions & 35 deletions .flowconfig

This file was deleted.

26 changes: 22 additions & 4 deletions .gitignore
@@ -1,4 +1,22 @@
lib/*
dist/*
/node_modules
.idea/

# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
node_modules

# builds
build
dist
.rpt2_cache

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
8 changes: 0 additions & 8 deletions .npmignore

This file was deleted.

10 changes: 10 additions & 0 deletions .prettierrc
@@ -0,0 +1,10 @@
{
"singleQuote": true,
"jsxSingleQuote": true,
"semi": true,
"tabWidth": 2,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"trailingComma": "es5"
}
6 changes: 3 additions & 3 deletions .travis.yml
@@ -1,11 +1,11 @@
language: node_js
node_js:
- stable
- stable
cache:
directories:
- node_modules
- node_modules
before_script:
- git diff --exit-code # make sure that yarn.lock didn't change
script:
- yarn run lint
- yarn test:lint
- yarn test
31 changes: 0 additions & 31 deletions bower.json

This file was deleted.

109 changes: 0 additions & 109 deletions develop/GMap.js

This file was deleted.

0 comments on commit b9f9e55

Please sign in to comment.