UNPKG

@solarpunkltd/comment-system

Version:

A library for writing and reading comments from the Swarm network.

94 lines (93 loc) 3.16 kB
{ "name": "@solarpunkltd/comment-system", "version": "1.8.8", "description": "A library for writing and reading comments from the Swarm network.", "main": "dist/index.umd.js", "module": "dist/index.es.js", "types": "dist/types/index.d.ts", "scripts": { "prepublishOnly": "cross-env NODE_ENV=production npm run build", "build": "rimraf dist && npm run build:node && npm run build:types && vite build", "build:dev": "rimraf dist && cross-env NODE_ENV=development && npm run build:node && npm run build:types && vite build --mode development", "build:node": "tsc -p tsconfig.json", "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types", "test": "jest --config=jest.config.ts --runInBand --verbose", "test:coverage": "jest --coverage", "test:clear": "jest --clearCache", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "npm run lint -- --fix", "format": "prettier --write .", "format:check": "prettier --check ." }, "exports": { ".": { "types": "./dist/types/index.d.ts", "require": "./dist/index.umd.js", "import": "./dist/index.es.js", "default": "./dist/index.umd.js" }, "./package.json": "./package.json" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/Solar-Punk-Ltd/comment-system.git" }, "keywords": [ "swarm", "comments", "forum" ], "author": "solarpunkltd", "license": "ISC", "bugs": { "url": "https://github.com/Solar-Punk-Ltd/comment-system/issues" }, "homepage": "https://github.com/Solar-Punk-Ltd/comment-system#readme", "dependencies": { "@ethersphere/bee-js": "^9.8.1", "cafe-utility": "^31.1.1", "ethers": "^6.15.0", "uuid": "^11.1.0" }, "devDependencies": { "@babel/cli": "^7.28.0", "@babel/core": "^7.28.0", "@babel/plugin-transform-class-properties": "^7.27.1", "@babel/plugin-transform-runtime": "^7.28.0", "@babel/preset-env": "^7.28.0", "@babel/preset-typescript": "^7.27.1", "@eslint/js": "^9.32.0", "@types/jest": "^30.0.0", "@types/node": "^24.2.0", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "babel-loader": "^10.0.0", "babel-plugin-add-import-extension": "^1.6.0", "cross-env": "^10.0.0", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "eslint-plugin-simple-import-sort": "^12.1.1", "jest": "^30.0.5", "nock": "^14.0.4", "prettier": "^3.5.3", "rimraf": "^6.0.1", "ts-jest": "^29.4.1", "ts-node": "^10.9.2", "typescript": "^5.8.3", "typescript-eslint": "^8.31.0", "vite": "^7.1.1", "vite-plugin-dts": "^4.5.4", "vite-plugin-node-polyfills": "^0.24.0" } }