From 3e579faf3c14cd1acb1019cb34ccad256ce1d612 Mon Sep 17 00:00:00 2001 From: Dominik Kerzel Date: Thu, 13 Mar 2025 11:36:27 +0100 Subject: [PATCH] remove jest from dependencies --- .npmignore | 14 ++++++++++++++ package.json | 10 +++++----- rollup.config.mjs | 2 +- 3 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..ec3f15a --- /dev/null +++ b/.npmignore @@ -0,0 +1,14 @@ +.npmrc +.nycrc +asn1ts.code-workspace +rollup.config.mjs +tsconfig.json +yarn.lock +.mocharc.yaml +.gitignore +.eslintrc.json +test +src +.vscode +.github +node_modules \ No newline at end of file diff --git a/package.json b/package.json index 8a7bf24..373bd6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@estos/asn1ts", - "version": "3.2.2", + "version": "3.2.3", "license": "BSD-3-Clause", "author": { "name": "estos GmbH", @@ -42,17 +42,17 @@ "rollup-plugin-dts": "^6.1.0", "rollup-plugin-typescript2": "^0.36.0", "ts-node": "^10.9.1", - "typescript": "^5.2.2" + "typescript": "^5.2.2", + "jest": "^29.7.0", + "tslib": "^2.4.1" }, "repository": { "type": "git", "url": "git://github.com/ESTOS/ASN1.ts.git" }, "dependencies": { - "jest": "^29.7.0", "pvtsutils": "^1.3.2", - "pvutils": "^1.1.3", - "tslib": "^2.4.1" + "pvutils": "^1.1.3" }, "description": "ASN1.ts is a cross platform ASN1 library written in typescript. It supports encoding and (schema supported) decoding of ber encoded asn1 structures.", "keywords": [ diff --git a/rollup.config.mjs b/rollup.config.mjs index 458d2b7..ed5d296 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -2,7 +2,7 @@ import path from "path"; import fs from "fs"; import typescript from "rollup-plugin-typescript2"; import dts from "rollup-plugin-dts"; -import pkg from "./package.json" assert { type: "json" }; +import pkg from "./package.json" with { type: "json" }; const __dirname = path.resolve(); const LICENSE = fs.readFileSync("LICENSE", { encoding: "utf-8" });