All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
85 lines
2.1 KiB
JSON
85 lines
2.1 KiB
JSON
{
|
|
"name": "mdast-util-to-hast",
|
|
"version": "4.0.0",
|
|
"description": "Transform mdast to hast",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"mdast",
|
|
"util",
|
|
"hast"
|
|
],
|
|
"repository": "syntax-tree/mdast-util-to-hast",
|
|
"bugs": "https://github.com/syntax-tree/mdast-util-to-hast/issues",
|
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"contributors": [
|
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
|
],
|
|
"files": [
|
|
"lib",
|
|
"index.js"
|
|
],
|
|
"dependencies": {
|
|
"collapse-white-space": "^1.0.0",
|
|
"detab": "^2.0.0",
|
|
"mdast-util-definitions": "^1.2.0",
|
|
"mdurl": "^1.0.1",
|
|
"trim": "0.0.1",
|
|
"trim-lines": "^1.0.0",
|
|
"unist-builder": "^1.0.1",
|
|
"unist-util-generated": "^1.1.0",
|
|
"unist-util-position": "^3.0.0",
|
|
"unist-util-visit": "^1.1.0",
|
|
"xtend": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^16.0.0",
|
|
"nyc": "^13.0.0",
|
|
"prettier": "^1.13.3",
|
|
"remark-cli": "^6.0.0",
|
|
"remark-preset-wooorm": "^4.0.0",
|
|
"tape": "^4.0.0",
|
|
"tinyify": "^2.4.3",
|
|
"xo": "^0.23.0"
|
|
},
|
|
"scripts": {
|
|
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
|
|
"build-bundle": "browserify index.js -s mdastUtilToHast > mdast-util-to-hast.js",
|
|
"build-mangle": "browserify index.js -s mdastUtilToHast -p tinyify > mdast-util-to-hast.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,
|
|
"rules": {
|
|
"no-var": "off",
|
|
"prefer-arrow-callback": "off",
|
|
"guard-for-in": "off"
|
|
},
|
|
"ignores": [
|
|
"mdast-util-to-hast.js"
|
|
]
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
}
|
|
}
|