-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
89 lines (89 loc) · 2.2 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
{
"name": "retext-spell",
"version": "3.0.0",
"description": "retext plugin to check spelling",
"license": "MIT",
"keywords": [
"unified",
"retext",
"plugin",
"spelling",
"correct",
"checker",
"spell",
"fix",
"autocorrect"
],
"repository": "retextjs/retext-spell",
"bugs": "https://github.com/retextjs/retext-spell/issues",
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
"contributors": [
"Titus Wormer <[email protected]> (https://wooorm.com)",
"Josiah Sprague <[email protected]>",
"Jan Wirth <[email protected]>",
"Sylvan Swierkosz <[email protected]>"
],
"files": [
"index.js"
],
"dependencies": {
"lodash.includes": "^4.2.0",
"nlcst-is-literal": "^1.0.0",
"nlcst-to-string": "^2.0.0",
"nspell": "^2.0.0",
"quotation": "^1.1.0",
"unist-util-visit": "^1.0.0"
},
"devDependencies": {
"browserify": "^16.0.0",
"dictionary-en-gb": "^2.0.0",
"dictionary-en-us": "^2.0.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"retext": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"xo": "^0.24.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify . -s retextSpell > retext-spell.js",
"build-mangle": "browserify . -s retextSpell -p tinyify > retext-spell.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test.js",
"test": "npm run format && npm run build && npm run test-coverage"
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"unicorn/prefer-type-error": "off",
"unicorn/no-new-buffer": "off"
},
"ignores": [
"retext-spell.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}