forked from rehypejs/rehype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.6 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
{
"private": true,
"license": "MIT",
"homepage": "https://github.com/rehypejs/rehype",
"repository": "rehypejs/rehype",
"bugs": "https://github.com/rehypejs/rehype/issues",
"devDependencies": {
"bail": "^1.0.0",
"browserify": "^16.0.0",
"execa": "^0.10.0",
"hast-util-assert": "^1.0.0",
"lerna": "^2.0.0",
"mdast-zone": "^3.0.1",
"nyc": "^12.0.0",
"prettier": "^1.13.5",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.5.1",
"tinyify": "^2.4.3",
"to-vfile": "^5.0.0",
"unist-builder": "^1.0.2",
"unist-util-remove-position": "^1.0.0",
"xo": "^0.21.0"
},
"scripts": {
"postinstall": "lerna bootstrap",
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify packages/rehype -s rehype > rehype.js",
"build-mangle": "browserify packages/rehype -p tinyify -s rehype > rehype.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test/index.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,
"ignores": [
"rehype.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm",
"./script/parse-error"
]
}
}