UNPKG

@blocklet/images

Version:

support functions for blocklet image validation

59 lines (58 loc) 1.51 kB
{ "name": "@blocklet/images", "version": "1.16.42", "main": "lib/index.js", "types": "./lib/index.d.ts", "license": "MIT", "publishConfig": { "access": "public" }, "files": [ "lib" ], "bugs": { "url": "https://github.com/ArcBlock/blocklet-server/issues" }, "description": "support functions for blocklet image validation", "keywords": [ "blocklet", "image", "validation" ], "author": "blocklet<blocklet@arcblock.io>", "homepage": "https://github.com/ArcBlock/blocklet-server#readme", "repository": { "type": "git", "url": "git+https://github.com/ArcBlock/blocklet-server.git" }, "scripts": { "verify": "npm run lint:fix && npm run coverage && npm run build", "lint": "eslint src tests", "lint:fix": "npm run lint -- --fix", "coverage": "npm run test -- --coverage", "clean": "rm -fr lib", "build:blocklet-images": "tsc", "build": "tsc", "test": "jest", "watch": "nodemon -w src -e ts -x 'npm run build'" }, "dependencies": { "@jimp/utils": "^1.6.0", "blurhash": "^2.0.5", "image-size": "^1.0.2", "image-type": "^4.1.0", "is-svg": "^4.3.2", "jimp": "^1.6.0" }, "devDependencies": { "@arcblock/eslint-config-ts": "^0.3.3", "@types/jest": "^29.5.14", "eslint": "^8.27.0", "jest": "^29.7.0", "prettier": "^3.3.2", "ts-jest": "^29.2.5", "ts-node": "^10.9.1", "typescript": "^5.6.3" }, "gitHead": "04e4adf8f2c1d6289850c66159c0a68ea946d5e6" }