packages/jsonrpc/package.json
{
"name": "@valkyr/jsonrpc",
"version": "0.0.0",
"description": "JSON RPC 2.0",
"repository": "https://github.com/cmdo/valkyr.git",
"bugs": "https://github.com/cmdo/valkyr/issues",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:cjs && node ../../scripts/esm.js jsonrpc",
"build:esm": "tsc --project ./tsconfig.json",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"flush": "npm run clean && rm -rf ./node_modules",
"clean": "rm -rf ./.turbo ./dist",
"ncu": "ncu -u",
"lint": "eslint .",
"test": "jest"
},
"jest": {
"preset": "@valkyr/jest"
},
"eslintConfig": {
"extends": [
"@valkyr"
],
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"*.{ts,tsx}": [
"eslint --fix"
]
},
"devDependencies": {
"@valkyr/jest": "workspace:*",
"tsup": "^7.1.0"
}
}