-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.54 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.54 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
93
94
95
96
97
{
"author": {
"name": "Jens Oliver Meiert",
"url": "https://meiert.com/"
},
"browser": "dist/compressor.js",
"contributors": [
{
"name": "Chen Fengyuan",
"url": "https://chenfengyuan.com/"
}
],
"description": "JavaScript image compressor and converter",
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@eslint/js": "^10.0.0",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-node-resolve": "^16.0.3",
"@vitest/browser-playwright": "^4.1.4",
"@vitest/coverage-istanbul": "^4.1.4",
"del-cli": "^7.0.0",
"eslint": "^10.2.0",
"globals": "^17.5.0",
"husky": "^9.1.7",
"playwright": "^1.59.1",
"rollup": "^4.60.0",
"stylelint": "^17.6.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-order": "^8.1.1",
"terser": "^5.46.0",
"vitest": "^4.1.4"
},
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/compressor.esm.js",
"require": "./dist/compressor.common.js"
}
},
"files": [
"dist",
"src",
"types"
],
"homepage": "https://github.com/j9t/compressorjs-next",
"keywords": [
"blob",
"browser",
"canvas",
"client-side",
"compress",
"compressor",
"conversion",
"converter",
"image",
"image-compression",
"image-processing",
"image-upload",
"javascript",
"jpeg",
"jpg",
"lossy-compression",
"png",
"webp"
],
"license": "MIT",
"main": "dist/compressor.esm.js",
"name": "compressorjs-next",
"repository": {
"type": "git",
"url": "git+https://github.com/j9t/compressorjs-next.git"
},
"scripts": {
"build": "rollup -c",
"clean": "del-cli dist",
"compress": "terser dist/compressor.js -o dist/compressor.min.js -c -m --comments /^!/",
"dev": "rollup -c -m -w & npx serve docs",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint docs/**/*.css --fix",
"lint:js": "eslint src test",
"prepare": "husky",
"pretest": "playwright install chromium",
"pretest:full": "playwright install",
"release": "npm run clean && npm run lint && npm run build && npm run compress && npm run test:full",
"start": "npm run dev",
"test": "vitest run --project=chromium",
"test:coverage": "vitest run --coverage --project=chromium",
"test:full": "vitest run",
"test:watch": "vitest --project=chromium"
},
"sideEffects": false,
"type": "module",
"types": "types/index.d.ts",
"version": "2.0.3"
}