{
  "name": "encoding-japanese",
  "version": "2.4.0",
  "description": "Convert and detect character encodings in JavaScript",
  "main": "src/index.js",
  "types": "index.d.ts",
  "files": [
    "encoding.js",
    "encoding.min.js",
    "index.d.ts",
    "src/*"
  ],
  "scripts": {
    "build": "npm run compile && npm run minify",
    "compile": "browserify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare",
    "minify": "uglifyjs encoding.js -o encoding.min.js --comments -c -m -b ascii_only=true,beautify=false",
    "lint": "eslint .",
    "test": "npm run build && npm run test:types && mocha tests/test",
    "test:types": "tsc --project tsconfig.types.json",
    "watch": "watchify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare --poll=300 -v"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/polygonplanet/encoding.js.git"
  },
  "author": "polygonplanet <polygon.planet.aqua@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/polygonplanet/encoding.js/issues"
  },
  "homepage": "https://github.com/polygonplanet/encoding.js",
  "keywords": [
    "encoding",
    "charset",
    "convert",
    "detect",
    "japanese",
    "iconv",
    "shift-jis",
    "cp932",
    "euc-jp",
    "jis",
    "utf-8",
    "unicode",
    "utf-16",
    "base64",
    "urlencode",
    "urldecode",
    "utf8",
    "shift_jis",
    "sjis",
    "eucjp"
  ],
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@stylistic/eslint-plugin": "^5.10.0",
    "@types/node": "^26.5.0",
    "bannerify": "^1.0.1",
    "browserify": "^17.0.1",
    "eslint": "^10.9.1",
    "globals": "^17.12.0",
    "mocha": "^11.8.0",
    "package-json-versionify": "^1.0.4",
    "typescript": "^7.0.2",
    "uglify-js": "^3.19.3",
    "watchify": "^4.0.0"
  },
  "browserify": {
    "transform": [
      "package-json-versionify"
    ]
  }
}
