move ts to dev dependency

This commit is contained in:
Hassan El Mghari
2023-02-13 17:24:28 -05:00
parent b0365cf173
commit ccf5170542
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "aicommits", "name": "aicommits",
"version": "0.1.4", "version": "0.1.6",
"description": "Writes your git commit messages for you with AI", "description": "Writes your git commit messages for you with AI",
"main": "bin/index.js", "main": "bin/index.js",
"bin": { "bin": {
@@ -9,13 +9,15 @@
"repository": "https://github.com/Nutlope/aicommits", "repository": "https://github.com/Nutlope/aicommits",
"author": "Hassan El Mghari (@nutlope)", "author": "Hassan El Mghari (@nutlope)",
"license": "MIT", "license": "MIT",
"devDependencies": {
"typescript": "^4.9.5"
},
"scripts": { "scripts": {
"build": "tsc" "build": "tsc"
}, },
"dependencies": { "dependencies": {
"chalk": "^5.2.0", "chalk": "^5.2.0",
"inquirer": "^9.1.4", "inquirer": "^9.1.4",
"node-fetch": "^3.3.0", "node-fetch": "^3.3.0"
"typescript": "^4.9.5"
} }
} }

View File

@@ -5,7 +5,6 @@
"outDir": "./bin" /* Specify an output folder for all emitted files. */, "outDir": "./bin" /* Specify an output folder for all emitted files. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */, "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */
}, },
"exclude": ["node_modules"] "exclude": ["node_modules"]