1 | {
|
2 | "name": "@microsoft/microsoft-graph-client",
|
3 | "version": "3.0.4",
|
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 | } |
\ | No newline at end of file |