From dd2cd0f25c6361b007b9a8fbbdf877643b2ac9d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20P=C3=B6hlmann?= <45039845+notanengineercom@users.noreply.github.com> Date: Wed, 6 May 2020 12:20:54 +0200 Subject: [PATCH] Lower target to ES6 and meta enhancement on package.json (#107) * upgrade dependencies * add more package.json meta * lower tsconfig target to ES6 --- package-lock.json | 24 ++++++++++++------------ package.json | 25 +++++++++++++++++++------ tsconfig.json | 2 +- 3 files changed, 32 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6c64a9d..f936026 100644 --- a/package-lock.json +++ b/package-lock.json @@ -185,9 +185,9 @@ "dev": true }, "@types/node": { - "version": "13.13.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.4.tgz", - "integrity": "sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA==", + "version": "13.13.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.5.tgz", + "integrity": "sha512-3ySmiBYJPqgjiHA7oEaIo2Rzz0HrOZ7yrNO5HWyaE5q0lQ3BppDZ3N53Miz8bw2I7gh1/zir2MGVZBvpb1zq9g==", "dev": true }, "@types/normalize-package-data": { @@ -408,9 +408,9 @@ "dev": true }, "blueimp-md5": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.13.0.tgz", - "integrity": "sha512-lmp0m647R5e77ORduxLW5mISIDcvgJZa52vMBv5uVI3UmSWTQjkJsZVBfaFqQPw/QFogJwvY6e3Gl9nP+Loe+Q==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.14.0.tgz", + "integrity": "sha512-fhX8JsIgugJ39g9MUJ4Y0S+WYd/1HATNVzW4nEVknP5uJU1mA7LZCV3OuVH9OvxpuYQXu6ttst0IYIlAyVfBQg==", "dev": true }, "boxen": { @@ -1079,9 +1079,9 @@ } }, "graceful-fs": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", "dev": true }, "has-flag": { @@ -2171,9 +2171,9 @@ "dev": true }, "stack-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-BvBTnHGm8boe+HiJFqP19ywEsGlfQAKqW78pbfvUuzCbUuxPPUyLrH5dYFY+Xn9IpLY3b5ZmMcl8jAqXB4wddg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.2.tgz", + "integrity": "sha512-0H7QK2ECz3fyZMzQ8rH0j2ykpfbnd20BFtfg/SqVC2+sCTtcw0aDTGB7dk+de4U4uUeuz6nOtJcrkFFLG1B0Rg==", "dev": true, "requires": { "escape-string-regexp": "^2.0.0" diff --git a/package.json b/package.json index 018a547..e3a4060 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,22 @@ { "name": "@fluffy-spoon/substitute", "version": "1.0.0", - "description": "", + "description": "TypeScript port of NSubstitute, which aims to provide a much more fluent mocking opportunity for strong-typed languages", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/substitute-js#section-contribute" + }, + "author": { + "name": "Mathias Lykkegaard Lorenzen", + "url": "https://github.com/ffMathy" + }, + "contributors": [ + { + "name": "Enrique Pöhlmann", + "url": "https://github.com/notanengineercom" + } + ], "main": "dist/src/index.js", "typings": "./dist/src/index.d.ts", "files": [ @@ -12,8 +27,7 @@ "test": "tsc && ava", "build": "tsc" }, - "author": "", - "license": "ISC", + "dependencies": {}, "devDependencies": { "@ava/typescript": "^1.1.0", "ava": "^3.7.0", @@ -31,6 +45,5 @@ "cache": false, "failFast": true, "failWithoutAssertions": true - }, - "dependencies": {} -} + } +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 3dcb936..3fff783 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,6 @@ "outDir": "./dist", "strict": true, "strictNullChecks": false, - "target": "ES2016" + "target": "ES6" } } \ No newline at end of file