Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ To install the package run:
npm i @dabapps/django-s3-file-upload -S
```

### Compatibility

You will also need polyfills for both `Promises` and `Symbols` if you wish to target older browsers.

## Usage

### How it works
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prettier-check": "prettier --check '**/*.{ts,tsx,js,jsx}'",
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx}'",
"tests": "jest",
"test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage",
"test": "npm run dist && npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage",
"prepublishOnly": "npm run dist"
},
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.dist.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"declaration": true,
"sourceMap": true,
"listEmittedFiles": true,
"target": "es5",
"lib": [
"es5",
"dom",
"es2015.promise",
"es2015.symbol"
],
"rootDir": "./src/",
"outDir": "./dist/"
},
Expand Down