bcp47-validate
Version:
Simple validator for BCP47 locale tags
65 lines (64 loc) • 2.41 kB
JSON
{
"name": "bcp47-validate",
"version": "1.0.0",
"description": "Simple validator for BCP47 locale tags ",
"keywords": [
"bcp47",
"bcp-47",
"locale",
"language",
"validate",
"validator"
],
"license": "Apache-2.0",
"main": "dist/index.js",
"repository": "https://github.com/SafetyCulture/bcp47.git",
"scripts": {
"test": "NODE_ENV=test LOG_LEVEL=fatal mocha --recursive --compilers js:babel-register --reporter $npm_package_config_reporter -s 120 $npm_package_config_test_opts",
"cov": "npm run cov:html",
"cov:html": "NODE_ENV=test COVERAGE=yes LOG_LEVEL=fatal istanbul --include-all-sources cover -i '**/src/**' --report html ./node_modules/.bin/_mocha -- --recursive --compilers js:babel-register && open coverage/index.html",
"cov:coveralls": "NODE_ENV=test COVERAGE=yes LOG_LEVEL=fatal istanbul cover --report lcovonly ./node_modules/.bin/_mocha -- --compilers js:babel-register --recursive && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"lint": "eslint ./src/ ./test/ && echo Lint OK",
"compile": "babel src --out-dir dist --source-maps true",
"compile:watch": "babel src --out-dir dist --source-maps true --watch",
"deps": "npm run deps:missing && npm run deps:extra",
"deps:missing": "dependency-check package.json",
"deps:extra": "dependency-check package.json --extra --no-dev --ignore",
"audit": "nsp check",
"check": "npm run audit && npm run deps && npm outdated --depth 0",
"clean": "rm -rf node_modules/ && rm -rf coverage",
"prepublish": "npm run compile && npm test",
"pretest": "npm run lint"
},
"author": "(C) 2017 SafetyCulture Pty Ltd",
"config": {
"reporter": "spec",
"test_opts": "test/"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-eslint": "^6.1.0",
"babel-preset-es2015": "^6.9.0",
"babel-register": "^6.9.0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"coveralls": "^2.13.1",
"dependency-check": "^2.5.1",
"eslint": "^2.13.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.9.2",
"eslint-plugin-jsx-a11y": "^1.5.3",
"eslint-plugin-react": "^5.2.2",
"istanbul": "^1.0.0-alpha.2",
"lodash": "^4.15.0",
"mocha": "^2.5.3",
"nock": "^8.0.0",
"nsp": "^2.5.0"
},
"dependencies": {},
"babel": {
"presets": [
"es2015"
]
}
}