Skip to content

Commit

Permalink
Updated babel and debug module latest
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-dump authored and Unitech committed Jan 6, 2021
1 parent 9da4b45 commit b69960c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
8 changes: 3 additions & 5 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,24 @@ local pipeline(version) = {
};

[
pipeline("8"),
pipeline("10"),
pipeline("12"),
pipeline("13"),
pipeline("14"),
{
kind: "pipeline",
name: "build & publish",
trigger: {
event: "tag"
},
depends_on: [
"node-v8",
"node-v10",
"node-v12",
"node-v13"
"node-v14"
],
steps: [
{
name: "build",
image: "node:8",
image: "node:12",
commands: [
"npm install 2> /dev/null",
"mkdir -p dist",
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dist": "mkdir -p dist; browserify -s Keymetrics -r ./ | uglifyjs -c warnings=false -m > ./dist/keymetrics.es5.min.js",
"doc": "jsdoc -r ./src --readme ./README.md -d doc -t ./node_modules/minami",
"clean": "rm dist/*",
"prepublish": "npm run build && npm run dist"
"prepare": "npm run build && npm run dist"
},
"repository": {
"type": "git",
Expand All @@ -35,37 +35,37 @@
"dependencies": {
"async": "^2.6.3",
"axios": "^0.21.0",
"debug": "~3.2.6",
"debug": "~4.3.1",
"eventemitter2": "^6.3.1",
"ws": "^7.0.0"
},
"devDependencies": {
"babel-core": "6.26.0",
"babel-preset-es2015": "*",
"babel-preset-stage-2": "6.24.1",
"babelify": "8.0.0",
"browserify": "^13.1.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babelify": "10.0.0",
"browserify": "^17.0.0",
"jsdoc": "^3.4.2",
"minami": "^1.1.1",
"mocha": "^7.0.0",
"should": "*",
"uglify-js": "~3.3.7"
"uglify-es": "~3.3.9"
},
"browserify": {
"debug": "true",
"debug": true,
"transform": [
[
"babelify",
{
"presets": [
[
"babel-preset-es2015",
"@babel/preset-env",
{
"debug": "true",
"sourceMaps": "true"
"debug": false,
"forceAllTransforms": true
}
]
]
],
"sourceMaps": true
}
]
]
Expand Down

0 comments on commit b69960c

Please sign in to comment.