@fibery/pluralize 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.babelrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["@fibery/babel-preset/typescript"]
3
+ }
package/.eslintignore ADDED
@@ -0,0 +1,2 @@
1
+ /node_modules
2
+ /lib
package/.eslintrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "@fibery/eslint-config"
3
+ }
package/README.md ADDED
@@ -0,0 +1 @@
1
+ hard fork of https://github.com/plurals/pluralize as latest changeswere not published to npm
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@fibery/pluralize",
3
+ "version": "1.0.0",
4
+ "private": false,
5
+ "license": "UNLICENSED",
6
+ "scripts": {
7
+ "prepare": "pnpm build",
8
+ "build": "rm -rf lib && pnpm exec tsc --project tsconfig.build.json",
9
+ "test": "jest",
10
+ "lint": "eslint ."
11
+ },
12
+ "main": "./lib/src/pluralize.js",
13
+ "types": "./lib/src/pluralize.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./lib/src/pluralize.d.ts",
17
+ "default": "./lib/src/pluralize.js"
18
+ }
19
+ },
20
+ "fiberyDevExports": {
21
+ ".": "./src/pluralize.ts"
22
+ },
23
+ "devDependencies": {
24
+ "@fibery/babel-preset": "workspace:*",
25
+ "@fibery/eslint-config": "workspace:*",
26
+ "@types/jest": "catalog:",
27
+ "jest": "catalog:",
28
+ "jest-junit": "catalog:",
29
+ "typescript": "catalog:"
30
+ },
31
+ "jest": {
32
+ "testEnvironment": "jsdom",
33
+ "coveragePathIgnorePatterns": [
34
+ "/node_modules/"
35
+ ],
36
+ "collectCoverageFrom": [
37
+ "src/**/*.{js,jsx,ts,tsx}",
38
+ "!src/**/*.d.ts"
39
+ ],
40
+ "coverageReporters": [
41
+ "text",
42
+ "cobertura"
43
+ ],
44
+ "moduleNameMapper": {
45
+ "\\.(css)$": "<rootDir>/src/__mocks__/styleMock.js",
46
+ "createInlineTheme\\.js$": "<rootDir>/src/__mocks__/createInlineTheme.js"
47
+ },
48
+ "transform": {
49
+ "^.+\\.(js|jsx|ts|tsx)$": [
50
+ "@swc/jest",
51
+ {
52
+ "jsc": {
53
+ "parser": {
54
+ "syntax": "typescript",
55
+ "tsx": true,
56
+ "decorators": true,
57
+ "dynamicImport": true
58
+ },
59
+ "transform": {
60
+ "react": {
61
+ "runtime": "automatic"
62
+ }
63
+ }
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ }
69
+ }