forked from microsoftgraph/msgraph-sdk-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.73 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
{
"name": "@microsoft/microsoft-graph-client",
"//": "NOTE: The version here should match exactly the exported const PACKAGE_VERSION in Constants.ts. If you change it here, also change it there.",
"version": "1.7.0",
"description": "Microsoft Graph Client Library",
"main": "lib/src/index.js",
"module": "lib/es/index.js",
"typings": "lib/src/index",
"files": [
"lib/"
],
"types": "./lib/src/index.d.ts",
"dependencies": {
"es6-promise": "^4.2.6",
"isomorphic-fetch": "^2.2.1",
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/isomorphic-fetch": "0.0.35",
"@types/mocha": "^5.2.6",
"@types/node": "^11.13.4",
"browserify": "^16.2.3",
"chai": "^4.2.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"mocha": "^6.1.3",
"msal": "^0.2.4",
"prettier": "^1.17.0",
"rollup": "^1.10.0",
"rollup-plugin-terser": "^4.0.4",
"tslint": "^5.15.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.4.3",
"uglify-es": "^3.3.9"
},
"scripts": {
"web:js": "node browserify-with-dependencies.js > lib/graph-js-sdk-web.js && uglifyjs ./lib/graph-js-sdk-web.js --output ./lib/graph-js-sdk-web.js",
"core:js": "node browserify.js > lib/graph-js-sdk-core.js && uglifyjs ./lib/graph-js-sdk-core.js --output ./lib/graph-js-sdk-core.js",
"build:es": "tsc --p tsconfig-es.json",
"build:cjs": "tsc --p tsconfig-cjs.json",
"build": "npm run build:cjs && npm run build:es && rollup -c && npm run web:js && npm run core:js",
"test": "npm run build:cjs && mocha lib/spec/content && mocha lib/spec/core && mocha lib/spec/middleware && mocha lib/spec/tasks",
"test:content": "tsc --p spec/tsconfig.json && mocha spec/content",
"test:core": "tsc --p spec/tsconfig.json && mocha spec/core",
"test:middleware": "tsc --p spec/tsconfig.json && mocha spec/middleware",
"test:tasks": "tsc --p spec/tsconfig.json && mocha spec/tasks",
"test:development": "tsc --p spec/tsconfig.json && mocha spec/development/workload",
"test:workload": "tsc --p spec/tsconfig.json && mocha spec/development/workload",
"lint": "tslint --project ./tsconfig-cjs.json -c tslint.json",
"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\"",
"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",
"prepack": "npm install && npm run build && npm run test"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-javascript.git"
}
}