-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
43 lines (43 loc) · 1.41 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
{
"name": "messagepipe",
"version": "0.2.3",
"description": "Formats message strings with number, date, plural, and select placeholders to create localized messages",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "node -r tsm dev.ts",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "esbuild src/index.ts --minify --outfile=dist/index.esm.js --bundle --format=esm --sourcemap --define:process.env.NODE_ENV=\\\"production\\\"",
"build:cjs": "esbuild src/index.ts --minify --outfile=dist/index.js --bundle --format=cjs --sourcemap --define:process.env.NODE_ENV=\\\"production\\\"",
"declarations": "tsc --declarationDir dist --emitDeclarationOnly --declaration",
"test": "uvu -r tsm",
"lint": "rome check ./src/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Marcisbee/messagepipe.git"
},
"author": "Marcis <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Marcisbee/messagepipe/issues"
},
"homepage": "https://github.com/Marcisbee/messagepipe#readme",
"devDependencies": {
"esbuild": "^0.15.5",
"rome": "^0.9.0-next",
"tsm": "^2.2.2",
"typescript": "^4.7.4",
"uvu": "^0.5.6"
},
"files": [
"dist"
],
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.esm.js"
}
}
}