ilib-locale
Version:
A BCP-47/IETF locale specifier parser/validator
108 lines • 3.4 kB
JSON
{
"name": "ilib-locale",
"version": "1.2.4",
"main": "./lib/Locale.js",
"module": "./src/Locale.js",
"exports": {
".": {
"import": "./src/Locale.js",
"require": "./lib/Locale.js"
}
},
"description": "A BCP-47/IETF locale specifier parser/validator",
"keywords": [
"internationalization",
"i18n",
"localization",
"l10n",
"globalization",
"g11n",
"date",
"time",
"format",
"locale",
"translation",
"bcp-47",
"bcp47",
"ietf"
],
"homepage": "https://github.com/iLib-js/ilib-mono/blob/main/packages/ilib-locale",
"bugs": "https://github.com/iLib-js/ilib-mono/issues",
"email": "marketing@translationcircle.com",
"license": "Apache-2.0",
"author": {
"name": "Edwin Hoogerbeets",
"web": "http://www.translationcircle.com/",
"email": "edwin@translationcircle.com"
},
"contributors": [
{
"name": "Edwin Hoogerbeets",
"email": "ehoogerbeets@gmail.com"
},
{
"name": "Goun Lee",
"email": "goun.lee@lge.com"
}
],
"files": [
"src",
"lib",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git@github.com:iLib-js/ilib-mono.git"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/preset-env": "^7.23.5",
"@babel/register": "^7.22.15",
"@babel/runtime": "^7.23.5",
"babel-loader": "^8.3.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-module-resolver": "^5.0.0",
"docdash": "^2.0.2",
"expect": "^29.7.0",
"grunt": "^1.6.1",
"grunt-babel": "^8.0.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-uglify": "^5.2.2",
"jest": "^29.7.0",
"jest-mock": "^29.7.0",
"jsdoc": "^4.0.2",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^8.0.0",
"karma": "^6.4.2",
"karma-assert": "^1.0.1",
"karma-chrome-launcher": "^3.2.0",
"karma-jasmine": "^5.1.0",
"karma-webpack": "^5.0.0",
"load-grunt-tasks": "^5.1.0",
"npm-run-all": "^4.1.5",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"ilib-env": "^1.4.1"
},
"scripts": {
"build": "pnpm build:prod",
"build:prod": "grunt babel --mode=prod && pnpm build:pkg",
"build:dev": "grunt babel --mode=dev && pnpm build:pkg",
"build:pkg": "echo '{\"type\": \"commonjs\"}' > lib/package.json",
"test": "pnpm test:all",
"test:cli": "LANG=en_US.UTF8 node --experimental-vm-modules node_modules/jest/bin/jest.js --testEnvironment node",
"test:web": "LANG=en_US.UTF8 node --experimental-vm-modules node_modules/karma/bin/karma start --reporters dots --single-run",
"test:watch": "LANG=en_US.UTF8 node --experimental-vm-modules node_modules/jest/bin/jest.js --testEnvironment node --watch",
"test:all": "npm-run-all --npm-path pnpm test:cli test:web",
"debug": "pnpm build:dev && node --experimental-vm-modules --inspect-brk node_modules/jest/bin/jest.js --testEnvironment node -i",
"debug:web": "LANG=en_US.UTF8 node --experimental-vm-modules node_modules/karma/bin/karma start --reporters dots",
"clean": "git clean -f -d src test&& rm -rf lib",
"doc": "mkdir -p docs && jsdoc2md -c jsdoc.json --separators --source src/* -m table > docs/Locale.md && pnpm doc:html",
"doc:html": "jsdoc -c jsdoc.json"
}
}