UNPKG

@n3okill/utils

Version:
101 lines (100 loc) 2.43 kB
{ "name": "@n3okill/utils", "version": "2.0.4", "description": "Many javascript helpers", "publishConfig": { "access": "public" }, "type": "module", "module": "dist/mjs/index.js", "main": "dist/cjs/index.js", "exports": { ".": { "import": "./dist/mjs/index.js", "require": "./dist/cjs/index.js" } }, "repository": { "type": "git", "url": "git+https://github.com/n3okill/utils.git" }, "bugs": { "url": "https://github.com/n3okill/utils/issues" }, "homepage": "https://github.com/n3okill/utils#readme", "author": "Joao Parreira", "license": "MIT", "scripts": { "setup": "npm install", "clean:dist": "rimraf ./dist", "build:mjs": "npx tsc -p tsconfig-mjs.json", "build:cjs": "npx tsc -p tsconfig-cjs.json", "build:package.json": "node ./build.cjs", "build": "npm run clean:dist && npm run build:mjs && npm run build:cjs && npm run build:package.json", "lint": "eslint", "format": "prettier --config .prettierrc \"src/**/*.ts\" \"tests/**/*.ts\" --write", "pretest": "npm run build", "unit": "jest", "unit:coverage": "jest --coverage --reporter=lcov --reporter=text", "test": "npm run lint && npm run unit", "prepublishOnly": "npm test", "prepare": "npm run build", "preversion": "npm run lint", "version": "npm run format && git add -A .", "postversion": "git push && git push --tags" }, "devDependencies": { "@eslint/js": "^9.9.1", "@jest/globals": "^29.7.0", "@types/node": "^22.5.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "eslint": "^9.9.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-security": "^3.0.1", "jest": "^29.7.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", "typescript": "^5.5.4", "typescript-eslint": "^8.4.0" }, "files": [ "dist/**/*" ], "keywords": [ "array", "chunk", "clone", "deep", "combine", "unique", "contains", "diff", "remove", "delete", "flat", "intersect", "isEmpty", "range", "toMap", "toString", "buffer", "repeat", "trim", "replace", "format", "pad", "xor", "titleCase", "expand", "split", "version", "compare", "validate", "is", "type", "email" ] }