-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "plural-rules",
"version": "2.0.1",
"description": "Evaluates plural rules, so that localization libraries can choose the right plural form.",
"author": {
"name": "Ferdinand Prantl",
"email": "prantlf@gmail.com",
"url": "http://prantl.tk"
},
"license": "MIT",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/prantlf/plural-rules/blob/master/LICENSE"
}
],
"homepage": "https://github.com/prantlf/plural-rules#readme",
"repository": {
"type": "git",
"url": "https://github.com/prantlf/plural-rules.git"
},
"bugs": {
"url": "https://github.com/prantlf/plural-rules/issues"
},
"engines": {
"node": ">=14.8"
},
"type": "module",
"module": "dist/index.mjs",
"main": "dist/index.cjs",
"browser": "dist/index.umd.min.js",
"types": "src/index.d.ts",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"bin": {
"create-plural-data": "./bin/create-plural-data.js"
},
"files": [
"bin",
"dist",
"src/code.d.ts",
"src/index.d.ts",
"util/data-creator.js",
"util/data-packer.js",
"util/data-unpacker.js"
],
"scripts": {
"prepare": "node util/wrap-data && rollup -c",
"build": "rollup -c",
"generate": "node util/wrap-data",
"lint": "denolint && tsc --noEmit test/types.test.ts test/types-all.test.ts",
"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": "npm run lint && node util/generate-browser-tests",
"test": "npm run lint && npm run check && npm run check:browser",
"start": "python3 -m http.server"
},
"jest": {
"roots": [
"test"
],
"testMatch": [
"**/test/*.js"
],
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/!(data).js"
],
"coverageReporters": [
"lcov"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"failComment": false
}
],
"@semantic-release/git"
]
},
"dependencies": {
"cldrpluralruleparser": "^1.4.0"
},
"devDependencies": {
"@node-rs/deno-lint": "^1.14.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"cldr-data": "^36.0.1",
"connect": "^3.7.0",
"fast-glob": "^3.2.12",
"jasmine-core": "^4.5.0",
"jest": "^29.3.1",
"jest-expect-message": "^1.1.3",
"plural-rules": "link:",
"puppeteer": "^19.4.1",
"rollup": "^3.7.5",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-swc-minify": "^1.0.5",
"serve-static": "^1.15.0",
"typescript": "^4.9.4"
},
"keywords": [
"plural-rules",
"plural-forms",
"plurals",
"plural",
"pluralize",
"localize"
]
}