mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Merge branch 'updating-babel-config'
This commit is contained in:
commit
32e32fa5ec
15
.babelrc
15
.babelrc
@ -8,5 +8,18 @@
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-proposal-object-rest-spread"
|
||||
]
|
||||
],
|
||||
"env": {
|
||||
"es5": {
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
"useBuiltIns": false,
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-async-to-generator",
|
||||
"@babel/plugin-transform-runtime",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
12
.babelrc-es5
12
.babelrc-es5
@ -1,12 +0,0 @@
|
||||
{
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
"useBuiltIns": false,
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-async-to-generator",
|
||||
"@babel/plugin-transform-runtime",
|
||||
"@babel/plugin-proposal-object-rest-spread",
|
||||
]
|
||||
}
|
||||
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
[3.4.4](https://github.com/jdalrymple/node-gitlab/tags/3.4.4) (2018-6-26)
|
||||
------------------
|
||||
- Updating babel configuration thanks to a prompt from [bodtx](https://github.com/bodtx) and suggestions from [Logan Smyth](loganfsmyth)
|
||||
|
||||
[3.4.3](https://github.com/jdalrymple/node-gitlab/tags/3.4.3) (2018-6-25)
|
||||
------------------
|
||||
- Updating packages
|
||||
|
||||
730
package-lock.json
generated
730
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gitlab",
|
||||
"version": "3.4.3",
|
||||
"version": "3.4.4",
|
||||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.",
|
||||
"main": "dist/latest/index.js",
|
||||
"engines": {
|
||||
@ -8,8 +8,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build:clean": "rimraf -rf dist && mkdir -p dist",
|
||||
"build:es6": "babel src -d dist/latest --config-file=./.babelrc",
|
||||
"build:es5": "babel src -d dist/es5 --config-file=./.babelrc-es5",
|
||||
"build:es6": "babel src -d dist/latest",
|
||||
"build:es5": "babel src -d dist/es5 --env-name es5",
|
||||
"build": "npm run build:clean && npm run build:es6 && npm run build:es5",
|
||||
"lint": "node_modules/.bin/eslint ./src ./test",
|
||||
"test:bundles": "jest test/tests/bundles",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user