Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.36 KB
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
{
"name": "@ranui/preview",
"version": "0.1.0-alpha-2",
"description": "ranui preview",
"main": "dist/umd/index.umd.cjs",
"module": "dist/index.js",
"type": "module",
"types": "./dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ranuts/fileview"
},
"author": "chaxus",
"engines": {
"node": ">=23.10.0"
},
"scripts": {
"dev": "vite --host",
"build": "sh ./bin/build.sh",
"build:es": "vite build -c ./build/config.es.ts",
"build:umd": "vite build -c ./build/config.umd.ts",
"prepublish": "npm run build",
"test": "sh ./bin/test.sh",
"test:report": "playwright show-report",
"test:ui": "playwright test --ui",
"test:update": "playwright test --update-snapshots",
"tsc": "tsc --noEmit",
"format": "prettier --write ."
},
"files": [
"dist",
"typings.d.ts"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/umd/index.umd.cjs"
},
"./preview": {
"types": "./dist/index.d.ts",
"import": "./dist/preview.js",
"require": "./dist/umd/index.umd.cjs"
},
"./type": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./typings": {
"types": "./dist/typings.d.ts",
"import": "./dist/typings.d.ts",
"require": "./dist/index.js"
},
"./dist/*": {
"types": "./dist/*",
"import": "./dist/*",
"require": "./dist/*"
}
},
"keywords": [],
"license": "AGPL-3.0",
"devDependencies": {
"@babel/core": "^8.0.1",
"@babel/plugin-transform-nullish-coalescing-operator": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@babel/preset-typescript": "^8.0.1",
"@playwright/test": "^1.61.1",
"@rollup/plugin-babel": "^7.1.0",
"@types/imagemin-svgo": "^11.0.0",
"@types/lodash": "^4.17.24",
"@types/lodash-es": "^4.17.12",
"@types/react": "^19.2.17",
"@types/tinycolor2": "^1.4.6",
"imagemin-svgo": "^12.0.0",
"less": "^4.6.7",
"prettier": "^3.9.5",
"rollup-plugin-visualizer": "^7.0.1",
"svgo": "^4.0.1",
"terser": "^5.49.0",
"tsx": "^4.23.0",
"typescript": "^7.0.2",
"vite": "^8.1.4"
},
"dependencies": {
"ranui": "0.2.0-alpha.5",
"ranuts": "0.2.0-alpha.0"
}
}