-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
82 lines (82 loc) · 2.66 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
{
"name": "textchecker-element",
"version": "0.17.0",
"description": "Overlay text checker web compoentns.",
"keywords": [
"webcomponent",
"customelement",
"spellchecker"
],
"homepage": "https://github.com/textlint/editor/tree/master/packages/textchecker-element/",
"bugs": {
"url": "https://github.com/textlint/editor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/textlint/editor.git"
},
"license": "MIT",
"author": "azu",
"sideEffects": [
"lib/textchecker-element.js"
],
"main": "lib/index.js",
"module": "module/index.js",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"bin/",
"lib/",
"module/",
"public-dist/"
],
"scripts": {
"compile:textlint": "textlint-script-compiler --outputDir public --metadataName \"example\" --metadataNamespace \"https://github.com/textlint/editor\"",
"predev": "npm run compile:textlint",
"dev": "vite",
"website": "npm run compile:textlint && vite build",
"build": "tsc -p . && tsc --project ./tsconfig.module.json",
"build:public-lib": "vite build --mode production --config vite.lib.config.js && npm run build:public-lib-backward-compat",
"build:public-lib-backward-compat": "cp public-dist/textchecker-element.esm.js public-dist/textchecker-element.es.js",
"clean": "rimraf lib/ module/",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepublishOnly": "npm run build:public-lib && npm run build && npm run website-generator",
"watch": "tsc -p . --watch"
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@textlint/script-compiler": "^0.17.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.13.0",
"@types/rimraf": "^3.0.0",
"mocha": "^10.8.2",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"textlint-rule-preset-ja-technical-writing": "^8.0.0",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.9.5",
"vite": "^4.4.4"
},
"dependencies": {
"@textlint/source-code-fixer": "^14.0.4",
"eventmit": "^1.1.0",
"lit-html": "^1.3.0",
"p-debounce": "^2.1.0",
"text-caret-pos": "^1.0.1",
"to-px": "^1.1.0"
},
"browserslist": [
"last 1 chrome version",
"last 1 firefox version"
]
}