{ "name": "@ethersphere/swarm-cid", "version": "0.1.0", "description": "Utility library to convert Swarm hex references into Swarm CIDs and vice versa.", "keywords": [ "swarm", "cid" ], "homepage": "https://github.com/ethersphere/swarm-cid-js", "bugs": { "url": "https://github.com/ethersphere/swarm-cid-js/issues/" }, "license": "BSD-3-Clause", "main": "dist/index.js", "repository": { "type": "git", "url": "https://github.com/ethersphere/swarm-cid-js.git" }, "files": [ "dist" ], "types": "dist/index.d.ts", "scripts": { "prepublishOnly": "npm run compile && npm run compile:types", "compile": "rimraf ./dist && tsc", "compile:types": "tsc --emitDeclarationOnly --declaration", "test": "jest --verbose --config=jest.config.ts", "check:types": "tsc --project tsconfig.test.json", "lint": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\" && prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "lint:check": "eslint \"src/**/*.ts\" \"test/**/*.ts\" && prettier --check \"src/**/*.ts\" \"test/**/*.ts\"", "depcheck": "depcheck ." }, "dependencies": { "multiformats": "^9.5.4" }, "devDependencies": { "@babel/core": "^7.16.5", "@babel/preset-env": "^7.16.5", "@babel/preset-typescript": "^7.16.5", "@commitlint/cli": "^12.1.1", "@commitlint/config-conventional": "^12.1.4", "@types/jest": "^26.0.23", "@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/parser": "^4.28.0", "depcheck": "^1.4.0", "eslint": "^7.29.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-unused-imports": "^1.1.1", "husky": "^6.0.0", "jest": "^27.0.5", "prettier": "^2.3.1", "rimraf": "^3.0.2", "ts-node": "^10.4.0", "typescript": "^4.5.4" }, "engines": { "node": ">=12.0.0", "npm": ">=6.0.0" } }