-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.03 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
{
"name": "hast-util-from-parse5",
"version": "5.0.0",
"description": "Transform Parse5’s AST to HAST",
"license": "MIT",
"keywords": [
"parse5",
"ast",
"hast",
"utility"
],
"repository": "syntax-tree/hast-util-from-parse5",
"bugs": "https://github.com/syntax-tree/hast-util-from-parse5/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"files": [
"index.js"
],
"dependencies": {
"ccount": "^1.0.3",
"hastscript": "^5.0.0",
"property-information": "^5.0.0",
"web-namespaces": "^1.1.2",
"xtend": "^4.0.1"
},
"devDependencies": {
"browserify": "^16.0.0",
"is-hidden": "^1.1.0",
"not": "^0.1.0",
"nyc": "^13.0.0",
"parse5": "^5.0.0",
"prettier": "^1.13.5",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.0.0",
"tinyify": "^2.4.3",
"to-vfile": "^5.0.0",
"unist-util-visit": "^1.1.3",
"xo": "^0.23.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.js -s hastUtilFromParse5 > hast-util-from-parse5.js",
"build-mangle": "browserify index.js -p tinyify -s hastUtilFromParse5 > hast-util-from-parse5.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test",
"test": "npm run format && npm run build && npm run test-coverage"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"guard-for-in": "off"
},
"ignores": [
"hast-util-from-parse5.js"
]
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}