From ead974a5c83b5abafaca15e606e5fcd9ae3b5a2d Mon Sep 17 00:00:00 2001 From: realzam Date: Sat, 15 Jul 2023 01:42:19 +0000 Subject: [PATCH] add types declaration files --- package-lock.json | 19 +++++++++++-------- package.json | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1e476f7..9b1528e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { - "name": "lineicons-typescript", - "version": "1.0.0", + "name": "lineicons-react", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "lineicons-typescript", - "version": "1.0.0", - "license": "ISC", + "name": "lineicons-react", + "version": "1.0.3", + "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-node-resolve": "^15.1.0", @@ -19,6 +19,9 @@ "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.35.0" + }, + "peerDependencies": { + "react": ">16.0.0" } }, "node_modules/@ampproject/remapping": { @@ -2658,9 +2661,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" diff --git a/package.json b/package.json index 0e730f2..bb6446e 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.3", "main": "dist/index.js", "module": "dist/index.es.js", + "types":"dist/types/index.d.ts", "files": [ "dist", "lineicons"