forked from microsoftgraph/msgraph-sdk-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 5.12 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "@microsoft/microsoft-graph-client",
"version": "3.0.0-Preview.3",
"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"
],
"scripts": {
"build": "npm run pre-build && npm run build:sub_cjs && npm run build:sub_es && rollup -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 test:esm",
"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",
"test:esm": "npm run build:sub_es && mocha --require esm"
},
"mocha": {
"reporter": ["mocha-junit-reporter"],
"reporterOptions": {
"mochaFile": "./testResult.xml"
},
"spec": ["lib/test/common/**/*.js", "lib/test/node/**/*.js", "lib/es/test/common/**/*.js", "lib/es/test/node/**/*.js"],
"require": ["isomorphic-fetch","esm"]
},
"nyc": {
"all": true,
"cache": false,
"exclude": [
"samples/",
"*.js",
"lib/"
],
"include": [
"src/"
]
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"tslib": "^2.2.0"
},
"devDependencies": {
"@azure/identity": "^3.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": "^23.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^9.0.0",
"@types/node": "^18.0.0",
"@types/sinon": "^10.0.8",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"chai": "^4.2.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"esm": "^3.2.25",
"form-data": "^4.0.0",
"gulp": "^4.0.2",
"husky": "^8.0.0",
"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": "^13.0.0",
"mocha": "^6.2.3",
"mocha-junit-reporter": "^2.1.1",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"rollup": "^2.36.2",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^14.0.0",
"source-map-support": "^0.5.19",
"stream-browserify": "^3.0.0",
"ts-node": "^10.4.0",
"typescript": "^4.2.4",
"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"
}
}