From 8bc36e876fb2a464718a8c1f20c005054e40d69d Mon Sep 17 00:00:00 2001 From: MrDiro Date: Sun, 23 Jun 2024 07:15:33 -0500 Subject: [PATCH] fix: package.json --- .npmignore | 1 + README.MD | 2 +- package-lock.json | 56 +++++++++++++++++++++++++++++++++++++++++++++++ package.json | 13 ++++++++--- 4 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 .npmignore create mode 100644 package-lock.json diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..aa8e45f --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +src/ \ No newline at end of file diff --git a/README.MD b/README.MD index 7a5b530..ca584ba 100644 --- a/README.MD +++ b/README.MD @@ -1,6 +1,6 @@ # ModiLiteJS -ModiLiteJS is a library for writing modular code with components and dependency injection. It simplifies the development process by allowing you to easily define and manage modules, components, and services, enabling a clean and organized codebase. +ModiLiteJS is a typescript library for writing modular code with components and dependency injection. It simplifies the development process by allowing you to easily define and manage modules, components, and services, enabling a clean and organized codebase. ## Installation diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..5ecda67 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,56 @@ +{ + "name": "modilitejs", + "version": "1.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "modilitejs", + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "reflect-metadata": "^0.2.2" + }, + "devDependencies": { + "@types/node": "^20.14.8", + "typescript": "^5.5.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@types/node": { + "version": "20.14.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.8.tgz", + "integrity": "sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/reflect-metadata": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==" + }, + "node_modules/typescript": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + } + } +} diff --git a/package.json b/package.json index 94c2f0b..7f02e5f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "version": "1.0.1", "name": "modilitejs", - "description": "ModiLiteJS is a library for writing modular code with components and dependency injection.", + "description": "ModiLiteJS is a typescript library for writing modular code with components and dependency injection.", "author": { "name": "cdairo22", "email": "cdairo2204@gmail.com" @@ -23,13 +23,20 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "commonjs", + "scripts": { + "build": "tsc", + "prepublishOnly": "npm run build" + }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", - "url": "https://github.com/MrDiro/app-factory.git" + "url": "https://github.com/MrDiro/ModiLiteJS.git" }, + "files": [ + "dist/**/*" + ], "devDependencies": { "@types/node": "^20.14.8", "typescript": "^5.5.2" @@ -37,4 +44,4 @@ "dependencies": { "reflect-metadata": "^0.2.2" } -} +} \ No newline at end of file