@natlibfi/sfs-4900
Version:
Transliteration from cyrillic (Russian, Ukrainian) text to latin (Finnish) as defined in the SFS-4900 standard
120 lines (119 loc) • 2.79 kB
JSON
{
"name": "@natlibfi/sfs-4900",
"version": "1.1.0",
"license": "MIT",
"description": "Transliteration from cyrillic (Russian, Ukrainian) text to latin (Finnish) as defined in the SFS-4900 standard",
"author": "The National Library of Finland",
"contributors": [
"Pasi Tuominen <pasi.tuominen@gmail.com>",
"The National Library of Finland"
],
"keywords": [
"SFS-4900",
"sfs4900",
"standard",
"romanization",
"Russian",
"Ukranian",
"Finnish",
"transliteration"
],
"homepage": "https://github.com/NatLibFi/sfs-4900",
"bugs": {
"url": "https://github.com/NatLibFi/sfs-4900/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/natlibfi/sfs-4900.git"
},
"main": "dist/transliteration.js",
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"prepare": "npm run build",
"build": "babel ./src --source-maps --copy-files --delete-dir-on-start --out-dir=dist",
"lint": "eslint ./src",
"lint:dev": "eslint --fix ./src",
"test": "npm run lint && npm run test:base",
"test:base": "cross-env NODE_ENV=test nyc mocha",
"test:dev": "npm run lint:dev && cross-env NODE_ENV=test nyc mocha",
"dev": "nodemon",
"dev:debug": "cross-env LOG_LEVEL=debug DEBUG=@natlibfi/* NODE_ENV=test nodemon",
"coverage": "npm run cover:unit && npm run cover:report",
"cover:unit": "nyc --silent npm run test:base",
"cover:report": "nyc report"
},
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@natlibfi/eslint-config-melinda-backend": "^3.0.5",
"@natlibfi/fixugen": "^2.0.10",
"@natlibfi/fixura": "^3.0.10",
"babel-plugin-istanbul": "^7.0.0",
"chai": "^4.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"mocha": "^10.7.3",
"nyc": "^17.1.0"
},
"eslintConfig": {
"extends": [
"@natlibfi/melinda-backend"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "maintained node versions"
}
]
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"mocha": {
"spec": [
"test/*.spec.js"
],
"require": [
"@babel/register"
],
"inline-diffs": true,
"maxDiffSize": 25000,
"bail": true,
"exit": true
},
"nodemonConfig": {
"exec": "npm run test:dev",
"watch": [
"src/*",
"test/*"
]
},
"nyc": {
"exclude": [
"test/*.spec.js"
],
"reporter": [
"text"
],
"sourceMap": false,
"instrument": false,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80
}
}