date-japanese
Version:
Seamless conversion between Japanese era dates (和暦) and Western dates — with full kanji numeral and OCR support.
71 lines • 1.92 kB
JSON
{
"name": "date-japanese",
"version": "2.1.0",
"description": "Seamless conversion between Japanese era dates (和暦) and Western dates — with full kanji numeral and OCR support.",
"type": "module",
"main": "dist/build.cjs",
"module": "dist/build.mjs",
"browser": "dist/build.js",
"exports": {
".": {
"import": "./dist/build.mjs",
"require": "./dist/build.cjs"
}
},
"types": "types/index.d.ts",
"files": [
"dist/",
"types/",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"watch": "rollup -c rollup.config.js --watch",
"prewatch": "rimraf dist types",
"build": "rollup -c rollup.config.js",
"prebuild": "rimraf dist types",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"//test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --silent"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shumatsumonobu/date-japanese.git"
},
"keywords": [
"japanese-calendar",
"wareki",
"和暦",
"gregorian",
"date-conversion",
"kanji-numerals",
"meiji",
"taisho",
"showa",
"heisei",
"reiwa",
"ocr",
"typescript"
],
"author": "shumatsumonobu <shumatsumonobu@gmail.com> (https://x.com/shumatsumonobu)",
"license": "MIT",
"bugs": {
"url": "https://github.com/shumatsumonobu/date-japanese/issues",
"email": "shumatsumonobu@gmail.com"
},
"homepage": "https://github.com/shumatsumonobu/date-japanese#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@types/jest": "^30.0.0",
"jest": "^30.2.0",
"rimraf": "^6.1.3",
"rollup": "^4.59.0",
"rollup-plugin-typescript2": "^0.36.0"
},
"dependencies": {
"moment": "^2.30.1"
}
}