{ "name": "postal-code-checker", "version": "2.1.0", "description": "A package for validating postal codes from various countries.", "author": "Sashika Suraweera", "license": "MIT", "main": "./dist/index.cjs.js", "module": "./dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist/index.cjs.js", "dist/index.esm.js", "dist/index.d.ts", "LICENSE", "NOTICE" ], "scripts": { "clean": "rimraf dist", "build": "rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts", "build:cjs": "tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__", "build:esm": "tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__", "lint": "eslint .", "prettier": "prettier --write \"src/**/*.{js,ts}\"", "test": "jest", "sync:data": "ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts", "sync:check": "ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check", "gen:social-preview": "ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts", "prepare": "npm run build", "prepublishOnly": "npm test", "release": "npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public", "release:next": "npm run prettier && npm test && npm run build && npm publish --access public --tag next" }, "keywords": [ "postcode", "postal-code", "zipcode", "zip", "validation", "validator", "address", "country", "iso-3166", "typescript", "zero-dependencies", "form", "batch-validation", "react", "checkout" ], "repository": { "type": "git", "url": "git+https://github.com/sashiksu/postal-code-checker.git" }, "bugs": { "url": "https://github.com/sashiksu/postal-code-checker/issues" }, "homepage": "https://sashiksu.github.io/postal-code-checker/", "devDependencies": { "@eslint/js": "^9.7.0", "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@types/jest": "^29.5.12", "dts-bundle-generator": "^9.5.1", "eslint": "^9.7.0", "globals": "^15.0.0", "jest": "^29.7.0", "playwright": "^1.59.1", "prettier": "^3.3.3", "rimraf": "^6.0.1", "rollup": "^4.20.0", "ts-jest": "^29.2.4", "ts-node": "^10.9.2", "typescript": "^5.5.4", "typescript-eslint": "^8.0.0" } }