-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "translitro",
"version": "0.2.3",
"description": "Normalise and transform special characters and non-latin characters (including Chinese and Japanese) to basic latin characters",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./index.ts",
"scripts": {
"build": "rm -rf ./dist && tsc",
"lint": "eslint 'index.ts' './declarations/**/*.ts' './__tests__/**/*.ts' './lib/**/*.ts' -c .eslintrc.json --ignore-path .lintignore",
"lint:fix": "eslint 'index.ts' './declarations/**/*.ts' './__tests__/**/*.ts' './lib/**/*.ts' -c .eslintrc.json --ignore-path .lintignore --fix",
"test": "jest --coverage",
"test:watch": "jest --watch",
"pre-publish": "npm run lint && npm run build && npm run test"
},
"author": "Matt Scheurich <[email protected]>",
"license": "Apache-2.0",
"dependencies": {
"change-case": "^4.1.1",
"kuroshiro": "^1.1.2",
"kuroshiro-analyzer-kuromoji": "^1.1.0",
"pinyin": "^2.9.1",
"transliteration": "^2.1.11",
"tslib": "^2.0.0",
"xregexp": "^4.3.0"
},
"devDependencies": {
"@types/jest": "^26.0.4",
"@types/pinyin": "^2.8.1",
"@types/xregexp": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.1.0",
"jest-cli": "^26.1.0",
"prettier": "^2.0.5",
"ts-jest": "^26.1.2",
"typescript": "^3.9.6"
}
}