11{
2- "name" : " @microsoft/microsoft-graph-client" ,
3- "version" : " 3.0.3" ,
4- "description" : " Microsoft Graph Client Library" ,
5- "keywords" : [
6- " Microsoft" ,
7- " Graph" ,
8- " SDK" ,
9- " JavaScript" ,
10- " Client"
11- ],
12- "repository" : {
13- "type" : " git" ,
14- "url" : " https://github.com/microsoftgraph/msgraph-sdk-javascript.git"
15- },
16- "license" : " MIT" ,
17- "main" : " lib/src/index.js" ,
18- "module" : " lib/es/src/index.js" ,
19- "browser" : {
20- "./lib/es/src/index.js" : " ./lib/es/src/browser/index.js" ,
21- "stream" : " stream-browserify"
22- },
23- "types" : " ./lib/src/index.d.ts" ,
24- "typings" : " lib/src/index" ,
25- "files" : [
26- " lib/" ,
27- " src/" ,
28- " authProviders/" ,
29- " shims.d.ts"
30- ],
31- "scripts" : {
32- "build" : " npm run pre-build && npm run build:sub_cjs && npm run build:sub_es && rollup -c" ,
33- "build:cjs" : " tsc --p tsconfig-cjs.json" ,
34- "build:es" : " tsc --p tsconfig-es.json" ,
35- "build:sub_cjs" : " tsc -b tsconfig-sub-cjs.json" ,
36- "build:sub_es" : " tsc -b tsconfig-sub-es.json" ,
37- "format" : " npm run format:css && npm run format:html && npm run format:js && npm run format:json && npm run format:md && npm run format:rc && npm run format:ts" ,
38- "format:css" : " prettier --write \" **/*.css\" " ,
39- "format:html" : " prettier --write \" **/*.html\" " ,
40- "format:js" : " prettier --write \" **/*.js\" " ,
41- "format:json" : " prettier --write \" **/*.json\" " ,
42- "format:md" : " prettier --write \" **/*.md\" " ,
43- "format:rc" : " prettier --write --parser json \" **/.*rc\" " ,
44- "format:ts" : " prettier --write \" **/*.ts\" " ,
45- "karma" : " karma start --single-run --browsers ChromeHeadless karma.conf.js" ,
46- "lint" : " eslint . --ext .ts" ,
47- "lint:fix" : " eslint . --ext .ts --fix" ,
48- "prepack" : " npm install && npm run build && npm run test" ,
49- "pre-build" : " npm run setVersion" ,
50- "setVersion" : " gulp setVersion" ,
51- "test" : " npm run test:cjs && npm run test:esm" ,
52- "test:cjs" : " npm run build:sub_cjs && mocha 'lib/test/common/**/*.js' --require isomorphic-fetch && mocha 'lib/test/node/**/*.js' --require isomorphic-fetch" ,
53- "test:coverage" : " TS_NODE_PROJECT='./tsconfig-cjs.json' nyc mocha --require isomorphic-fetch -r ts-node/register test/common/**/*.ts && mocha --require isomorphic-fetch -r ts-node/register test/common/**/*.ts" ,
54- "test:development" : " tsc --p test/tsconfig-test-development.json && mocha 'lib/test/development/**/*.js' --require isomorphic-fetch" ,
55- "test:esm" : " npm run build:sub_es && mocha 'lib/es/test/common/**/*.js' --require esm --require isomorphic-fetch && mocha 'lib/es/test/node/**/*.js' --require esm --require isomorphic-fetch"
56- },
57- "nyc" : {
58- "all" : true ,
59- "cache" : false ,
60- "exclude" : [
61- " samples/" ,
62- " *.js" ,
63- " lib/"
64- ],
65- "include" : [
66- " src/"
67- ]
68- },
69- "dependencies" : {
70- "@babel/runtime" : " ^7.12.5" ,
71- "tslib" : " ^2.2.0"
72- },
73- "devDependencies" : {
74- "@azure/identity" : " ^3.0.0" ,
75- "@azure/msal-browser" : " ^2.15.0" ,
76- "@babel/core" : " ^7.12.10" ,
77- "@babel/plugin-transform-runtime" : " ^7.12.10" ,
78- "@babel/preset-env" : " ^7.12.11" ,
79- "@istanbuljs/nyc-config-typescript" : " ^1.0.1" ,
80- "@microsoft/microsoft-graph-types" : " ^2.11.0" ,
81- "@rollup/plugin-babel" : " ^6.0.0" ,
82- "@rollup/plugin-commonjs" : " ^23.0.0" ,
83- "@rollup/plugin-node-resolve" : " ^15.0.0" ,
84- "@types/chai" : " ^4.2.14" ,
85- "@types/mocha" : " ^9.0.0" ,
86- "@types/node" : " ^18.0.0" ,
87- "@types/sinon" : " ^10.0.8" ,
88- "@typescript-eslint/eslint-plugin" : " ^5.12.1" ,
89- "@typescript-eslint/parser" : " ^5.12.1" ,
90- "chai" : " ^4.2.0" ,
91- "eslint" : " ^8.9.0" ,
92- "eslint-config-prettier" : " ^8.3.0" ,
93- "eslint-plugin-prettier" : " ^4.0.0" ,
94- "eslint-plugin-simple-import-sort" : " ^8.0.0" ,
95- "esm" : " ^3.2.25" ,
96- "form-data" : " ^4.0.0" ,
97- "gulp" : " ^4.0.2" ,
98- "husky" : " ^8.0.0" ,
99- "isomorphic-fetch" : " ^3.0.0" ,
100- "karma" : " ^6.3.2" ,
101- "karma-chai" : " ^0.1.0" ,
102- "karma-chrome-launcher" : " ^3.1.0" ,
103- "karma-firefox-launcher" : " ^2.1.0" ,
104- "karma-mocha" : " ^2.0.1" ,
105- "karma-typescript" : " ^5.2.0" ,
106- "lint-staged" : " ^13.0.0" ,
107- "mocha" : " ^6.2.3" ,
108- "nyc" : " ^15.1.0" ,
109- "prettier" : " ^2.5.1" ,
110- "rollup" : " ^2.36.2" ,
111- "rollup-plugin-terser" : " ^7.0.2" ,
112- "sinon" : " ^14.0.0" ,
113- "source-map-support" : " ^0.5.19" ,
114- "stream-browserify" : " ^3.0.0" ,
115- "ts-node" : " ^10.4.0" ,
116- "typescript" : " ^4.2.4" ,
117- "uglify-es" : " ^3.3.9"
118- },
119- "peerDependenciesMeta" : {
120- "@azure/identity" : {
121- "optional" : true
122- },
123- "buffer" : {
124- "optional" : true
125- },
126- "stream-browserify" : {
127- "optional" : true
128- },
129- "@azure/msal-browser" : {
130- "optional" : true
131- }
132- },
133- "engines" : {
134- "node" : " >=12.0.0"
135- }
136- }
2+ "name" : " @microsoft/microsoft-graph-client" ,
3+ "version" : " 3.0.3" ,
4+ "description" : " Microsoft Graph Client Library" ,
5+ "keywords" : [
6+ " Microsoft" ,
7+ " Graph" ,
8+ " SDK" ,
9+ " JavaScript" ,
10+ " Client"
11+ ],
12+ "repository" : {
13+ "type" : " git" ,
14+ "url" : " https://github.com/microsoftgraph/msgraph-sdk-javascript.git"
15+ },
16+ "license" : " MIT" ,
17+ "main" : " lib/src/index.js" ,
18+ "module" : " lib/es/src/index.js" ,
19+ "browser" : {
20+ "./lib/es/src/index.js" : " ./lib/es/src/browser/index.js" ,
21+ "stream" : " stream-browserify"
22+ },
23+ "types" : " ./lib/src/index.d.ts" ,
24+ "typings" : " lib/src/index" ,
25+ "files" : [
26+ " lib/" ,
27+ " src/" ,
28+ " authProviders/" ,
29+ " shims.d.ts"
30+ ],
31+ "scripts" : {
32+ "build" : " npm run pre-build && npm run build:sub_cjs && npm run build:sub_es && rollup -c" ,
33+ "build:cjs" : " tsc --p tsconfig-cjs.json" ,
34+ "build:es" : " tsc --p tsconfig-es.json" ,
35+ "build:sub_cjs" : " tsc -b tsconfig-sub-cjs.json" ,
36+ "build:sub_es" : " tsc -b tsconfig-sub-es.json" ,
37+ "format" : " npm run format:css && npm run format:html && npm run format:js && npm run format:json && npm run format:md && npm run format:rc && npm run format:ts" ,
38+ "format:css" : " prettier --write \" **/*.css\" " ,
39+ "format:html" : " prettier --write \" **/*.html\" " ,
40+ "format:js" : " prettier --write \" **/*.js\" " ,
41+ "format:json" : " prettier --write \" **/*.json\" " ,
42+ "format:md" : " prettier --write \" **/*.md\" " ,
43+ "format:rc" : " prettier --write --parser json \" **/.*rc\" " ,
44+ "format:ts" : " prettier --write \" **/*.ts\" " ,
45+ "karma" : " karma start --single-run --browsers ChromeHeadless karma.conf.js" ,
46+ "lint" : " eslint . --ext .ts" ,
47+ "lint:fix" : " eslint . --ext .ts --fix" ,
48+ "prepack" : " npm install && npm run build && npm run test" ,
49+ "pre-build" : " npm run setVersion" ,
50+ "setVersion" : " gulp setVersion" ,
51+ "test" : " npm run test:cjs && npm run test:esm" ,
52+ "test:cjs" : " npm run build:sub_cjs && mocha" ,
53+ "test:coverage" : " TS_NODE_PROJECT='./tsconfig-cjs.json' nyc mocha --require isomorphic-fetch -r ts-node/register test/common/**/*.ts && mocha --require isomorphic-fetch -r ts-node/register test/common/**/*.ts" ,
54+ "test:development" : " tsc --p test/tsconfig-test-development.json && mocha 'lib/test/development/**/*.js' --require isomorphic-fetch" ,
55+ "test:esm" : " npm run build:sub_es && mocha --require esm"
56+ },
57+ "mocha" : {
58+ "reporter" : [" mocha-junit-reporter" ],
59+ "reporterOptions" : {
60+ "mochaFile" : " ./testResult.xml"
61+ },
62+ "spec" : [" lib/test/common/**/*.js" , " lib/test/node/**/*.js" , " lib/es/test/common/**/*.js" , " lib/es/test/node/**/*.js" ],
63+ "require" : [" isomorphic-fetch" ," esm" ]
64+ },
65+ "nyc" : {
66+ "all" : true ,
67+ "cache" : false ,
68+ "exclude" : [
69+ " samples/" ,
70+ " *.js" ,
71+ " lib/"
72+ ],
73+ "include" : [
74+ " src/"
75+ ]
76+ },
77+ "dependencies" : {
78+ "@babel/runtime" : " ^7.12.5" ,
79+ "tslib" : " ^2.2.0"
80+ },
81+ "devDependencies" : {
82+ "@azure/identity" : " ^3.0.0" ,
83+ "@azure/msal-browser" : " ^2.15.0" ,
84+ "@babel/core" : " ^7.12.10" ,
85+ "@babel/plugin-transform-runtime" : " ^7.12.10" ,
86+ "@babel/preset-env" : " ^7.12.11" ,
87+ "@istanbuljs/nyc-config-typescript" : " ^1.0.1" ,
88+ "@microsoft/microsoft-graph-types" : " ^2.11.0" ,
89+ "@rollup/plugin-babel" : " ^6.0.0" ,
90+ "@rollup/plugin-commonjs" : " ^23.0.0" ,
91+ "@rollup/plugin-node-resolve" : " ^15.0.0" ,
92+ "@types/chai" : " ^4.2.14" ,
93+ "@types/mocha" : " ^9.0.0" ,
94+ "@types/node" : " ^18.0.0" ,
95+ "@types/sinon" : " ^10.0.8" ,
96+ "@typescript-eslint/eslint-plugin" : " ^5.12.1" ,
97+ "@typescript-eslint/parser" : " ^5.12.1" ,
98+ "chai" : " ^4.2.0" ,
99+ "eslint" : " ^8.9.0" ,
100+ "eslint-config-prettier" : " ^8.3.0" ,
101+ "eslint-plugin-prettier" : " ^4.0.0" ,
102+ "eslint-plugin-simple-import-sort" : " ^8.0.0" ,
103+ "esm" : " ^3.2.25" ,
104+ "form-data" : " ^4.0.0" ,
105+ "gulp" : " ^4.0.2" ,
106+ "husky" : " ^8.0.0" ,
107+ "isomorphic-fetch" : " ^3.0.0" ,
108+ "karma" : " ^6.3.2" ,
109+ "karma-chai" : " ^0.1.0" ,
110+ "karma-chrome-launcher" : " ^3.1.0" ,
111+ "karma-firefox-launcher" : " ^2.1.0" ,
112+ "karma-mocha" : " ^2.0.1" ,
113+ "karma-typescript" : " ^5.2.0" ,
114+ "lint-staged" : " ^13.0.0" ,
115+ "mocha" : " ^6.2.3" ,
116+ "mocha-junit-reporter" : " ^2.1.1" ,
117+ "nyc" : " ^15.1.0" ,
118+ "prettier" : " ^2.5.1" ,
119+ "rollup" : " ^2.36.2" ,
120+ "rollup-plugin-terser" : " ^7.0.2" ,
121+ "sinon" : " ^14.0.0" ,
122+ "source-map-support" : " ^0.5.19" ,
123+ "stream-browserify" : " ^3.0.0" ,
124+ "ts-node" : " ^10.4.0" ,
125+ "typescript" : " ^4.2.4" ,
126+ "uglify-es" : " ^3.3.9"
127+ },
128+ "peerDependenciesMeta" : {
129+ "@azure/identity" : {
130+ "optional" : true
131+ },
132+ "buffer" : {
133+ "optional" : true
134+ },
135+ "stream-browserify" : {
136+ "optional" : true
137+ },
138+ "@azure/msal-browser" : {
139+ "optional" : true
140+ }
141+ },
142+ "engines" : {
143+ "node" : " >=12.0.0"
144+ }
145+ }
0 commit comments