forked from devtheorem/cropt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.34 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.34 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
{
"name": "cropt2",
"version": "2.0.19",
"description": "A lightweight but powerful JavaScript image cropper",
"keywords": [
"cropping",
"image",
"canvas",
"image-editing",
"image-compression",
"resizing",
"rotating",
"cropperjs",
"thumbnail",
"javascript"
],
"author": "Filipe Laborde <fil@rezox.com> + Theodore Brown <theodorejb@outlook.com>",
"license": "MIT",
"main": "dist/cropt.min.js",
"style": "dist/cropt.min.css",
"module": "dist/cropt.esm.min.js",
"exports": {
".": {
"import": "./dist/cropt.esm.min.js",
"require": "./dist/cropt.min.js",
"default": "./dist/cropt.min.js"
},
"./style": "./dist/cropt.min.css",
"./style.css": "./dist/cropt.min.css"
},
"types": "dist/cropt.d.ts",
"files": [
"dist/cropt.esm.min.js",
"dist/cropt.min.js",
"dist/cropt.d.ts",
"dist/cropt.min.css",
"LICENSE",
"CHANGELOG.md",
"README.md"
],
"type": "module",
"devDependencies": {
"cssnano": "^7.1.2",
"http-server": "^14.1.1",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"prettier": "^3.7.4",
"sass": "^1.97.1",
"terser": "^5.44.1",
"typescript": "^5.9.3"
},
"scripts": {
"build:js:esm": "tsc --declaration && tsc src/cropt.ts --module ESNext --moduleResolution bundler --target ES2022 --outDir dist/esm && terser dist/cropt.js -c drop_console=true,dead_code=true,unused=true,passes=3 --toplevel -m -o dist/cropt.esm.min.js",
"build:js:classic": "tsc src/cropt.ts --moduleResolution bundler --target ES2022 --outDir dist/ && terser dist/cropt.js -c drop_console=true,dead_code=true,unused=true,passes=3 --toplevel -m -o dist/cropt.min.js && node package.mjs dist/cropt.min.js",
"build:css": "postcss src/cropt.css -u cssnano --no-map -o dist/cropt.min.css",
"build": "npm run build:js:esm && npm run build:js:classic && npm run build:css",
"format": "prettier . --write",
"start": "http-server ./docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mindflowgo/cropt.git"
},
"bugs": {
"url": "https://github.com/mindflowgo/cropt/issues"
},
"homepage": "https://mindflowgo.github.io/cropt/",
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a"
}