devsite/node_modules/bcp-47-match/package.json
2024-07-07 18:49:38 -07:00

98 lines
2.2 KiB
JSON

{
"name": "bcp-47-match",
"version": "1.0.3",
"description": "Match BCP 47 language tags with language ranges per RFC 4647",
"license": "MIT",
"keywords": [
"bcp",
"47",
"bcp47",
"bcp-47",
"language",
"tag",
"match",
"matching",
"check",
"rfc",
"4647"
],
"repository": "wooorm/bcp-47-match",
"bugs": "https://github.com/wooorm/bcp-47-match/issues",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"files": [
"index.js"
],
"dependencies": {},
"devDependencies": {
"browserify": "^17.0.0",
"chalk": "^4.0.0",
"nyc": "^15.0.0",
"prettier": "^2.0.0",
"remark-cli": "^9.0.0",
"remark-preset-wooorm": "^8.0.0",
"tape": "^5.0.0",
"tinyify": "^3.0.0",
"xo": "^0.34.0"
},
"scripts": {
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"build-bundle": "browserify index.js -s bcp47Match -o bcp-47-match.js",
"build-mangle": "browserify index.js -s bcp47Match -p tinyify -o bcp-47-match.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"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"no-eq-null": "off",
"unicorn/prefer-includes": "off"
}
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"remarkConfig": {
"plugins": [
"preset-wooorm",
[
"gfm",
{
"tablePipeAlign": false
}
],
[
"lint-table-pipe-alignment",
false
]
]
}
}