-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 2.06 KB
/
package.json
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
{
"name": "@imgproxy/imgproxy-node",
"version": "1.0.6",
"description": "Official node url-builder lib for imgproxy - fast and secure standalone server for resizing and converting remote images",
"keywords": [
"imgproxy",
"node",
"url-builder",
"image optimization",
"image processing",
"typescript"
],
"homepage": "https://imgproxy.net/",
"repository": {
"type": "git",
"url": "https://github.com/imgproxy/imgproxy-node"
},
"bugs": {
"url": "https://github.com/imgproxy/imgproxy-node/issues"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/imgproxy-node.d.ts"
}
},
"license": "MIT",
"types": "./dist/imgproxy-node.d.ts",
"scripts": {
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json",
"make-module": "echo '{\"type\": \"module\"}' > ./dist/esm/package.json",
"build": "rimraf dist && npm run compile && npm run make-module && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
"test": "vitest",
"check-types": "tsc --noEmit",
"test:coverage": "vitest --coverage",
"lint": "eslint . --ext .ts",
"format": "prettier . --write",
"prepare": "husky install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit",
"publish-patch": "npm version patch && git push && npm run build && npm publish --access public"
},
"devDependencies": {
"@types/jsdom": "^21.1.1",
"@types/node": "^20.4.9",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@vitest/coverage-v8": "^0.34.1",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
},
"dependencies": {
"@imgproxy/imgproxy-js-core": "^1.0.8"
}
}