Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Major improvements v1.0.0 (#120)
Browse files Browse the repository at this point in the history
* refactor(polyfill): use babel + browserslist for handling polyfills

* refactor(dev): use prettier and eslint

* refactor: took ownership of the package after break-up of the company

* refactor(dependencies): upgrade webpack, remove unused lodash

* feat: implement flexible stripe elements

* chore: add year

* chore: generate dist

* refactor(docs): update readme for v1.0.0

* refactor: remove helper components, too much hassle, use StripeElement

* refactor(docs): update readme

* refactor(stripeElements): improve while testing

* refactor: enable jest unit tests

* test(stripeElements): test initStripe, createElements, createElement

* refactor(build): generate build
  • Loading branch information
softbeehive authored Mar 27, 2021
1 parent ede1605 commit ec8204c
Show file tree
Hide file tree
Showing 25 changed files with 7,873 additions and 3,529 deletions.
9 changes: 8 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"presets": ["es2015"]
"presets": [
[
"@babel/preset-env", {
"useBuiltIns": "usage",
"corejs": 3
}
]
]
}
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
parserOptions: {
parser: 'babel-eslint',
},
extends: [
'plugin:vue/recommended',
'plugin:prettier/recommended',
'prettier',
],
// required to lint *.vue files
plugins: ['vue'],
rules: {
semi: [2, 'never'],
},
}
4 changes: 4 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
semi: false,
singleQuote: true,
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Pinion Digital GmbH
Copyright (c) 2021 Oleksandr Bystrikov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit ec8204c

Please sign in to comment.