-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
106 lines (106 loc) · 2.81 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
100
101
102
103
104
105
106
{
"name": "segmentit",
"main": "dist/cjs",
"module": "dist/esm/segmentit.js",
"browser": "dist/umd/segmentit.js",
"files": [
"dist"
],
"version": "2.0.3",
"description": "Chinese word segmentation 中文分词模块 with browser && electron support",
"keywords": [
"segment",
"chinese",
"POS",
"mlp",
"中文",
"electron",
"浏览器",
"browser",
"nodejs",
"分词"
],
"homepage": "https://github.com/linonetwo/segmentit#readme",
"bugs": {
"url": "https://github.com/linonetwo/segmentit/issues"
},
"scripts": {
"clean": "rimraf dist & rimraf build & rimraf coverage",
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
"lint": "eslint .",
"lintfix": "eslint . --fix",
"postlint": "npm run typecheck",
"typecheck": "flow check",
"test": "npm run test-only",
"test-only": "jest --coverage",
"test:watch": "jest --watch",
"prepare": "npm run build",
"prepublishOnly": "npm run test",
"build": "NODE_ENV=production && npm run clean && rollup -c",
"build:watch": "babel --watch src -d dist"
},
"authors": [
"Lei Zongmin <leizongmin@gmail.com>",
"Linonetwo <linonetwo012@gmail.com> (https://onetwo.ren/)"
],
"contributors": [
{
"name": "Lei Zongmin",
"email": "leizongmin@gmail.com"
},
{
"name": "Linonetwo",
"email": "linonetwo012@gmail.com"
}
],
"repository": {
"type": "git",
"url": "git://github.com/linonetwo/segmentit.git"
},
"browserslist": "> 0.25%, not dead",
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"js"
],
"watchman": false,
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/**/*.js"
]
},
"dependencies": {
"preval.macro": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-flow": "^7.7.4",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-macros": "^2.8.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-flowtype": "~4.5.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"flow-bin": "^0.114.0",
"flow-typed": "^2.6.2",
"jest": "^24.9.0",
"mocha": "^6.2.2",
"rimraf": "^3.0.0",
"rollup": "^1.27.13",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-uglify": "^6.0.4",
"should": "^13.2.3",
"uglify-es": "^3.3.9"
}
}