From ee24cd76b1f0419309cda9eb730840dcfb5cf73f Mon Sep 17 00:00:00 2001 From: Glen Buktenica Date: Mon, 2 Dec 2019 22:12:41 +0800 Subject: [PATCH] Update --- package-lock.json | 24 ++++++++++++------------ package.json | 9 ++++----- tsconfig.json | 15 ++++++++++++--- 3 files changed, 28 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 872f555..999029e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,9 +54,9 @@ "dev": true }, "@types/node": { - "version": "12.12.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.11.tgz", - "integrity": "sha512-O+x6uIpa6oMNTkPuHDa9MhMMehlxLAd5QcOvKRjAFsBVpeFWTOPnXbDvILvFgFFZfQ1xh1EZi1FbXxUix+zpsQ==", + "version": "12.12.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.14.tgz", + "integrity": "sha512-u/SJDyXwuihpwjXy7hOOghagLEV1KdAST6syfnOk6QZAMzZuWZqXy5aYYZbh8Jdpd4escVFP0MvftHNDb9pruA==", "dev": true }, "@types/vscode": { @@ -275,18 +275,18 @@ "dev": true }, "es-abstract": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.0.tgz", - "integrity": "sha512-xdQnfykZ9JMEiasTAJZJdMWCQ1Vm00NBw79/AWi7ELfZuuPCSOMDZbT9mkOfSctVtfhb+sAAzrm+j//GjjLHLg==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.2.tgz", + "integrity": "sha512-jYo/J8XU2emLXl3OLwfwtuFfuF2w6DYPs+xy9ZfVyPkDcrauu6LYrw/q2TyCtrbc/KUdCiC5e9UajRhgNkVopA==", "dev": true, "requires": { - "es-to-primitive": "^1.2.0", + "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.0", + "has-symbols": "^1.0.1", "is-callable": "^1.1.4", "is-regex": "^1.0.4", - "object-inspect": "^1.6.0", + "object-inspect": "^1.7.0", "object-keys": "^1.1.1", "string.prototype.trimleft": "^2.1.0", "string.prototype.trimright": "^2.1.0" @@ -796,9 +796,9 @@ "dev": true }, "resolve": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz", - "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.13.1.tgz", + "integrity": "sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==", "dev": true, "requires": { "path-parse": "^1.0.6" diff --git a/package.json b/package.json index 9d3fa81..6359c69 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "lint": "tslint -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile", - "test": "node ./out/test/runTest.js", - "unittest": "node_modules/.bin/mocha ./out/unittest/*.unit.test.js --ui=tdd --recursive --colors --timeout=300000" + "test": "npm run compile && node ./out/test/runTest.js", + "unittest": "npm run compile && node ./node_modules/.bin/mocha ./out/unittest/*.unit.test.js --ui=tdd --recursive --colors --timeout=300000" }, "contributes": { "configuration": { @@ -83,11 +83,10 @@ "devDependencies": { "@types/glob": "^7.1.1", "@types/mocha": "^5.2.7", - "@types/node": "^12.12.11", - "@types/vscode": "^1.33.0", + "@types/node": "^12.12.14", + "@types/vscode": "^1.40.0", "diff": ">=4.0.1", "fstream": ">=1.0.12", - "glob": "^7.1.6", "mocha": "^6.2.2", "source-map-support": "^0.5.12", "tar": ">=5.0.5", diff --git a/tsconfig.json b/tsconfig.json index c45b822..02a4cb1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,26 @@ { "compilerOptions": { "module": "commonjs", - "target": "es5", + "target": "es6", "outDir": "out", "lib": [ - "es6" + "es7" ], "sourceMap": true, "rootDir": "src", "resolveJsonModule": true, "esModuleInterop": true + //"strict": true }, "exclude": [ - "node_modules" + "node_modules", + ".vscode-test" + ], + "include": [ + "src/**/*.ts", + "src/test/**/*.ts", + "src/unittest/**/*.ts", + "./node_modules/vscode/vscode.d.ts", + "./node_modules/vscode/lib/*", ] }