Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Upgrade dependencies (#11)
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
alexdima committed Sep 19, 2019
2 parents 58c8efe + f8b00d3 commit fbf2532
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 48 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ This npm module is bundled and distributed in the [monaco-editor](https://www.np
## Development

* `git clone https://github.com/Microsoft/monaco-json`
* `cd monaco-json`
* `npm install .`
* `npm run prepublish`
* compile with `npm run compile`
* watch with `npm run watch`
* `npm run prepublishOnly`
* open `$/monaco-json/test/index.html` in your favorite browser.

## License
Expand Down
97 changes: 61 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"url": "https://github.com/Microsoft/monaco-json/issues"
},
"devDependencies": {
"jsonc-parser": "^2.0.3",
"monaco-editor-core": "0.18.0",
"monaco-languages": "1.7.0",
"jsonc-parser": "^2.1.1",
"monaco-editor-core": "0.18.1",
"monaco-languages": "1.8.0",
"monaco-plugin-helpers": "^1.0.2",
"requirejs": "^2.3.6",
"typescript": "3.3.3333",
"uglify-js": "^3.4.9",
"vscode-json-languageservice": "3.3.0-next.6",
"typescript": "3.5.3",
"terser": "^4.3.1",
"vscode-json-languageservice": "3.3.3",
"vscode-languageserver-types": "3.14.0"
}
}
4 changes: 2 additions & 2 deletions scripts/bundle.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const requirejs = require('requirejs');
const path = require('path');
const fs = require('fs');
const UglifyJS = require("uglify-js");
const Terser = require("terser");
const helpers = require('monaco-plugin-helpers');

const REPO_ROOT = path.resolve(__dirname, '..');
Expand Down Expand Up @@ -61,7 +61,7 @@ function bundleOne(moduleId, exclude) {
const fileContents = fs.readFileSync(devFilePath).toString();
console.log();
console.log(`Minifying ${devFilePath}...`);
const result = UglifyJS.minify(fileContents, {
const result = Terser.minify(fileContents, {
output: {
comments: 'some'
}
Expand Down
3 changes: 2 additions & 1 deletion src/tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"dom",
"es5",
"es2015.collection",
"es2015.promise"
"es2015.promise",
"es2015.iterable"
]
}
}
3 changes: 2 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"dom",
"es5",
"es2015.collection",
"es2015.promise"
"es2015.promise",
"es2015.iterable"
]
}
}

0 comments on commit fbf2532

Please sign in to comment.