-
Notifications
You must be signed in to change notification settings - Fork 154
/
package.json
74 lines (74 loc) · 1.86 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
{
"name": "@messageformat/runtime",
"version": "3.0.1",
"description": "Runtime components of messageformat",
"keywords": [
"i18n",
"icu",
"messageformat",
"internationalization"
],
"contributors": [
"Eemeli Aro <eemeli@gmail.com>"
],
"license": "MIT",
"homepage": "https://messageformat.github.io/",
"repository": {
"type": "git",
"url": "https://github.com/messageformat/messageformat.git",
"directory": "packages/runtime"
},
"files": [
"esm/",
"lib/",
"messages.*"
],
"type": "commonjs",
"main": "./lib/runtime.js",
"exports": {
".": {
"import": "./esm/runtime.js",
"default": "./lib/runtime.js"
},
"./lib/cardinals": {
"import": "./esm/cardinals.js",
"default": "./lib/cardinals.js"
},
"./lib/formatters": {
"import": "./esm/formatters.js",
"default": "./lib/formatters.js"
},
"./lib/plurals": {
"import": "./esm/plurals.js",
"default": "./lib/plurals.js"
},
"./messages": {
"import": "./esm/messages.js",
"default": "./messages.js"
}
},
"browser": {
"./lib/runtime.js": "./esm/runtime.js",
"./lib/cardinals.js": "./esm/cardinals.js",
"./lib/formatters.js": "./esm/formatters.js",
"./lib/plurals.js": "./esm/plurals.js",
"./messages.js": "./esm/messages.js"
},
"sideEffects": false,
"scripts": {
"build:cjs": "tsc --project tsconfig.build.json --declaration --module CommonJS --outDir lib",
"build:esm": "tsc --project tsconfig.build.json --module ES6 --outDir esm",
"build": "npm run build:cjs && npm run build:esm",
"extract-api": "api-extractor run --local --verbose",
"prepublishOnly": "npm run build"
},
"dependencies": {
"make-plural": "^7.0.0"
},
"browserslist": [
"last 1 version",
"> 1%",
"maintained node versions",
"not dead"
]
}