-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
99 lines (99 loc) · 2.62 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "kuroshiro",
"version": "1.2.0",
"description": "kuroshiro is a Japanese language library for converting Japanese sentence to Hiragana, Katakana or Romaji with furigana and okurigana modes supported.",
"main": "lib/index.js",
"module": "src/index.js",
"scripts": {
"lint": "eslint src test",
"lint:fix": "eslint --fix src test --ext .js",
"jest": "jest --verbose",
"jest:watch": "npm run jest -- --watch",
"jest:coverage": "jest --verbose --coverage",
"test": "npm run lint && npm run jest",
"clean": "rimraf lib dist",
"build": "npm run build:cjs && npm run build:umd && npm run build:umd:min",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib",
"build:umd": "cross-env BABEL_ENV=umd NODE_ENV=development browserify src/index.js -s Kuroshiro -o dist/kuroshiro.js -t [ babelify ]",
"build:umd:min": "cross-env BABEL_ENV=umd NODE_ENV=production browserify src/index.js -s Kuroshiro -g uglifyify -o dist/kuroshiro.min.js -t [ babelify ]"
},
"repository": {
"type": "git",
"url": "https://github.com/hexenq/kuroshiro.git"
},
"keywords": [
"Japanese",
"language",
"convert",
"converter",
"kanji",
"hiragana",
"katakana",
"kana",
"romaji",
"furigana",
"okurigana",
"library",
"utility",
"tool",
"hepburn"
],
"author": {
"name": "Hexen Qi",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/hexenq/kuroshiro/issues"
},
"homepage": "https://github.com/hexenq/kuroshiro",
"dependencies": {
"@babel/runtime": "^7.14.0"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.8.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"coveralls": "^3.1.0",
"cross-env": "^5.2.1",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.23.4",
"husky": "^2.4.0",
"jest": "^24.8.0",
"kuroshiro-analyzer-kuromoji": "^1.1.0",
"lint-staged": "^8.2.0",
"uglifyify": "^5.0.2"
},
"engines": {
"node": ">=6.5.0"
},
"browserify": {
"transform": [
[
"babelify"
]
]
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.jsx?$",
"testURL": "http://localhost"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": "eslint",
"test/**/*.js": "eslint"
}
}