transliteration
Version:
Unicode to ACSII transliteration / slugify module for node.js, browser, Web Worker, ReactNative and CLI.
91 lines (90 loc) • 2.86 kB
JSON
{
"name": "transliteration",
"version": "2.3.5",
"description": "Unicode to ACSII transliteration / slugify module for node.js, browser, Web Worker, ReactNative and CLI.",
"main": "dist/node/src/node/index.js",
"module": "dist/browser/bundle.esm.min.js",
"jsnext": "dist/browser/bundle.esm.min.js",
"browser": "dist/browser/bundle.umd.min.js",
"bin": {
"transliterate": "dist/bin/transliterate",
"slugify": "dist/bin/slugify"
},
"types": "dist/node/src/node/index.d.ts",
"scripts": {
"generate:data": "node scripts/generate_data.js",
"lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
"pretest": "npm run lint",
"test": "npm run test:node && npm run test:cli",
"test:node": "ts-node node_modules/tape/bin/tape test/common/*.ts | tap-spec",
"test:cli": "ts-node node_modules/tape/bin/tape test/cli/*.ts | tap-spec",
"prebuild": "npm run generate:data && rimraf dist",
"build": "rollup -c rollup.config.js && rimraf .rpt2_cache && tsc",
"postbuild": "(ver && (echo export * from '../types';>> dist/node/src/node/index.d.ts)) || (echo \"export * from '../types';\">> dist/node/src/node/index.d.ts)",
"coverage": "nyc npm test",
"coveralls": "nyc npm test && nyc report -r=text-lcov | coveralls",
"prepublish": "npm run lint && npm test && npm run build"
},
"nyc": {
"extension": [
".ts"
]
},
"repository": {
"type": "git",
"url": "https://github.com/dzcpy/transliteration.git"
},
"keywords": [
"transliterate",
"transliteration",
"utf8",
"slug",
"slugify",
"romanization",
"unicode",
"unidecode"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/dzcpy/transliteration/issues"
},
"engines": {
"node": ">=6.0.0"
},
"devDependencies": {
"@babel/core": "7.18.6",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.18.6",
"@babel/preset-env": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@types/tape": "4.13.2",
"@types/yargs": "17.0.10",
"codecov": "3.8.3",
"core-js": "3.23.3",
"coveralls": "3.1.1",
"eslint-config-prettier": "^8.5.0",
"json5": "2.2.1",
"nyc": "15.1.0",
"prettier": "^2.7.1",
"rimraf": "3.0.2",
"rollup": "2.75.7",
"rollup-plugin-babel": "5.0.0-alpha.2",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-hashbang": "3.0.0",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.32.1",
"rollup-plugin-uglify": "6.0.4",
"tap-spec": "5.0.0",
"tape": "5.5.3",
"ts-loader": "9.3.1",
"ts-node": "10.8.2",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "4.7.4"
},
"dependencies": {
"yargs": "^17.5.1"
}
}