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

Babel transpile on prepublish #35

Merged
merged 4 commits into from
Aug 7, 2017
Merged
Show file tree
Hide file tree
Changes from all 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
21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
"name": "@trust/oidc-rp",
"version": "0.3.1",
"description": "OpenID Connect Relying Party client library",
"main": "src/index.js",
"main": "./lib/index.js",
"module": "./src/index.js",
"files": [
"src",
"dist"
"lib",
"dist",
"src"
],
"scripts": {
"build": "babel src -d lib",
"dist": "webpack --progress --colors --optimize-minimize",
"prepublish": "npm run dist",
"prepublish": "npm run build && npm run dist && npm run test",
"preversion": "npm test",
"test": "mocha"
},
"repository": {
Expand All @@ -35,20 +39,21 @@
"homepage": "https://github.com/anvilresearch/oidc-rp#readme",
"dependencies": {
"base64url": "^2.0.0",
"@trust/jose": "^0.1.2",
"@trust/jose": "^0.1.6",
"@trust/json-document": "^0.1.4",
"node-fetch": "^1.7.1",
"text-encoding": "^0.6.1",
"urlutils": "0.0.3",
"@trust/webcrypto": "0.0.2"
"@trust/webcrypto": "0.3.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.0.2",
"chai-as-promised": "^6.0.0",
"dirty-chai": "^1.2.2",
"chai-as-promised": "^7.1.1",
"dirty-chai": "^2.0.1",
"mocha": "^3.2.0",
"nock": "^9.0.13",
"sinon": "^2.3.2",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
loaders: [
{
test: /\.js$/,
exclude: /(node_modules)/,
loader: 'babel-loader',
query: {
presets: ['es2015']
Expand Down