forked from hexenq/kuroshiro-analyzer-kuromoji
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 2.65 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
{
"name": "@sglkc/kuroshiro-analyzer-kuromoji",
"version": "1.0.1",
"description": "Forked version of kuroshiro-analyzer-kuromoji with TypeScript support and better compatibility for browsers",
"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 KuromojiAnalyzer -o dist/kuroshiro-analyzer-kuromoji.js -t [ babelify ]",
"build:umd:min": "cross-env BABEL_ENV=umd NODE_ENV=production browserify src/index.js -s KuromojiAnalyzer -g uglifyify -o dist/kuroshiro-analyzer-kuromoji.min.js -t [ babelify ]"
},
"keywords": [
"kuroshiro",
"morphology",
"analyzer",
"kuromoji",
"japanese",
"language",
"kanji",
"hiragana",
"katakana",
"romaji",
"kana"
],
"repository": {
"type": "git",
"url": "https://github.com/sglkc/kuroshiro-analyzer-kuromoji-ts.git"
},
"author": "sglkc",
"license": "MIT",
"bugs": {
"url": "https://github.com/sglkc/kuroshiro-analyzer-kuromoji-ts/issues"
},
"homepage": "https://github.com/sglkc/kuroshiro-analyzer-kuromoji-ts",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-jest": "^22.4.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^16.2.2",
"coveralls": "^3.0.1",
"cross-env": "^5.1.5",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"jest": "^22.4.4",
"uglifyify": "^5.0.0"
},
"browserify": {
"transform": [
[
"babelify"
]
]
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.jsx?$",
"testURL": "http://localhost"
},
"types": "./src/index.d.ts",
"dependencies": {
"@sglkc/kuromoji": "^1.0.1"
}
}