2024-10-01 12:35:24 +00:00

64 lines
1.7 KiB
JSON

{
"name": "simplex-chat",
"version": "0.2.0",
"description": "SimpleX Chat client",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "npm run prettier:check && npm run eslint && jest --coverage",
"build": "npm run prettier:write && npm run eslint && tsc && ./copy && npm run bundle",
"bundle": "rollup dist/index-web.js --file dist/index.bundle.js --format umd --name simplex",
"eslint": "eslint --ext .ts ./src/**/*.ts",
"prettier:write": "prettier --write './**/*.{json,yaml,js,ts}'",
"prettier:check": "prettier --list-different './**/*.{json,yaml,js,ts}'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/simplex-chat/simplex-chat.git"
},
"keywords": [
"messenger",
"chat",
"privacy",
"security"
],
"author": "SimpleX Chat",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/simplex-chat/simplex-chat/issues"
},
"homepage": "https://github.com/simplex-chat/simplex-chat/packages/simplex-chat-client/typescript#readme",
"dependencies": {
"isomorphic-ws": "^4.0.1",
"pg": "^8.13.0",
"sqlite3": "^5.1.6"
},
"devDependencies": {
"@types/jest": "^27.5.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^7.0.4",
"jest": "^28.1.0",
"lint-staged": "^12.3.8",
"prettier": "^2.6.2",
"rollup": "^2.72.1",
"ts-jest": "^28.0.2",
"ts-node": "^10.7.0",
"typescript": "^4.9.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}