Skip to content

Commit 82b2174

Browse files
author
Filippo Conti
committed
Updated configuration
1 parent 61342f7 commit 82b2174

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.babelrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"presets": [
3-
"es2015",
4-
"stage-2"
3+
"es2015"
54
]
6-
}
5+
}

.jsdoc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
"includePattern": ".+\\.js(doc|x)?$",
88
"excludePattern": "(^|\\/|\\\\)_"
99
},
10-
"plugins": [],
10+
"plugins": ["plugins/markdown"],
11+
"markdown": {
12+
"idInHeadings": true
13+
},
1114
"templates": {
1215
"cleverLinks": true,
1316
"monospaceLinks": true,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"test": "jest",
1111
"prebuild": "npm run test",
1212
"build": "webpack --config webpack.config.js",
13-
"postbuild": "npm run generate-docs",
14-
"generate-docs": "jsdoc -c .jsdoc.json",
13+
"postbuild": "npm run build-docs",
14+
"build-docs": "jsdoc -c .jsdoc.json",
1515
"cover": "jest --coverage --coverageDirectory=coverage/"
1616
},
1717
"repository": {

webpack.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ module.exports = {
2929
test: /\.js$/,
3030
exclude: /(node_modules|bower_components)/,
3131
use: {
32-
loader: 'babel-loader?cacheDirectory=true',
33-
options: {
34-
presets: ['es2015']
35-
}
32+
loader: 'babel-loader?cacheDirectory=true'
3633
}
3734
}
3835
]

0 commit comments

Comments
 (0)