2023-04-01 02:53:09 -05:00
|
|
|
{
|
|
|
|
"main": "./lib/index.js",
|
|
|
|
"module": "./lib/index.js",
|
|
|
|
"exports": "./lib/index.js",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"type": "module",
|
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"docs",
|
|
|
|
"logo.svg",
|
|
|
|
"logo-dark.svg"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
|
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json --noEmit && rollup -c",
|
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
|
|
"lint": "eslint --ext .ts src",
|
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
|
|
"test": "pnpm build:test && pnpm test:only",
|
|
|
|
"test:ci": "pnpm test:only --silent --coverage",
|
2023-04-01 03:37:49 -05:00
|
|
|
"prepublishOnly": "pnpm build"
|
2023-04-01 02:53:09 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-02 13:11:22 -05:00
|
|
|
"@silverhand/essentials": "^2.8.4",
|
2023-06-07 03:10:27 -05:00
|
|
|
"got": "^13.0.0",
|
2023-04-01 02:53:09 -05:00
|
|
|
"snakecase-keys": "^5.4.4",
|
2023-11-06 22:38:54 -05:00
|
|
|
"zod": "^3.22.4"
|
2023-04-01 02:53:09 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@jest/types": "^29.5.0",
|
2023-05-17 01:18:46 -05:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
2023-04-01 02:53:09 -05:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
2023-04-10 11:59:17 -05:00
|
|
|
"@rollup/plugin-typescript": "^11.0.0",
|
2023-07-07 12:17:21 -05:00
|
|
|
"@silverhand/eslint-config": "4.0.1",
|
|
|
|
"@silverhand/ts-config": "4.0.0",
|
2023-04-01 02:53:09 -05:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-04-01 07:53:44 -05:00
|
|
|
"@types/node": "^18.11.18",
|
2023-04-01 02:53:09 -05:00
|
|
|
"@types/supertest": "^2.0.11",
|
2023-07-07 12:17:21 -05:00
|
|
|
"eslint": "^8.44.0",
|
2023-04-01 02:53:09 -05:00
|
|
|
"jest": "^29.5.0",
|
|
|
|
"jest-matcher-specific-error": "^1.0.0",
|
2023-10-25 20:55:47 -05:00
|
|
|
"lint-staged": "^15.0.0",
|
2023-04-01 02:53:09 -05:00
|
|
|
"nock": "^13.2.2",
|
2023-07-07 12:17:21 -05:00
|
|
|
"prettier": "^3.0.0",
|
2023-10-12 22:26:11 -05:00
|
|
|
"rollup": "^4.0.0",
|
2023-04-01 02:53:09 -05:00
|
|
|
"rollup-plugin-summary": "^2.0.0",
|
|
|
|
"supertest": "^6.2.2",
|
|
|
|
"typescript": "^5.0.0"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "^18.12.0"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2023-04-01 09:16:56 -05:00
|
|
|
"extends": "@silverhand",
|
|
|
|
"settings": {
|
|
|
|
"import/core-modules": [
|
|
|
|
"@silverhand/essentials",
|
|
|
|
"got",
|
|
|
|
"nock",
|
|
|
|
"snakecase-keys",
|
|
|
|
"zod"
|
|
|
|
]
|
|
|
|
}
|
2023-04-01 02:53:09 -05:00
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
}
|
|
|
|
}
|