-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
80 lines (80 loc) · 1.98 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
{
"name": "nlcst-search",
"version": "1.4.3",
"description": "Search for patterns in an NLCST tree",
"license": "MIT",
"keywords": [
"pattern",
"search",
"nlcst",
"retext",
"utility"
],
"repository": "syntax-tree/nlcst-search",
"bugs": "https://github.com/syntax-tree/nlcst-search/issues",
"author": "Titus Wormer <[email protected]> (http://wooorm.com)",
"contributors": [
"Titus Wormer <[email protected]> (http://wooorm.com)",
"Dave Newton <[email protected]>",
"Tom MacWright <[email protected]>"
],
"files": [
"index.js"
],
"dependencies": {
"nlcst-is-literal": "^1.1.0",
"nlcst-normalize": "^2.1.0",
"unist-util-visit": "^1.0.0"
},
"devDependencies": {
"browserify": "^16.0.0",
"esmangle": "^1.0.0",
"nyc": "^11.0.2",
"prettier": "^1.12.1",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.0.0",
"xo": "^0.20.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.js --bare -s nlcstSearch > nlcst-search.js",
"build-mangle": "esmangle nlcst-search.js > nlcst-search.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": {
"guard-for-in": "off",
"no-var": "off",
"prefer-arrow-callback": "off",
"unicorn/prefer-type-error": "off"
},
"ignore": [
"nlcst-search.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}