diff --git a/package-lock.json b/package-lock.json index d56a05e..514a215 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,6 +26,7 @@ "source-map-support": "^0.5.19", "ts-node": "^10.0.0", "tsconfig-paths": "^3.9.0", + "tslib": "^2.3.0", "typescript": "4.3.2" }, "engines": { @@ -6540,8 +6541,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==", - "dev": true, - "peer": true + "dev": true }, "node_modules/tsutils": { "version": "3.21.0", @@ -11761,8 +11761,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==", - "dev": true, - "peer": true + "dev": true }, "tsutils": { "version": "3.21.0", diff --git a/package.json b/package.json index e97558b..6405972 100644 --- a/package.json +++ b/package.json @@ -19,26 +19,26 @@ "build:dts": "rollup --config rollup.dts.config.js", "build": "npm-run-all build:lib build:dts", "lint": "eslint . --cache", - "lint:fix": "eslint --fix .", - "typecheck": "tsc --noEmit", - "test": "npm-run-all test:coverage lint typecheck", - "test:unit": "NODE_ENV=test TS_NODE_PROJECT='tsconfig.test.json' ava", - "test:coverage": "nyc --reporter=lcov --reporter=text npm run test:unit --silent" + "lint:fix": "eslint --fix .", + "typecheck": "tsc --noEmit", + "test": "npm-run-all test:coverage lint typecheck", + "test:unit": "NODE_ENV=test TS_NODE_PROJECT='tsconfig.test.json' ava", + "test:coverage": "nyc --reporter=lcov --reporter=text npm run test:unit --silent" + }, + "ava": { + "files": [ + "test/**", + "!test/__helpers__/**" + ], + "extensions": [ + "ts" + ], + "require": [ + "tsconfig-paths/register", + "ts-node/register", + "source-map-support/register" + ] }, - "ava": { - "files": [ - "test/**", - "!test/__helpers__/**" - ], - "extensions": [ - "ts" - ], - "require": [ - "tsconfig-paths/register", - "ts-node/register", - "source-map-support/register" - ] - }, "engines": { "node": ">=12" }, @@ -61,6 +61,7 @@ "source-map-support": "^0.5.19", "ts-node": "^10.0.0", "tsconfig-paths": "^3.9.0", + "tslib": "^2.3.0", "typescript": "4.3.2" }, "repository": {