-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
104 lines (104 loc) · 2.88 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
{
"name": "sentence-splitter",
"version": "5.0.0",
"description": "split {japanese, english} text into sentences.",
"keywords": [
"text",
"analytics",
"textlint",
"nlp"
],
"homepage": "https://github.com/textlint-rule/sentence-splitter",
"bugs": {
"url": "https://github.com/textlint-rule/sentence-splitter/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/textlint-rule/sentence-splitter.git"
},
"license": "MIT",
"author": "azu",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"types": "./module/sentence-splitter.d.ts",
"default": "./module/sentence-splitter.js"
},
"require": {
"types": "./lib/sentence-splitter.d.ts",
"default": "./lib/sentence-splitter.js"
},
"default": "./lib/sentence-splitter.js"
},
"./lang": {
"import": {
"types": "./module/parser/lang/index.d.ts",
"default": "./module/parser/lang/index.js"
},
"require": {
"types": "./lib/parser/lang/index.d.ts",
"default": "./lib/parser/lang/index.js"
}
},
"./package.json": "./package.json"
},
"main": "./lib/sentence-splitter.js",
"module": "./module/sentence-splitter.js",
"types": "./module/sentence-splitter.d.ts",
"directories": {
"test": "test"
},
"files": [
"bin/",
"lib/",
"module/",
"src/"
],
"scripts": {
"build": "tsc -p . && tsc -p ./tsconfig.cjs.json && tsconfig-to-dual-package",
"clean": "git clean -fx lib/ module/",
"createInputJson": "ts-node-esm ./scripts/generate-input-json-from-_input-md.ts",
"dev": "vite",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"postcommit": "git reset",
"precommit": "lint-staged",
"prepare": "git rev-parse --is-inside-work-tree > /dev/null 2>&1 && git config --local core.hooksPath .githooks || echo 'Not inside a Git work tree'",
"prepublishOnly": "npm run clean && npm run build",
"prepublish": "npm run --if-present build",
"site:build": "vite build",
"test": "mocha",
"updateSnapshot": "npm run createInputJson && UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -p . --watch"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
},
"dependencies": {
"@textlint/ast-node-types": "^13.4.1",
"structured-source": "^4.0.0"
},
"devDependencies": {
"@textlint/markdown-to-ast": "^13.4.1",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.0",
"lint-staged": "^15.1.0",
"mocha": "^10.2.0",
"prettier": "^3.1.0",
"ts-node": "^10.9.1",
"tsconfig-to-dual-package": "^1.2.0",
"typescript": "^5.3.2",
"vite": "^5.0.2"
},
"packageManager": "[email protected]",
"email": "[email protected]"
}