85 lines
1.9 KiB
JSON
85 lines
1.9 KiB
JSON
{
|
|
"name": "bcp-47-normalize",
|
|
"version": "1.1.1",
|
|
"description": "Normalize, canonicalize, and format BCP 47 tags",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"bcp",
|
|
"47",
|
|
"bcp47",
|
|
"bcp-47",
|
|
"language",
|
|
"region",
|
|
"script",
|
|
"tag",
|
|
"subtag",
|
|
"format",
|
|
"pretty",
|
|
"normal",
|
|
"canonical"
|
|
],
|
|
"repository": "wooorm/bcp-47-normalize",
|
|
"bugs": "https://github.com/wooorm/bcp-47-normalize/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",
|
|
"lib/"
|
|
],
|
|
"dependencies": {
|
|
"bcp-47": "^1.0.0",
|
|
"bcp-47-match": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"node-fetch": "^2.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",
|
|
"unist-util-visit": "^2.0.0",
|
|
"xast-util-from-xml": "^1.0.0",
|
|
"xo": "^0.34.0"
|
|
},
|
|
"scripts": {
|
|
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
|
|
"test-api": "node test",
|
|
"test-coverage": "nyc --reporter lcov tape test.js",
|
|
"test": "npm run format && npm run test-coverage"
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"esnext": false,
|
|
"rules": {
|
|
"unicorn/explicit-length-check": "off",
|
|
"unicorn/prefer-includes": "off",
|
|
"unicorn/prefer-number-properties": "off",
|
|
"unicorn/prefer-set-has": "off"
|
|
}
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"lines": 100,
|
|
"functions": 100,
|
|
"branches": 100
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
}
|
|
}
|