@mirad-work/sms-core
Version:
A framework-agnostic TypeScript SMS service core with provider abstraction for Iranian SMS providers
115 lines (114 loc) • 3.04 kB
JSON
{
"name": "@mirad-work/sms-core",
"version": "0.5.1",
"description": "A framework-agnostic TypeScript SMS service core with provider abstraction for Iranian SMS providers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "npm run clean && tsc",
"build:watch": "tsc --watch",
"build:dev": "tsc --sourceMap",
"clean": "rimraf dist coverage",
"dev": "npm run build:watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --coverage --ci --watchAll=false",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"lint:check": "eslint src/**/*.ts --max-warnings 0",
"typecheck": "tsc --noEmit",
"validate": "npm run typecheck && npm run lint:check && npm run test:ci",
"prepublishOnly": "npm run validate && npm run build",
"preversion": "npm run validate",
"postversion": "git push origin main && git push origin --tags && git push github main && git push github --tags",
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,js,json,md}\"",
"ci": "npm run validate && npm run build",
"prepare": "husky"
},
"keywords": [
"sms",
"typescript",
"kavenegar",
"smsir",
"sms.ir",
"melipayamak",
"ippanel",
"framework-agnostic",
"otp",
"verification",
"iran",
"persian",
"nodejs",
"api",
"messaging",
"notification"
],
"author": {
"name": "Mirad Work Organization",
"email": "opensource@mirad-work.work"
},
"license": "MIT",
"homepage": "https://github.com/mirad-work/sms-core#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/mirad-work/sms-core.git"
},
"bugs": {
"url": "https://github.com/mirad-work/sms-core/issues"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md"
],
"devDependencies": {
"@eslint/js": "9.33.0",
"@types/jest": "29.5.14",
"@types/node": "24.3.0",
"@types/node-fetch": "2.6.13",
"@typescript-eslint/eslint-plugin": "8.40.0",
"@typescript-eslint/parser": "8.40.0",
"eslint": "9.33.0",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "16.1.5",
"prettier": "3.6.2",
"rimraf": "6.0.1",
"ts-jest": "29.4.1",
"typescript": "5.9.2"
},
"dependencies": {
"node-fetch": "2.6.13"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"lint-staged": {
"src/**/*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"src/**/*.{json,md}": [
"prettier --write"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}