{ "name": "@microsoft/microsoft-graph-client", "version": "3.0.7", "description": "Microsoft Graph Client Library", "keywords": [ "Microsoft", "Graph", "SDK", "JavaScript", "Client" ], "repository": { "type": "git", "url": "https://github.com/microsoftgraph/msgraph-sdk-javascript.git" }, "license": "MIT", "main": "lib/src/index.js", "module": "lib/es/src/index.js", "browser": { "./lib/es/src/index.js": "./lib/es/src/browser/index.js", "stream": "stream-browserify" }, "types": "./lib/src/index.d.ts", "typings": "lib/src/index", "files": [ "lib/", "src/", "authProviders/", "shims.d.ts", "authProviderOptions" ], "scripts": { "build": "npm run pre-build && npm run build:sub_cjs && npm run build:sub_es && rollup --bundleConfigAsCjs -c", "build:cjs": "tsc --p tsconfig-cjs.json", "build:es": "tsc --p tsconfig-es.json", "build:sub_cjs": "tsc -b tsconfig-sub-cjs.json", "build:sub_es": "tsc -b tsconfig-sub-es.json", "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", "format:css": "prettier --write \"**/*.css\"", "format:html": "prettier --write \"**/*.html\"", "format:js": "prettier --write \"**/*.js\"", "format:json": "prettier --write \"**/*.json\"", "format:md": "prettier --write \"**/*.md\"", "format:rc": "prettier --write --parser json \"**/.*rc\"", "format:ts": "prettier --write \"**/*.ts\"", "karma": "karma start --single-run --browsers ChromeHeadless karma.conf.js", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "prepack": "npm install && npm run build && npm run test", "pre-build": "npm run setVersion", "setVersion": "gulp setVersion", "test": "npm run test:cjs && npm run karma", "test:cjs": "npm run build:sub_cjs && mocha", "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", "test:development": "tsc --p test/tsconfig-test-development.json && mocha 'lib/test/development/**/*.js' --require isomorphic-fetch" }, "mocha": { "reporter": [ "mocha-junit-reporter" ], "reporterOptions": { "mochaFile": "./testResult.xml" }, "spec": [ "lib/test/common/**/*.js", "lib/test/node/**/*.js" ], "require": [ "isomorphic-fetch" ] }, "nyc": { "all": true, "cache": false, "exclude": [ "samples/", "*.js", "lib/" ], "include": [ "src/" ] }, "dependencies": { "@babel/runtime": "^7.12.5", "tslib": "^2.2.0" }, "devDependencies": { "@azure/identity": "^4.0.0", "@azure/msal-browser": "^2.15.0", "@babel/core": "^7.12.10", "@babel/plugin-transform-runtime": "^7.12.10", "@babel/preset-env": "^7.12.11", "@istanbuljs/nyc-config-typescript": "^1.0.1", "@microsoft/microsoft-graph-types": "^2.11.0", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-terser": "^0.4.0", "@types/chai": "^4.2.14", "@types/mocha": "^10.0.1", "@types/node": "^22.5.0", "@types/sinon": "^10.0.8", "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", "chai": "^4.2.0", "eslint": "^9.9.1", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-simple-import-sort": "^12.1.0", "form-data": "^4.0.0", "gulp": "^5.0.0", "husky": "^9.0.6", "isomorphic-fetch": "^3.0.0", "karma": "^6.3.2", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-firefox-launcher": "^2.1.0", "karma-mocha": "^2.0.1", "karma-typescript": "^5.2.0", "lint-staged": "^15.0.2", "mocha": "^11.1.0", "mocha-junit-reporter": "^2.1.1", "nyc": "^17.1.0", "prettier": "^3.0.0", "rollup": "^4.3.0", "sinon": "^15.0.0", "source-map-support": "^0.5.19", "stream-browserify": "^3.0.0", "ts-node": "^10.4.0", "typescript": "^5.1.6", "uglify-es": "^3.3.9" }, "peerDependenciesMeta": { "@azure/identity": { "optional": true }, "buffer": { "optional": true }, "stream-browserify": { "optional": true }, "@azure/msal-browser": { "optional": true } }, "engines": { "node": ">=12.0.0" } }