@batikankutluer/custom-console
Version:
Custom Console outputs with colors and formatting
51 lines (50 loc) • 1.55 kB
JSON
{
"name": "@batikankutluer/custom-console",
"repository": {
"type": "git",
"url": "https://github.com/batikankutluer/custom-console.git"
},
"version": "1.0.6",
"description": "Custom Console outputs with colors and formatting",
"main": "./dist/cjs/CustomConsole.js",
"module": "./dist/esm/CustomConsole.mjs",
"types": "./dist/types/CustomConsole.d.ts",
"exports": {
".": {
"require": "./dist/cjs/CustomConsole.js",
"import": "./dist/esm/CustomConsole.mjs",
"types": "./dist/types/CustomConsole.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json && npm run rename:esm",
"build": "npm install && npm run build:cjs && npm run build:esm",
"clean": "rimraf dist",
"rename:esm": "sh ./scripts/fix-mjs.sh",
"rename:tgz": "sh ./scripts/fix-tgz.sh",
"prepack": "npm run clean && npm run build",
"test-esm": "cd ./tests/cjs && npm test && cd ../..",
"test-cjs": "cd ./tests/esm && npm test && cd ../..",
"test-ts": "cd ./tests/ts && npm run test && cd ../..",
"test": "npm pack && npm run rename:tgz && npm run test-cjs && npm run test-esm && npm run test-ts"
},
"keywords": [
"console",
"custom-console",
"colored-console"
],
"author": "Batikan Kutluer <batikankutluer@proton.me>",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2"
},
"devDependencies": {
"@types/node": "^22.13.0",
"rimraf": "^6.0.1",
"typescript": "^5.7.3"
}
}