UNPKG

zellige.js

Version:

A Moroccan utility library for working with CIN, phone numbers, currency, addresses, dates, and more.

120 lines (119 loc) 3.08 kB
{ "name": "zellige.js", "version": "0.0.3-development", "description": "A Moroccan utility library for working with CIN, phone numbers, currency, addresses, dates, and more.", "main": "./lib/index.js", "files": [ "lib/**/*", ".github/images/**/*" ], "scripts": { "build": "tsc --project tsconfig.build.json", "clean": "rm -rf ./lib/", "cm": "cz", "lint": "eslint ./src/ --fix", "prepare": "husky", "semantic-release": "semantic-release", "test:watch": "jest --watch", "test": "jest", "typecheck": "tsc --noEmit" }, "repository": { "type": "git", "url": "git+https://github.com/aitmiloud/zellige.git" }, "license": "MIT", "author": { "name": "Mohamed Aitmiloud", "email": "mohammed.aitmiloud@gmail.com", "url": "https://github.com/aitmiloud" }, "engines": { "node": ">=12.0" }, "keywords": [ "morocco", "utilities" ], "bugs": { "url": "https://github.com/aitmiloud/zellige/issues" }, "homepage": "https://github.com/aitmiloud/zellige#readme", "devDependencies": { "@eslint/compat": "^1.2.6", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^10.0.0", "@ryansonshine/commitizen": "^4.2.8", "@ryansonshine/cz-conventional-changelog": "^3.3.4", "@types/jest": "^29.5.14", "@types/node": "^22.13.1", "@typescript-eslint/eslint-plugin": "^8.24.0", "@typescript-eslint/parser": "^8.24.0", "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^9.20.1", "eslint-config-prettier": "^10.0.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.2.3", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.4.3", "prettier": "^3.5.0", "semantic-release": "^24.2.2", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "config": { "commitizen": { "path": "./node_modules/@ryansonshine/cz-conventional-changelog" } }, "lint-staged": { "*.ts": "eslint --cache --cache-location .eslintcache --fix" }, "release": { "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "build", "scope": "deps", "release": "patch" } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "build", "section": "Dependencies and Other Build Updates", "hidden": false } ] } } ], "@semantic-release/npm", "@semantic-release/github" ] } }