96 lines
2.2 KiB
JSON
96 lines
2.2 KiB
JSON
{
|
|
"name": "bcp-47",
|
|
"version": "1.0.8",
|
|
"description": "Parse and stringify BCP 47 language tags",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"bcp",
|
|
"47",
|
|
"bcp47",
|
|
"bcp-47",
|
|
"language",
|
|
"tag",
|
|
"parse"
|
|
],
|
|
"repository": "wooorm/bcp-47",
|
|
"bugs": "https://github.com/wooorm/bcp-47/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": {
|
|
"is-alphabetical": "^1.0.0",
|
|
"is-alphanumerical": "^1.0.0",
|
|
"is-decimal": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^17.0.0",
|
|
"is-hidden": "^1.0.0",
|
|
"not": "^0.1.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 bcp47 -o bcp-47.js",
|
|
"build-mangle": "browserify index.js -s bcp47 -p tinyify -o bcp-47.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"
|
|
},
|
|
"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",
|
|
"no-multi-assign": "off",
|
|
"unicorn/explicit-length-check": "off",
|
|
"unicorn/no-fn-reference-in-iterator": "off",
|
|
"unicorn/prefer-includes": "off"
|
|
},
|
|
"ignores": [
|
|
"bcp-47.js"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"lines": 100,
|
|
"functions": 100,
|
|
"branches": 100
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
}
|
|
}
|