@sunamo/sunodejs
Version:
Node.js utilities for file system operations, process management, and Electron apps. Includes TypeScript support with functions for file operations, directory management, and cross-platform compatibility.
97 lines (96 loc) • 3.41 kB
JSON
{
"name": "@sunamo/sunodejs",
"version": "1.0.0",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib/**/*",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"barrels": "node ./.scripts/generate-barrels.js",
"release": "semantic-release",
"barrels:watch": "barrelsby --config .barrelsby.json --no-default-export --watch",
"barrels:generate": "barrelsby --config .barrelsby.json --no-default-export --delete",
"build": "pnpm clean && tsc --project tsconfig.build.json",
"clean": "rm -rf ./lib/",
"clean:src-js": "powershell -Command \"Get-ChildItem -Path src -Recurse -Name '*.js' -File | ForEach-Object { Remove-Item -Path (Join-Path 'src' $_) -Force }\"",
"lint": "eslint ./src/ --fix",
"semantic-release": "semantic-release",
"test:watch": "jest --watch",
"test": "pnpm run clean:src-js && jest --coverage",
"test:clean": "pnpm run clean:src-js && jest --coverage",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"build:tsc-watch": "tsc --project tsconfig.build.json --watch",
"build:auto-index": "barrelsby -d src --delete",
"build:auto-index:watch:onchange": "onchange 'src/**/*.ts' -- npm run build:auto-index",
"build:auto-index:watch": "nodemon --ignore 'src/index.ts' --watch src --ext ts --exec \"npm run build:auto-index\"",
"build:watch": "npm-run-all -p build:tsc-watch build:auto-index",
"run-publish": "cross-env npm version patch -f && pnpm run build && npm publish",
"onchange nefunguje a nevím proč, zkusím tedy nodemon": "",
"test:onchange": "onchange './src/**/*.ts' -- echo 'Změna detekována!'",
"prepare": "husky"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^11.0.2",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/jest": "^30.0.0",
"@types/jsdom": "^21.1.7",
"@types/node": "^22",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"barrelsby": "^2.8.1",
"cross-env": "^7.0.3",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^9.1.7",
"jest": "^30.0.4",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"prettier": "^2.2.1",
"ts-jest": "^29.4.0",
"ts-node": "^10.2.1",
"typescript": "^5"
},
"description": "Node.js utilities for file system operations, process management, and Electron apps. Includes TypeScript support with functions for file operations, directory management, and cross-platform compatibility.",
"keywords": [
"nodejs",
"filesystem",
"file-operations",
"electron",
"typescript",
"utilities",
"cross-platform",
"directory-management",
"process-utils",
"fs-promises"
],
"author": "sunamo",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/sunamo/sunodejs.git"
},
"bugs": {
"url": "https://github.com/sunamo/sunodejs/issues"
},
"homepage": "https://github.com/sunamo/sunodejs#readme",
"publishConfig": {
"access": "public"
},
"dependencies": {
"jsdom": "^26.1.0",
"nodemon": "^3.1.10",
"semantic-release": "^24.2.6",
"tslib": "^2.8.1"
}
}