Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.85 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 1.85 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
{
"name": "@h4md1/visual-image-tool",
"version": "0.3.0",
"description": "Zero-dependency vanilla JS tool to pick focal points and crop zones on images.",
"main": "dist/visual-image-tool.cjs",
"module": "dist/visual-image-tool.esm.js",
"browser": "dist/visual-image-tool.umd.js",
"types": "./src/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./dist/visual-image-tool.esm.js",
"require": "./dist/visual-image-tool.cjs",
"default": "./dist/visual-image-tool.esm.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"files": ["dist", "src"],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"demo": "npx http-server -o ./demo",
"test": "vitest run",
"test:watch": "vitest",
"types:check": "tsc --noEmit",
"prepublishOnly": "npm run build",
"lint:check": "biome check .",
"lint:fix": "biome check --write .",
"format:check": "prettier --check --ignore-unknown .",
"format:fix": "prettier --write --ignore-unknown ."
},
"keywords": [
"focal-point",
"focus-point",
"image-crop",
"cropper",
"crop-tool",
"image-editor",
"image",
"crop",
"vanilla-js",
"zero-dependency",
"no-dependencies",
"responsive-images",
"object-position",
"hotspot",
"browser"
],
"author": "Hamdi Laadhari (https://h4md1.fr)",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"jsdom": "^24.1.3",
"prettier": "3.5.3",
"rollup": "^4.12.0",
"typescript": "^7.0.2",
"vitest": "^1.6.1"
},
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/killerwolf/visual-image-tool.git"
},
"bugs": {
"url": "https://github.com/killerwolf/visual-image-tool/issues"
},
"homepage": "https://h4md1.fr/visual-image-tool/"
}