unist-util-position
Version:
Utility to get the position of unist nodes
70 lines (69 loc) • 1.76 kB
JSON
{
"name": "unist-util-position",
"version": "3.0.3",
"description": "Utility to get the position of unist nodes",
"license": "MIT",
"keywords": [
"unist",
"node",
"position",
"point",
"util",
"utility"
],
"repository": "syntax-tree/unist-util-position",
"bugs": "https://github.com/syntax-tree/unist-util-position/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"files": [
"index.js"
],
"dependencies": {},
"devDependencies": {
"browserify": "^16.0.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.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 unistUtilPosition > unist-util-position.js",
"build-mangle": "browserify . -s unistUtilPosition -p tinyify > unist-util-position.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,
"ignores": [
"unist-util-position.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}