Permalink
Browse files

refactor build

  • Loading branch information...
gilbarbara committed Dec 5, 2017
1 parent 7634515 commit 3edc7f38090a804a43547a69dafcedf0e2cab97e
View
@@ -2,20 +2,28 @@
"presets": [
[
"env", {
"modules": false
"useBuiltIns": true,
"modules": false,
"targets": {
"node": "8"
}
}
],
"react",
"stage-1"
],
"compact": "true",
"env": {
"production": {
"plugins": [
"array-includes",
"transform-flow-strip-types"
]
},
"commonjs": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
]
},
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
View
@@ -2,23 +2,24 @@
engines:
eslint:
enabled: true
channel: "eslint-3"
channel: "eslint-4"
config:
extensions:
- .js
- .jsx
checks:
import/no-duplicates:
enabled: false
no-template-curly-in-string:
enabled: false
import/no-unresolved:
enabled: false
import/no-extraneous-dependencies:
enabled: false
import/no-named-as-default-member:
enabled: false
import/no-unresolved:
enabled: false
stylelint:
enabled: true
channel: "beta"
ratings:
paths:
- "**.js"
@@ -27,6 +28,7 @@ ratings:
exclude_paths:
- coverage/**/*
- docs/**/*
- es/**/*
- lib/**/*
- node_modules/**/*
- test/**/*
View
@@ -54,6 +54,7 @@
"no-nested-ternary": 1,
"no-param-reassign": [1, { "props": false }],
"no-plusplus": 0,
"no-restricted-globals": [2, "fdescribe", "fit"],
"no-restricted-syntax": [
2,
"DebuggerStatement",
@@ -64,6 +65,7 @@
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"object-curly-newline": 0,
"object-shorthand": [1, "always"],
"one-var": 1,
"padded-blocks": 1,
@@ -116,6 +118,7 @@
"jsx-quotes": 1,
"react/forbid-prop-types": 0,
"react/jsx-closing-bracket-location": [1, "line-aligned"],
"react/jsx-filename-extension": 0,
"react/jsx-first-prop-new-line": [1, "multiline"],
"react/jsx-indent": [1, 2],
"react/jsx-indent-props": [1, 2],
View
@@ -1,4 +1,7 @@
.tmp/
coverage/
documentation/
es/
lib/
node_modules/
webpack.stats.json
View

This file was deleted.

Oops, something went wrong.
View
@@ -29,6 +29,7 @@
"function-url-quotes": "always",
"indentation": [2, { "ignore": ["value"] }],
"max-nesting-depth": 5,
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"no-empty-source": [true, { "severity": "warning" }],
"no-missing-end-of-source-newline": true,
View
@@ -1,18 +1,22 @@
language: node_js
node_js:
- '6'
- '7'
- '8'
cache:
directories:
- "node_modules"
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
provider: npm
email: gilbarbara@gmail.com
api_key:
secure: PAkWHSl1+a6YLyyPxScfmRkjsaOPOfP/ugaWKb8yOFwyo8xQQRbYB+WQaYeLLoHHgtVfBvzc/LvSwQdl0ASBJdPLi9rbAwSrkoJ8vMwx3WFc51KGIkNdm00reKxlRa20Hu3PWnEH6jbB3Ag8aAS3mRaYxACplP0BYBE9u5vfJJdqC9KHmbwnMUKolKlB9/hmJ5GFzWD1xFf48pUATOlQnZvi1RkrX5Iarp46Z4a0RkosKNEhcKQw75IniWr4HN10Fo4q7ZZQuRQWM2Ul+InAynfUCTlJeEOiVWEUjvMMQkJQgNGyUI25+SfgDtQ1zY2NVS3IRTXfSDWd6R/LA+vDj9SZ3sn7ZdowdZfJkKOvWcWbtU5PIKOs35vNsMq+McFNT2dL+94wKX+b8qSXf0b/13jAV32hgYdMs0xF8chjp7xZOPGRlkfAgEwn494xOqDZsh2MSVF9CvdXX9ewN4L6Pso417HcQWk7aNcWwlnYMhGQfG9We37vh/Bly899fxh7K6ehdZx2/PksH4Cmw7DS8/rCOXkQJBHNGRsmxE15ZgcN6oFYd3pHzFHEvu3JGwGa3f2ihlLaE6sMpy3QUZaZTNV/lynvSthipkLtoZHmyA9/KGnNPA9zJ1oMYFHhJ2gm5sdcFrDGvySNWbPnbdWP5GXTNgSNRRXfb/sVSmL7x5U=
on:
tags: true
node: '7'
repo: amarofashion/react-credit-cards
addons:
code_climate: true
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 3edc7f3

Please sign in to comment.