-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.18 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
{
"name": "@tiny-intl/core",
"version": "1.2.0",
"repository": {
"type": "git",
"url": "https://github.com/gridventures/tiny-intl",
"directory": "packages/core"
},
"author": "Phil Schaffarzyk <phil.schaffarzyk@gmail.com>",
"license": "MIT",
"type": "module",
"files": [
"lib",
"src"
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"types": "./lib/esm/types/index.d.ts"
},
"./utils": {
"import": "./lib/esm/utils/index.js",
"require": "./lib/cjs/utils/index.js",
"types": "./lib/esm/utils/index.d.ts"
}
},
"scripts": {
"dev": "vite",
"build": "vite build && npm run build2",
"build2": "FORMAT=esm tsup && FORMAT=cjs tsup",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"devDependencies": {
"@vitest/coverage-v8": "^0.34.6",
"rollup-plugin-visualizer": "^5.9.2",
"tsup": "^8.0.1",
"typescript": "^5.2.2",
"vite": "^4.5.2",
"vite-plugin-dts": "3.6.0",
"vitest": "^0.34.6"
}
}