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

Commit

Permalink
fix[configuration-validation]: Use babel to compile for IE 11 (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelberg-okta authored Oct 22, 2018
1 parent ad5b684 commit 49e8f60
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ lerna-debug.log
yarn-debug.log*
yarn-error.log*
package-lock.json
dist

# Ignore TCK-related files in all folders
okta-oidc-tck*
Expand Down
11 changes: 11 additions & 0 deletions packages/configuration-validation/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
[
"env", {
"targets": {
"browsers": [ "> 0.1%", "not ie < 11" ]
}
}
]
]
}
12 changes: 8 additions & 4 deletions packages/configuration-validation/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "@okta/configuration-validation",
"version": "0.1.0",
"version": "0.1.1",
"description": "Configuration validation support for Okta JavaScript SDKs",
"main": "src/lib.js",
"main": "./dist/lib.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "babel src -d dist",
"lint": "eslint .",
"prepare": "yarn build",
"test": "yarn lint && yarn test:unit",
"test:unit": "jest test/"
},
Expand All @@ -29,7 +32,8 @@
},
"homepage": "https://github.com/okta/okta-oidc-js#readme",
"devDependencies": {
"jest": "^23.6.0",
"eslint": "^4.7.1"
"babel-cli": "^6.26.0",
"eslint": "^4.7.1",
"jest": "^23.6.0"
}
}

0 comments on commit 49e8f60

Please sign in to comment.