fast-plural-rules
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "fast-plural-rules", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Evaluates locale-specific plural rules to identify the right plural form for a cardinal number, which represents an item count.", | ||
@@ -32,3 +32,3 @@ "author": { | ||
"browser": "dist/index.umd.min.js", | ||
"types": "lib/index.d.ts", | ||
"types": "src/index.d.ts", | ||
"exports": { | ||
@@ -40,3 +40,3 @@ "require": "./dist/index.cjs", | ||
"dist", | ||
"lib/index.d.ts" | ||
"src/index.d.ts" | ||
], | ||
@@ -46,16 +46,8 @@ "scripts": { | ||
"lint": "denolint && tsc --noEmit test/types.test.ts", | ||
"generate:plural-rule-definitions": "node util/generate-plural-rule-definitions", | ||
"generate:browser-tests": "node util/generate-browser-tests", | ||
"check": "node test/cjs.cjs && node --experimental-vm-modules node_modules/jest/bin/jest --testPathIgnorePatterns \"browser.test.js\" --collectCoverage", | ||
"check:browser": "node --experimental-vm-modules node_modules/jest/bin/jest --testPathPattern browser.test.js", | ||
"pretest": "run-s lint generate:plural-rule-definitions generate:browser-tests", | ||
"test": "run-s lint check check:browser", | ||
"pretest": "npm run lint && node util/generate-plural-rule-definitions && node util/generate-browser-tests", | ||
"test": "npm run lint && npm run check && npm run check:browser", | ||
"start": "python3 -m http.server" | ||
}, | ||
"standard": { | ||
"ignore": [ | ||
"dist", | ||
"src/data.js" | ||
] | ||
}, | ||
"jest": { | ||
@@ -106,3 +98,2 @@ "setupFilesAfterEnv": [ | ||
"@semantic-release/git": "^10.0.1", | ||
"cldr-data": "^36.0.1", | ||
"connect": "^3.7.0", | ||
@@ -114,3 +105,2 @@ "fast-glob": "^3.2.11", | ||
"jest-expect-message": "^1.0.2", | ||
"npm-run-all": "^4.1.5", | ||
"puppeteer": "^16.1.1", | ||
@@ -117,0 +107,0 @@ "rollup": "^2.78.0", |
@@ -111,3 +111,3 @@ # Fast Plural Rules | ||
You can read more about the [module loading](./docs/API.md#loading) in other environments, like with ES6 or in web browsers. [Usage scenarios](./docs/usage.md#usage-scenarios) demonstrate applications of this library in typical real-world situations. [Design concepts](./docs/design.md#design-concepts) explain the approach to the correct internationalization of messages with cardinals taken by this library. Translators will read about [plural rules for supported languages](./docs/languages.md#supported-languages) to be able to write the right plural forms to language packs. Finally, the [API reference](./docs/API.md#api-reference) lists all functions with a description of their functionality. | ||
You can read more about the [module loading](./docs/API.md#loading) in other environments, like with ESM or in web browsers. [Usage scenarios](./docs/usage.md#usage-scenarios) demonstrate applications of this library in typical real-world situations. [Design concepts](./docs/design.md#design-concepts) explain the approach to the correct internationalization of messages with cardinals taken by this library. Translators will read about [plural rules for supported languages](./docs/languages.md#supported-languages) to be able to write the right plural forms to language packs. Finally, the [API reference](./docs/API.md#api-reference) lists all functions with a description of their functionality. | ||
@@ -114,0 +114,0 @@ ## Library Integrations |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239126
15
14
1006