-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
69 lines (69 loc) · 2.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "@servicestack/client",
"title": "ServiceStack Client Utils",
"version": "2.1.7",
"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",
"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"
}
},
"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"
}
}