gtin-validator
Version:
Utilities to validate and work with GTIN and UPC product codes.
79 lines (78 loc) • 1.73 kB
JSON
{
"name": "gtin-validator",
"version": "1.0.0",
"description": "Utilities to validate and work with GTIN and UPC product codes.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "jest",
"lint": "eslint -c .eslintrc.json -c .eslintrc.json --fix",
"prebuild": "npm run lint",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"files": [
"lib/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/GunCompare/gtin-validator.git"
},
"keywords": [
"gtin",
"gtin-12",
"gtin12",
"gtin-13",
"gtin13",
"gtin-14",
"gtin14",
"valid",
"validation",
"validator",
"upc",
"upc12",
"upc-12",
"upc-8",
"upc8",
"upca",
"upc-a",
"upce",
"upc-e",
"ucc",
"ucc12",
"ucc-12",
"ean",
"ean-13",
"ean13",
"itf",
"itf13",
"itf-13",
"itf14",
"itf-14",
"product codes",
"jan",
"jan-13",
"jan13"
],
"author": "GunCompare",
"license": "MIT",
"bugs": {
"url": "https://github.com/GunCompare/gtin-validator/issues"
},
"homepage": "https://guncompare.com/gtin-validator-package-docs/",
"devDependencies": {
"@types/jest": "^29.1.2",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"coveralls": "^3.1.1",
"eslint": "^8.24.0",
"jest": "^29.1.2",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
}
}