Skip to content

Commit

Permalink
Updated configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Conti committed Jul 29, 2018
1 parent 61342f7 commit 82b2174
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"presets": [
"es2015",
"stage-2"
"es2015"
]
}
}
5 changes: 4 additions & 1 deletion .jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"includePattern": ".+\\.js(doc|x)?$",
"excludePattern": "(^|\\/|\\\\)_"
},
"plugins": [],
"plugins": ["plugins/markdown"],
"markdown": {
"idInHeadings": true
},
"templates": {
"cleverLinks": true,
"monospaceLinks": true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"test": "jest",
"prebuild": "npm run test",
"build": "webpack --config webpack.config.js",
"postbuild": "npm run generate-docs",
"generate-docs": "jsdoc -c .jsdoc.json",
"postbuild": "npm run build-docs",
"build-docs": "jsdoc -c .jsdoc.json",
"cover": "jest --coverage --coverageDirectory=coverage/"
},
"repository": {
Expand Down
5 changes: 1 addition & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ module.exports = {
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader?cacheDirectory=true',
options: {
presets: ['es2015']
}
loader: 'babel-loader?cacheDirectory=true'
}
}
]
Expand Down

0 comments on commit 82b2174

Please sign in to comment.