1 | {
|
2 | "name": "transliteration",
|
3 | "version": "2.0.2",
|
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 | "coverage": "nyc npm test",
|
24 | "coveralls": "nyc npm test && nyc report -r=text-lcov | coveralls",
|
25 | "prepublish": "npm run lint && npm test && npm run build"
|
26 | },
|
27 | "nyc": {
|
28 | "extension": [
|
29 | ".ts"
|
30 | ]
|
31 | },
|
32 | "repository": {
|
33 | "type": "git",
|
34 | "url": "https://github.com/dzcpy/transliteration.git"
|
35 | },
|
36 | "keywords": [
|
37 | "transliterate",
|
38 | "transliteration",
|
39 | "utf8",
|
40 | "slug",
|
41 | "slugify",
|
42 | "romanization",
|
43 | "unicode",
|
44 | "unidecode"
|
45 | ],
|
46 | "author": "Andy Hu",
|
47 | "license": "MIT",
|
48 | "bugs": {
|
49 | "url": "https://github.com/dzcpy/transliteration/issues"
|
50 | },
|
51 | "engines": {
|
52 | "node": ">=6.0.0"
|
53 | },
|
54 | "devDependencies": {
|
55 | "@babel/core": "^7.2.0",
|
56 | "@babel/plugin-proposal-class-properties": "^7.2.3",
|
57 | "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
|
58 | "@babel/preset-env": "^7.2.0",
|
59 | "@babel/preset-typescript": "^7.1.0",
|
60 | "@types/execa": "^0.9.0",
|
61 | "@types/tape": "^4.2.33",
|
62 | "@types/yargs": "^12.0.4",
|
63 | "codecov": "^3.1.0",
|
64 | "coveralls": "^3.0.2",
|
65 | "execa": "^1.0.0",
|
66 | "json5": "^2.1.0",
|
67 | "nyc": "^13.1.0",
|
68 | "rimraf": "^2.6.1",
|
69 | "rollup": "^1.0.0",
|
70 | "rollup-plugin-babel": "^4.3.0",
|
71 | "rollup-plugin-commonjs": "^9.2.0",
|
72 | "rollup-plugin-hashbang": "^1.0.1",
|
73 | "rollup-plugin-terser": "^4.0.2",
|
74 | "rollup-plugin-typescript2": "^0.18.1",
|
75 | "rollup-plugin-uglify": "^6.0.0",
|
76 | "tap-spec": "^5.0.0",
|
77 | "tape": "^4.9.1",
|
78 | "ts-loader": "^5.3.3",
|
79 | "ts-node": "^7.0.1",
|
80 | "tslint": "^5.12.0",
|
81 | "tslint-config-prettier": "^1.17.0",
|
82 | "typescript": "^3.2.2"
|
83 | },
|
84 | "dependencies": {
|
85 | "yargs": "^12.0.1"
|
86 | }
|
87 | }
|