@h4md1/visual-image-tool 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,44 +1,50 @@
1
1
  {
2
- "name": "@h4md1/visual-image-tool",
3
- "version": "0.2.0",
4
- "description": "Un outil léger en JavaScript vanilla pour définir des points focaux et zones de recadrage sur des images",
5
- "main": "dist/image-tool.js",
6
- "module": "dist/image-tool.esm.js",
7
- "browser": "dist/image-tool.umd.js",
8
- "files": [
9
- "dist",
10
- "src"
11
- ],
12
- "scripts": {
13
- "build": "rollup -c",
14
- "dev": "rollup -c -w",
15
- "demo": "npx http-server -o ./demo",
16
- "publish:demo": "gh-pages -d demo",
17
- "test": "echo \"Error: no test specified\" && exit 1",
18
- "prepublishOnly": "npm run build"
19
- },
20
- "keywords": [
21
- "image",
22
- "crop",
23
- "focus-point",
24
- "vanilla-js",
25
- "image-editor",
26
- "crop-tool"
27
- ],
28
- "author": "",
29
- "license": "MIT",
30
- "devDependencies": {
31
- "@rollup/plugin-node-resolve": "^15.0.0",
32
- "@rollup/plugin-terser": "^0.4",
33
- "gh-pages": "^6.3.0",
34
- "rollup": "^2.79.0"
35
- },
36
- "repository": {
37
- "type": "git",
38
- "url": "git+https://github.com/killerwolf/visual-image-tool.git"
39
- },
40
- "bugs": {
41
- "url": "https://github.com/killerwolf/visual-image-tool/issues"
42
- },
43
- "homepage": "https://github.com/killerwolf/visual-image-tool#readme"
2
+ "name": "@h4md1/visual-image-tool",
3
+ "version": "0.2.1",
4
+ "description": "Un outil léger en JavaScript vanilla pour définir des points focaux et zones de recadrage sur des images",
5
+ "main": "dist/image-tool.js",
6
+ "module": "dist/image-tool.esm.js",
7
+ "browser": "dist/image-tool.umd.js",
8
+ "files": [
9
+ "dist",
10
+ "src"
11
+ ],
12
+ "scripts": {
13
+ "build": "rollup -c",
14
+ "dev": "rollup -c -w",
15
+ "demo": "npx http-server -o ./demo",
16
+ "publish:demo": "gh-pages -d demo",
17
+ "test": "echo \"Error: no test specified\" && exit 1",
18
+ "prepublishOnly": "npm run build",
19
+ "lint:check": "biome check .",
20
+ "lint:fix": "biome check --write .",
21
+ "format:check": "prettier --check --ignore-unknown .",
22
+ "format:fix": "prettier --write --ignore-unknown ."
23
+ },
24
+ "keywords": [
25
+ "image",
26
+ "crop",
27
+ "focus-point",
28
+ "vanilla-js",
29
+ "image-editor",
30
+ "crop-tool"
31
+ ],
32
+ "author": "",
33
+ "license": "MIT",
34
+ "devDependencies": {
35
+ "@biomejs/biome": "1.9.4",
36
+ "@rollup/plugin-node-resolve": "^15.0.0",
37
+ "@rollup/plugin-terser": "^0.4",
38
+ "gh-pages": "^6.3.0",
39
+ "prettier": "3.5.3",
40
+ "rollup": "^2.79.0"
41
+ },
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/killerwolf/visual-image-tool.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/killerwolf/visual-image-tool/issues"
48
+ },
49
+ "homepage": "https://github.com/killerwolf/visual-image-tool#readme"
44
50
  }
package/src/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Exporte la classe VisualImageTool
4
4
  */
5
5
 
6
- import VisualImageTool from './visual-image-tool.js';
6
+ import VisualImageTool from "./visual-image-tool.js";
7
7
 
8
8
  // Exporter la classe comme export par défaut
9
9
  export default VisualImageTool;