Skip to content

Commit 7486a73

Browse files
authored
Feature/update dependencies (#52)
* chore: Update of dependencies
1 parent 5aff246 commit 7486a73

28 files changed

+6764
-14039
lines changed

.babelrc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"presets": [
3-
["latest", { "modules": false }],
4-
"react",
5-
"stage-2"
3+
"@babel/preset-env",
4+
"@babel/react"
65
],
76
"plugins": [
87
[
9-
"transform-class-properties"
8+
"@babel/plugin-proposal-class-properties"
109
]
1110
]
1211
}

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[{src,scripts,config}/**.{ts,json,js}]
4+
end_of_line = lf
5+
charset = utf-8
6+
quote_type = single
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.md]
13+
insert_final_newline = false
14+
trim_trailing_whitespace = false

.eslintrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,17 @@
1919
"max-len": 0,
2020
"no-param-reassign": ["error", { "props": false }],
2121
"space-before-function-paren": 0,
22-
"space-before-blocks": 0
22+
"space-before-blocks": 0,
23+
"no-else-return": 0
2324
},
25+
"overrides": [
26+
{
27+
"files": ["tests/**/*spec.js"],
28+
"rules": {
29+
"no-global-assign": 0
30+
}
31+
}
32+
],
2433
"plugins": [
2534
"react",
2635
"jsx-a11y",

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ fabric.properties
3535
/dist/react-filepicker.js.map
3636
/dist/demo.js.map
3737
.DS_Store
38+
/tests/__coverage__/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Package Quality](http://npm.packagequality.com/shield/react-filestack.svg)](http://packagequality.com/#?package=react-filestack)
44

55
# Filestack React
6-
<a href="https://www.filestack.com"><img src="https://filestack.com/themes/filestack/assets/images/press-articles/color.svg" align="left" hspace="10" vspace="6"></a> This is the official React component for Filestack API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
6+
<a href="https://www.filestack.com"><img src="https://assets.filestack.com/docs_v2/fs-logo.svg" align="left" hspace="10" vspace="6"></a> This is the official React component for Filestack API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
77

88
## Resources
99

@@ -15,17 +15,17 @@
1515

1616
## Installing
1717

18-
Install ``filestack-react`` and ``filestack-js`` through npm.
18+
Install ``filestack-react`` through npm.
1919

2020
```shell
21-
npm install filestack-react filestack-js
21+
npm i filestack-react
2222
```
2323

2424
## Import
2525
```javascript
2626
const ReactFilestack = require('filestack-react');
2727
```
28-
In ES2015
28+
In ES2015 and newer
2929
```javascript
3030
import ReactFilestack from 'filestack-react';
3131
```

dist/filestack-react.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/filestack-react.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)