UNPKG

@servicestack/client

Version:

ServiceStack's TypeScript library providing convenience utilities in developing web apps. Integrates with ServiceStack's Server features including ServiceClient, Server Events, Error Handling and Validation

70 lines (69 loc) 2.58 kB
{ "name": "@servicestack/client", "title": "ServiceStack Client Utils", "version": "2.1.13", "description": "ServiceStack's TypeScript library providing convenience utilities in developing web apps. Integrates with ServiceStack's Server features including ServiceClient, Server Events, Error Handling and Validation", "homepage": "https://github.com/ServiceStack/servicestack-client", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/ServiceStack/Issues" }, "author": "ServiceStack, Inc. (https://servicestack.net)", "repository": { "type": "git", "url": "git+https://github.com/ServiceStack/servicestack-client.git" }, "scripts": { "pretest": "tsc", "typecheck": "tsc --noEmit", "uglify": "npx -y uglify-js dist/servicestack-client.umd.js --compress --mangle -o dist/servicestack-client.min.js", "uglify-mjs": "npx -y uglify-js dist/servicestack-client.mjs --compress --mangle -o dist/servicestack-client.min.mjs", "mjs": "tsc -p tsconfig.mjs.json && shx mv dist/index.js dist/servicestack-client.mjs && npm run uglify-mjs", "dtos": "cd tests/dtos && typescript-ref", "test": "mocha", "test:browser": "mocha-headless-chrome -f http://localhost:8080/testrunner.html -a no-sandbox -a disable-setuid-sandbox", "testonly": "mocha -t 5000 ./tests/serverevents.spec.js", "build": "tsc && npm run mjs && tsc -p tsconfig.umd.json && shx mv dist/index.js dist/servicestack-client.umd.js && bash inject-umd.sh && npm run uglify && shx mv src/index.js dist && shx cp src/index.d.ts dist", "release": "npm run build && bump patch --commit --push --tag && npm publish" }, "files": [ "dist/index.js", "dist/index.d.ts", "dist/servicestack-client.umd.js", "dist/servicestack-client.min.js", "dist/servicestack-client.mjs", "dist/servicestack-client.min.mjs" ], "keywords": [ "servicestack", "utils", "validation", "ajax", "serverevents", "error-handling" ], "licenses": [], "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/servicestack-client.mjs", "require": "./dist/servicestack-client.umd.js" } }, "engines": { "node": ">=18.0.0" }, "devDependencies": { "@types/chai": "^4.3.0", "@types/mocha": "^9.0.0", "@types/node": "^18.11.19", "chai": "^4.3.4", "eventsource": "^2.0.2", "mocha": "10.1.0", "mocha-headless-chrome": "^4.0.0", "shx": "^0.3.4", "typescript": "^4.9.4" } }