1 | {
|
2 | "name": "@azure/ms-rest-js",
|
3 | "author": {
|
4 | "name": "Microsoft Corporation",
|
5 | "email": "azsdkteam@microsoft.com",
|
6 | "url": "https://github.com/Azure/ms-rest-js"
|
7 | },
|
8 | "version": "2.6.4",
|
9 | "description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
|
10 | "tags": [
|
11 | "isomorphic",
|
12 | "browser",
|
13 | "javascript",
|
14 | "node",
|
15 | "microsoft",
|
16 | "autorest",
|
17 | "clientruntime"
|
18 | ],
|
19 | "keywords": [
|
20 | "isomorphic",
|
21 | "browser",
|
22 | "javascript",
|
23 | "node",
|
24 | "microsoft",
|
25 | "autorest",
|
26 | "clientruntime"
|
27 | ],
|
28 | "main": "./dist/msRest.node.js",
|
29 | "module": "./es/lib/msRest.js",
|
30 | "types": "./es/lib/msRest.d.ts",
|
31 | "files": [
|
32 | "dist/**/*.js",
|
33 | "dist/**/*.js.map",
|
34 | "es/lib/**/*.js",
|
35 | "es/lib/**/*.js.map",
|
36 | "es/lib/**/*.d.ts",
|
37 | "es/lib/**/*.d.ts.map",
|
38 | "lib/**/!(dom.d).ts",
|
39 | "dom-shim.d.ts",
|
40 | "LICENSE",
|
41 | "README.md",
|
42 | "ThirdPartyNotices.txt"
|
43 | ],
|
44 | "browser": {
|
45 | "./es/lib/policies/msRestUserAgentPolicy.js": "./es/lib/policies/msRestUserAgentPolicy.browser.js",
|
46 | "./es/lib/policies/agentPolicy.js": "./es/lib/policies/agentPolicy.browser.js",
|
47 | "./es/lib/policies/proxyPolicy.js": "./es/lib/policies/proxyPolicy.browser.js",
|
48 | "./es/lib/util/base64.js": "./es/lib/util/base64.browser.js",
|
49 | "./es/lib/util/xml.js": "./es/lib/util/xml.browser.js",
|
50 | "./es/lib/defaultHttpClient.js": "./es/lib/defaultHttpClient.browser.js"
|
51 | },
|
52 | "license": "MIT",
|
53 | "dependencies": {
|
54 | "@azure/core-auth": "^1.1.4",
|
55 | "abort-controller": "^3.0.0",
|
56 | "form-data": "^2.5.0",
|
57 | "node-fetch": "^2.6.7",
|
58 | "tough-cookie": "^3.0.1",
|
59 | "tslib": "^1.10.0",
|
60 | "tunnel": "0.0.6",
|
61 | "uuid": "^8.3.2",
|
62 | "xml2js": "^0.4.19"
|
63 | },
|
64 | "devDependencies": {
|
65 | "@azure/logger-js": "^1.1.0",
|
66 | "@microsoft/api-extractor": "^7.18.11",
|
67 | "@ts-common/azure-js-dev-tools": "^19.4.0",
|
68 | "@types/bluebird": "3.5.36",
|
69 | "@types/chai": "^4.1.7",
|
70 | "@types/express": "4.17.0",
|
71 | "@types/express-serve-static-core": "4.17.0",
|
72 | "@types/fetch-mock": "^7.3.1",
|
73 | "@types/form-data": "^2.2.1",
|
74 | "@types/glob": "^7.1.1",
|
75 | "@types/karma": "^3.0.3",
|
76 | "@types/mocha": "^5.2.7",
|
77 | "@types/node": "^12.0.12",
|
78 | "@types/node-fetch": "^2.3.7",
|
79 | "@types/semver": "^6.0.1",
|
80 | "@types/sinon": "^7.0.13",
|
81 | "@types/tough-cookie": "^2.3.5",
|
82 | "@types/trusted-types": "^2.0.0",
|
83 | "@types/tunnel": "0.0.1",
|
84 | "@types/uuid": "^8.3.2",
|
85 | "@types/webpack": "^4.4.34",
|
86 | "@types/webpack-dev-middleware": "^2.0.3",
|
87 | "@types/xml2js": "^0.4.4",
|
88 | "abortcontroller-polyfill": "^1.3.0",
|
89 | "chai": "4.3.4",
|
90 | "cross-env": "^7.0.3",
|
91 | "express": "^4.17.1",
|
92 | "fetch-mock": "^7.3.3",
|
93 | "glob": "^7.1.4",
|
94 | "karma": "^4.1.0",
|
95 | "karma-chai": "^0.1.0",
|
96 | "karma-chrome-launcher": "^2.2.0",
|
97 | "karma-firefox-launcher": "^1.1.0",
|
98 | "karma-mocha": "^1.3.0",
|
99 | "karma-rollup-preprocessor": "^7.0.0",
|
100 | "karma-sourcemap-loader": "^0.3.7",
|
101 | "karma-typescript-es6-transform": "^4.1.1",
|
102 | "karma-webpack": "^4.0.2",
|
103 | "mocha": "^6.1.4",
|
104 | "mocha-chrome": "^2.0.0",
|
105 | "mocha-junit-reporter": "^1.23.0",
|
106 | "mocha-multi-reporters": "^1.1.7",
|
107 | "npm-run-all": "^4.1.5",
|
108 | "nyc": "^14.1.1",
|
109 | "prettier": "2.2.1",
|
110 | "rollup": "^1.16.6",
|
111 | "rollup-plugin-commonjs": "^10.0.1",
|
112 | "rollup-plugin-json": "^4.0.0",
|
113 | "rollup-plugin-multi-entry": "^2.1.0",
|
114 | "rollup-plugin-node-resolve": "^5.2.0",
|
115 | "rollup-plugin-resolve": "0.0.1-predev.1",
|
116 | "rollup-plugin-sourcemaps": "^0.4.2",
|
117 | "rollup-plugin-visualizer": "^2.4.4",
|
118 | "semver": "^6.2.0",
|
119 | "shx": "^0.3.2",
|
120 | "sinon": "^7.3.2",
|
121 | "terser": "^4.0.2",
|
122 | "ts-loader": "^6.0.4",
|
123 | "ts-node": "^8.3.0",
|
124 | "tslint": "^5.18.0",
|
125 | "tslint-eslint-rules": "^5.4.0",
|
126 | "typescript": "^3.5.2",
|
127 | "webpack": "^4.35.2",
|
128 | "webpack-cli": "^3.3.5",
|
129 | "webpack-dev-middleware": "^3.7.0",
|
130 | "xhr-mock": "^2.4.1",
|
131 | "yarn": "^1.16.0"
|
132 | },
|
133 | "homepage": "https://github.com/Azure/ms-rest-js",
|
134 | "repository": {
|
135 | "type": "git",
|
136 | "url": "git@github.com:Azure/ms-rest-js.git"
|
137 | },
|
138 | "bugs": {
|
139 | "url": "http://github.com/Azure/ms-rest-js/issues"
|
140 | },
|
141 | "scripts": {
|
142 | "build": "run-p build:scripts build:lib",
|
143 | "build:scripts": "tsc -p ./.scripts/",
|
144 | "build:lib": "run-s build:tsc build:rollup build:minify-browser extract-api",
|
145 | "build:tsc": "tsc -p tsconfig.es.json",
|
146 | "build:rollup": "rollup -c rollup.config.ts",
|
147 | "build:minify-browser": "terser -c -m --comments --source-map \"content='./dist/msRest.browser.js.map'\" -o ./dist/msRest.browser.min.js ./dist/msRest.browser.js",
|
148 | "build:test-browser": "webpack --config webpack.testconfig.ts",
|
149 | "extract-api": "api-extractor run --local",
|
150 | "format": "prettier --write \"./**/*.ts\" *.json",
|
151 | "test": "run-p test:tslint test:unit test:karma",
|
152 | "test:tslint": "tslint -p .",
|
153 | "test:unit": "cross-env TS_NODE_FILES=true nyc mocha",
|
154 | "test:karma": "npm run build:test-browser && node ./node_modules/karma/bin/karma start karma.conf.ts --browsers ChromeNoSecurity --single-run ",
|
155 | "test:karma:debug": "npm run build:test-browser && node ./node_modules/karma/bin/karma start karma.conf.ts --log-level debug --browsers ChromeDebugging --debug --auto-watch",
|
156 | "test:karma:debugff": "npm run build:test-browser && node ./node_modules/karma/bin/karma start karma.conf.ts --log-level debug --browsers FirefoxDebugging --debug --auto-watch",
|
157 | "dep:autorest.typescript": "npx ts-node .scripts/testDependentProjects.ts autorest.typescript 'gulp build' 'gulp regenerate' 'npm run local'",
|
158 | "dep:ms-rest-azure-js": "npx ts-node .scripts/testDependentProjects.ts ms-rest-azure-js",
|
159 | "publish-preview": "mocha --no-colors && shx rm -rf dist/test && node ./.scripts/publish",
|
160 | "local": "ts-node ./.scripts/local.ts",
|
161 | "latest": "ts-node ./.scripts/latest.ts",
|
162 | "prepack": "npm i && npm run build",
|
163 | "check:packagejsonversion": "ts-node ./.scripts/checkPackageJsonVersion.ts",
|
164 | "check:foronlycalls": "ts-node ./.scripts/checkForOnlyCalls.ts",
|
165 | "check:everything": "ts-node ./.scripts/checkEverything.ts"
|
166 | },
|
167 | "sideEffects": false,
|
168 | "nyc": {
|
169 | "extension": [
|
170 | ".ts"
|
171 | ],
|
172 | "exclude": [
|
173 | "coverage/**/*",
|
174 | "**/*.d.ts",
|
175 | "**/*.js"
|
176 | ],
|
177 | "reporter": [
|
178 | "text",
|
179 | "html",
|
180 | "cobertura"
|
181 | ],
|
182 | "all": true
|
183 | }
|
184 | }
|