forked from lix-project/lix-website
86 lines
2.1 KiB
JSON
86 lines
2.1 KiB
JSON
{
|
|
"name": "vfile-message",
|
|
"version": "2.0.4",
|
|
"description": "vfile utility to create a virtual message",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"vfile",
|
|
"vfile-util",
|
|
"util",
|
|
"utility",
|
|
"virtual",
|
|
"file",
|
|
"message"
|
|
],
|
|
"repository": "vfile/vfile-message",
|
|
"bugs": "https://github.com/vfile/vfile-message/issues",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/unified"
|
|
},
|
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"contributors": [
|
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
|
],
|
|
"types": "types/index.d.ts",
|
|
"files": [
|
|
"types/index.d.ts",
|
|
"index.js"
|
|
],
|
|
"dependencies": {
|
|
"@types/unist": "^2.0.0",
|
|
"unist-util-stringify-position": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^16.0.0",
|
|
"dtslint": "^3.0.0",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^2.0.0",
|
|
"remark-cli": "^7.0.0",
|
|
"remark-preset-wooorm": "^6.0.0",
|
|
"tape": "^4.0.0",
|
|
"tinyify": "^2.0.0",
|
|
"xo": "^0.28.0"
|
|
},
|
|
"scripts": {
|
|
"format": "remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
|
|
"build-bundle": "browserify . -s vfileMessage > vfile-message.js",
|
|
"build-mangle": "browserify . -s vfileMessage -p tinyify > vfile-message.min.js",
|
|
"build": "npm run build-bundle && npm run build-mangle",
|
|
"test-api": "node test",
|
|
"test-coverage": "nyc --reporter lcov tape test.js",
|
|
"test-types": "dtslint types",
|
|
"test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
|
|
},
|
|
"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": {
|
|
"@typescript-eslint/member-ordering": "off"
|
|
},
|
|
"ignores": [
|
|
"types",
|
|
"vfile-message.js"
|
|
]
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
}
|
|
}
|