mutf-8
Version:
An encoder and decoder for Modified UTF-8 which is used in the Java platform such as the class file format and object serialization.
52 lines (51 loc) • 1.61 kB
JSON
{
"name": "mutf-8",
"version": "1.2.0",
"description": "An encoder and decoder for Modified UTF-8 which is used in the Java platform such as the class file format and object serialization.",
"keywords": [
"charset",
"encoding",
"Java",
"MUTF-8",
"MUTF8"
],
"homepage": "https://github.com/sciencesakura/mutf-8",
"bugs": {
"url": "https://github.com/sciencesakura/mutf-8/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sciencesakura/mutf-8.git"
},
"license": "MIT",
"author": "sciencesakura <sakurasakurascience@gmail.com>",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"scripts": {
"build": "run-s check compile",
"build:ci": "run-s check:ci compile",
"check": "run-s lint test",
"check:ci": "run-s lint:ci test",
"clean": "rimraf dist",
"compile": "run-s compile:*",
"compile:cjs": "tsc && renamer --force --find '/\\.js$/' --replace .cjs 'dist/**'",
"compile:esm": "tsc -m es2022 --moduleResolution node10 -d && renamer --force --find '/\\.js$/' --replace .mjs 'dist/**'",
"lint": "biome check --write src",
"lint:ci": "biome check src",
"prepack": "cpx ../../{LICENSE,README.md} .",
"prepublishOnly": "npm run build",
"test": "vitest run --typecheck.tsconfig tsconfig.test.json"
},
"sideEffects": false,
"module": "./dist/index.mjs"
}