1 | {
|
2 | "name": "transliteration",
|
3 | "version": "2.3.5",
|
4 | "description": "Unicode to ACSII transliteration / slugify module for node.js, browser, Web Worker, ReactNative and CLI.",
|
5 | "main": "dist/node/src/node/index.js",
|
6 | "module": "dist/browser/bundle.esm.min.js",
|
7 | "jsnext": "dist/browser/bundle.esm.min.js",
|
8 | "browser": "dist/browser/bundle.umd.min.js",
|
9 | "bin": {
|
10 | "transliterate": "dist/bin/transliterate",
|
11 | "slugify": "dist/bin/slugify"
|
12 | },
|
13 | "types": "dist/node/src/node/index.d.ts",
|
14 | "scripts": {
|
15 | "generate:data": "node scripts/generate_data.js",
|
16 | "lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
|
17 | "pretest": "npm run lint",
|
18 | "test": "npm run test:node && npm run test:cli",
|
19 | "test:node": "ts-node node_modules/tape/bin/tape test/common/*.ts | tap-spec",
|
20 | "test:cli": "ts-node node_modules/tape/bin/tape test/cli/*.ts | tap-spec",
|
21 | "prebuild": "npm run generate:data && rimraf dist",
|
22 | "build": "rollup -c rollup.config.js && rimraf .rpt2_cache && tsc",
|
23 | "postbuild": "(ver && (echo export * from '../types';>> dist/node/src/node/index.d.ts)) || (echo \"export * from '../types';\">> dist/node/src/node/index.d.ts)",
|
24 | "coverage": "nyc npm test",
|
25 | "coveralls": "nyc npm test && nyc report -r=text-lcov | coveralls",
|
26 | "prepublish": "npm run lint && npm test && npm run build"
|
27 | },
|
28 | "nyc": {
|
29 | "extension": [
|
30 | ".ts"
|
31 | ]
|
32 | },
|
33 | "repository": {
|
34 | "type": "git",
|
35 | "url": "https://github.com/dzcpy/transliteration.git"
|
36 | },
|
37 | "keywords": [
|
38 | "transliterate",
|
39 | "transliteration",
|
40 | "utf8",
|
41 | "slug",
|
42 | "slugify",
|
43 | "romanization",
|
44 | "unicode",
|
45 | "unidecode"
|
46 | ],
|
47 | "author": "",
|
48 | "license": "MIT",
|
49 | "bugs": {
|
50 | "url": "https://github.com/dzcpy/transliteration/issues"
|
51 | },
|
52 | "engines": {
|
53 | "node": ">=6.0.0"
|
54 | },
|
55 | "devDependencies": {
|
56 | "@babel/core": "7.18.6",
|
57 | "@babel/plugin-proposal-class-properties": "7.18.6",
|
58 | "@babel/plugin-proposal-object-rest-spread": "7.18.6",
|
59 | "@babel/preset-env": "7.18.6",
|
60 | "@babel/preset-typescript": "7.18.6",
|
61 | "@types/tape": "4.13.2",
|
62 | "@types/yargs": "17.0.10",
|
63 | "codecov": "3.8.3",
|
64 | "core-js": "3.23.3",
|
65 | "coveralls": "3.1.1",
|
66 | "eslint-config-prettier": "^8.5.0",
|
67 | "json5": "2.2.1",
|
68 | "nyc": "15.1.0",
|
69 | "prettier": "^2.7.1",
|
70 | "rimraf": "3.0.2",
|
71 | "rollup": "2.75.7",
|
72 | "rollup-plugin-babel": "5.0.0-alpha.2",
|
73 | "rollup-plugin-commonjs": "10.1.0",
|
74 | "rollup-plugin-hashbang": "3.0.0",
|
75 | "rollup-plugin-sourcemaps": "0.6.3",
|
76 | "rollup-plugin-terser": "7.0.2",
|
77 | "rollup-plugin-typescript2": "0.32.1",
|
78 | "rollup-plugin-uglify": "6.0.4",
|
79 | "tap-spec": "5.0.0",
|
80 | "tape": "5.5.3",
|
81 | "ts-loader": "9.3.1",
|
82 | "ts-node": "10.8.2",
|
83 | "tslint": "6.1.3",
|
84 | "tslint-config-prettier": "1.18.0",
|
85 | "typescript": "4.7.4"
|
86 | },
|
87 | "dependencies": {
|
88 | "yargs": "^17.5.1"
|
89 | }
|
90 | }
|