@gang-js/core
Version:
a state sharing algorithm
70 lines • 2.03 kB
JSON
{
"name": "@gang-js/core",
"version": "2.0.0-beta.25",
"description": "a state sharing algorithm",
"repository": {
"url": "https://github.com/MrAntix/gang",
"type": "git"
},
"main": "dist/index.js",
"module": "dist/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prebuild": "npm run clean && npm run barrels",
"prepublishOnly": "npm run format && npm run test && npm run build",
"barrels": "barrelsby -q --delete --directory src --include \\.ts$ --exclude \"(\\.spec|this)\\.ts$\" --location all",
"build": "tsc",
"build.watch": "tsc --watch",
"build.docs": "typedoc src --out docs --theme default --readme docs.md --media dist --exclude **/*.spec.ts",
"clean": "shx rm -rf dist",
"lint": "npx eslint ./src --ext .ts,.ts",
"format": "prettier --write \"./src/**/*.{ts,tsx,json}\"",
"test": "jest",
"test.watch": "jest --watchAll",
"start": "npm run build.docs && serve docs"
},
"keywords": [
"state",
"websocket"
],
"author": "Anthony Johnston <npm@antix.co.uk> (http://antix.co.uk)",
"license": "ISC",
"publishConfig": {
"access": "public",
"cache": "~/.npm"
},
"devDependencies": {
"@trust/webcrypto": "^0.9.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"barrelsby": "^2.8.1",
"eslint": "^9.17.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.4.2",
"rxjs": "^7.8.1",
"semver-regex": ">=4.0.5",
"serve": "^14.2.4",
"shx": "^0.3.4",
"ts-jest": "^29.2.5",
"typedoc": "^0.27.5",
"typescript": "^5.7.2"
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"testMatch": [
"**/*.spec.ts"
],
"moduleNameMapper": {
"(.*)\\.js": "$1"
},
"setupFiles": [
"<rootDir>/jest.setup.js"
]
}
}