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

Commit ec8204c

Browse files
authored
Major improvements v1.0.0 (#120)
* 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
1 parent ede1605 commit ec8204c

25 files changed

+7873
-3529
lines changed

.babelrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": [
3+
[
4+
"@babel/preset-env", {
5+
"useBuiltIns": "usage",
6+
"corejs": 3
7+
}
8+
]
9+
]
310
}

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
node: true,
6+
},
7+
parserOptions: {
8+
parser: 'babel-eslint',
9+
},
10+
extends: [
11+
'plugin:vue/recommended',
12+
'plugin:prettier/recommended',
13+
'prettier',
14+
],
15+
// required to lint *.vue files
16+
plugins: ['vue'],
17+
rules: {
18+
semi: [2, 'never'],
19+
},
20+
}

.prettierrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
semi: false,
3+
singleQuote: true,
4+
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Pinion Digital GmbH
3+
Copyright (c) 2021 Oleksandr Bystrikov
44

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

0 commit comments

Comments
 (0)