58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "blurhash",
|
||
|
"version": "2.0.5",
|
||
|
"description": "Encoder and decoder for the Wolt BlurHash algorithm.",
|
||
|
"main": "dist/index.js",
|
||
|
"types": "dist/index.d.ts",
|
||
|
"module": "dist/esm/index.js",
|
||
|
"exports": {
|
||
|
"./package.json": "./package.json",
|
||
|
".": {
|
||
|
"browser": {
|
||
|
"import":"./dist/esm/index.js",
|
||
|
"require": "./dist/index.js"
|
||
|
},
|
||
|
"import": "./dist/index.mjs",
|
||
|
"module": "./dist/esm/index.js",
|
||
|
"node": "./dist/index.js",
|
||
|
"require": "./dist/index.js",
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"default": "./dist/index.js"
|
||
|
}
|
||
|
},
|
||
|
"sideEffects": false,
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/woltapp/blurhash/tree/master/TypeScript"
|
||
|
},
|
||
|
"homepage": "https://blurha.sh",
|
||
|
"files": [
|
||
|
"dist"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"prepublishOnly": "npm run build",
|
||
|
"build": "tsup",
|
||
|
"demo": "webpack-dev-server --mode development",
|
||
|
"prettier": "prettier src/**/*.ts",
|
||
|
"prettier-fix": "npm run prettier -- --write",
|
||
|
"start": "tsup --watch"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"blurhash",
|
||
|
"blur",
|
||
|
"hash",
|
||
|
"image"
|
||
|
],
|
||
|
"author": "omahlama",
|
||
|
"license": "MIT",
|
||
|
"devDependencies": {
|
||
|
"prettier": "2.7.1",
|
||
|
"ts-loader": "9.3.1",
|
||
|
"tsup": "^6.1.3",
|
||
|
"typescript": "4.7.4",
|
||
|
"webpack": "5.73.0",
|
||
|
"webpack-cli": "4.10.0",
|
||
|
"webpack-dev-server": "4.9.3"
|
||
|
}
|
||
|
}
|