Skip to content

Commit

Permalink
refactor(storefront): STRF-8607 Update all dev dependecies on stencil…
Browse files Browse the repository at this point in the history
… utils
  • Loading branch information
jairo-bc committed Sep 9, 2020
1 parent d6bdd7b commit 686904e
Show file tree
Hide file tree
Showing 46 changed files with 7,655 additions and 11,552 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
"no-alert": 0,
"consistent-return": 0,
"max-len": 0,
"prefer-rest-params": 0
"prefer-rest-params": 0,
"class-methods-use-this": 0
},
"env": {
"es6": true,
"browser": true
"browser": true,
"jest": true
},
"extends": "airbnb/base"
"extends": "airbnb-base",
"parser": "babel-eslint"
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
node_modules/
.DS_Store
.coverage
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ sudo: false
install:
- npm install
script:
- npx grunt eslint
- npx grunt karma
- npm run lint
- npm run test
10 changes: 0 additions & 10 deletions Gruntfile.js

This file was deleted.

10 changes: 10 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: '> 1%, last 2 versions, Firefox ESR',
},
],
],
};
1 change: 0 additions & 1 deletion dist/stencil-utils.min.js

This file was deleted.

44 changes: 0 additions & 44 deletions grunt/build.js

This file was deleted.

6 changes: 0 additions & 6 deletions grunt/eslint.js

This file was deleted.

5 changes: 0 additions & 5 deletions grunt/karma.js

This file was deleted.

20 changes: 20 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
collectCoverage: false,
collectCoverageFrom: [
'src/**',
],
verbose: true,
coverageDirectory: '.coverage',
testMatch: [
'<rootDir>/spec/**',
],
transformIgnorePatterns: ['<rootDir>/node_modules/'],
coverageThreshold: {
global: {
branches: 30,
functions: 30,
lines: 30,
statements: 30,
},
},
};
50 changes: 0 additions & 50 deletions karma.conf.js

This file was deleted.

Loading

0 comments on commit 686904e

Please sign in to comment.