|
1 | 1 | { |
2 | | - "name": "@microsoft/microsoft-graph-client", |
3 | | - "version": "2.1.0-Preview.2", |
4 | | - "description": "Microsoft Graph Client Library", |
5 | | - "license": "MIT", |
6 | | - "main": "lib/src/index.js", |
7 | | - "module": "lib/es/index.js", |
8 | | - "typings": "lib/src/index", |
9 | | - "files": [ |
10 | | - "lib/", |
11 | | - "src/" |
12 | | - ], |
13 | | - "types": "./lib/src/index.d.ts", |
14 | | - "dependencies": { |
15 | | - "@babel/runtime": "^7.4.4", |
16 | | - "esm": "^3.2.25", |
17 | | - "karma": "^5.2.3", |
18 | | - "tslib": "^1.9.3" |
19 | | - }, |
20 | | - "devDependencies": { |
21 | | - "@babel/core": "^7.4.4", |
22 | | - "@babel/plugin-transform-runtime": "^7.4.4", |
23 | | - "@babel/preset-env": "^7.4.4", |
24 | | - "@istanbuljs/nyc-config-typescript": "^1.0.1", |
25 | | - "@types/chai": "^4.2.14", |
26 | | - "@types/mocha": "^5.2.7", |
27 | | - "@types/node": "^12.0.10", |
28 | | - "chai": "^4.2.0", |
29 | | - "gulp": "^4.0.2", |
30 | | - "husky": "^2.2.0", |
31 | | - "isomorphic-fetch": "^2.2.1", |
32 | | - "karma-chai": "^0.1.0", |
33 | | - "karma-chrome-launcher": "^3.1.0", |
34 | | - "karma-firefox-launcher": "^2.1.0", |
35 | | - "karma-mocha": "^2.0.1", |
36 | | - "karma-typescript": "^5.2.0", |
37 | | - "lint-staged": "^8.1.5", |
38 | | - "mocha": "^6.2.3", |
39 | | - "msal": "^1.0.0", |
40 | | - "nyc": "^15.1.0", |
41 | | - "prettier": "^1.17.0", |
42 | | - "puppeteer": "^5.5.0", |
43 | | - "rollup": "^1.10.1", |
44 | | - "rollup-plugin-babel": "^4.3.2", |
45 | | - "rollup-plugin-commonjs": "^10.0.1", |
46 | | - "rollup-plugin-node-resolve": "^5.2.0", |
47 | | - "rollup-plugin-terser": "^5.0.0", |
48 | | - "source-map-support": "^0.5.19", |
49 | | - "ts-node": "^9.0.0", |
50 | | - "tslint": "^5.16.0", |
51 | | - "tslint-config-prettier": "^1.18.0", |
52 | | - "typescript": "^3.4.5", |
53 | | - "uglify-es": "^3.3.9" |
54 | | - }, |
55 | | - "scripts": { |
56 | | - "setVersion": "gulp setVersion", |
57 | | - "build:es": "tsc --p tsconfig-es.json", |
58 | | - "build:cjs": "tsc --p tsconfig-cjs.json", |
59 | | - "pre-build": "npm run setVersion", |
60 | | - "build": "npm run pre-build && npm run build:cjs && npm run build:es && rollup -c", |
61 | | - "test": "npm run build:cjs && mocha lib/spec/content && mocha lib/spec/core && mocha lib/spec/middleware && mocha lib/spec/tasks", |
62 | | - "test:content": "tsc --p spec/tsconfig.json && mocha spec/content", |
63 | | - "test:core": "tsc --p spec/tsconfig.json && mocha spec/core", |
64 | | - "test:middleware": "tsc --p spec/tsconfig.json && mocha spec/middleware", |
65 | | - "test:tasks": "tsc --p spec/tsconfig.json && mocha spec/tasks", |
66 | | - "test:development": "tsc --p spec/tsconfig.json && mocha spec/development/workload", |
67 | | - "test:workload": "tsc --p spec/tsconfig.json && mocha spec/development/workload", |
68 | | - "lint": "tslint --project ./tsconfig-cjs.json -c tslint.json", |
69 | | - "format:css": "prettier --write \"**/*.css\"", |
70 | | - "format:html": "prettier --write \"**/*.html\"", |
71 | | - "format:js": "prettier --write \"**/*.js\"", |
72 | | - "format:json": "prettier --write \"**/*.json\"", |
73 | | - "format:md": "prettier --write \"**/*.md\"", |
74 | | - "format:rc": "prettier --write --parser json \"**/.*rc\"", |
75 | | - "format:ts": "prettier --write \"**/*.ts\"", |
76 | | - "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", |
77 | | - "prepack": "npm install && npm run build && npm run test", |
78 | | - "test:cjs": "mocha -r ts-node/register --project tsconfig-cjs.json spec/content/*.ts && mocha -r ts-node/register --project tsconfig-cjs.json spec/core/*.ts && mocha -r ts-node/register --project tsconfig-cjs.json spec/middleware/*.ts && mocha -r ts-node/register --project tsconfig-cjs.json spec/tasks/*.ts", |
79 | | - "test:esm": "TS_NODE_PROJECT='./test/tsconfig-test-es.json' mocha --require esm test/dist/test/**/*.js", |
80 | | - "test:es": "tsc -p ./test/tsconfig-test-es.json && mocha test/dist/**/*.js --require esm", |
81 | | - "test:mocha": "nyc --require esm mocha -r ts-node/register spec/core/*.ts", |
82 | | - "cover": "nyc npm run test", |
83 | | - "coverage": "nyc npm run test:esm", |
84 | | - "karma": "karma start --single-run --browsers ChromeHeadless karma.conf.js" |
85 | | - }, |
86 | | - "repository": { |
87 | | - "type": "git", |
88 | | - "url": "https://github.com/microsoftgraph/msgraph-sdk-javascript.git" |
89 | | - }, |
90 | | - "nyc": { |
91 | | - "all": true, |
92 | | - "cache": false, |
93 | | - "exclude": [ |
94 | | - "samples/", |
95 | | - "*.js", |
96 | | - "lib/" |
97 | | - ] |
98 | | - } |
| 2 | + "name": "@microsoft/microsoft-graph-client", |
| 3 | + "version": "2.1.0-Preview.2", |
| 4 | + "description": "Microsoft Graph Client Library", |
| 5 | + "license": "MIT", |
| 6 | + "main": "lib/src/index.js", |
| 7 | + "module": "lib/es/index.js", |
| 8 | + "typings": "lib/src/index", |
| 9 | + "files": [ |
| 10 | + "lib/", |
| 11 | + "src/" |
| 12 | + ], |
| 13 | + "types": "./lib/src/index.d.ts", |
| 14 | + "dependencies": { |
| 15 | + "@babel/runtime": "^7.4.4", |
| 16 | + "esm": "^3.2.25", |
| 17 | + "karma": "^5.2.3", |
| 18 | + "tslib": "^1.9.3" |
| 19 | + }, |
| 20 | + "devDependencies": { |
| 21 | + "@babel/core": "^7.4.4", |
| 22 | + "@babel/plugin-transform-runtime": "^7.4.4", |
| 23 | + "@babel/preset-env": "^7.4.4", |
| 24 | + "@istanbuljs/nyc-config-typescript": "^1.0.1", |
| 25 | + "@types/chai": "^4.2.14", |
| 26 | + "@types/mocha": "^5.2.7", |
| 27 | + "@types/node": "^12.0.10", |
| 28 | + "chai": "^4.2.0", |
| 29 | + "gulp": "^4.0.2", |
| 30 | + "husky": "^2.2.0", |
| 31 | + "isomorphic-fetch": "^3.0.0", |
| 32 | + "karma-chai": "^0.1.0", |
| 33 | + "karma-chrome-launcher": "^3.1.0", |
| 34 | + "karma-firefox-launcher": "^2.1.0", |
| 35 | + "karma-mocha": "^2.0.1", |
| 36 | + "karma-typescript": "^5.2.0", |
| 37 | + "lint-staged": "^8.1.5", |
| 38 | + "mocha": "^6.2.3", |
| 39 | + "msal": "^1.0.0", |
| 40 | + "nyc": "^15.1.0", |
| 41 | + "prettier": "^1.17.0", |
| 42 | + "puppeteer": "^5.5.0", |
| 43 | + "rollup": "^1.10.1", |
| 44 | + "rollup-plugin-babel": "^4.3.2", |
| 45 | + "rollup-plugin-commonjs": "^10.0.1", |
| 46 | + "rollup-plugin-node-resolve": "^5.2.0", |
| 47 | + "rollup-plugin-terser": "^5.0.0", |
| 48 | + "source-map-support": "^0.5.19", |
| 49 | + "ts-node": "^9.0.0", |
| 50 | + "tslint": "^5.16.0", |
| 51 | + "tslint-config-prettier": "^1.18.0", |
| 52 | + "typescript": "^3.4.5", |
| 53 | + "uglify-es": "^3.3.9" |
| 54 | + }, |
| 55 | + "scripts": { |
| 56 | + "setVersion": "gulp setVersion", |
| 57 | + "build:es": "tsc --p tsconfig-es.json", |
| 58 | + "build:cjs": "tsc --p tsconfig-cjs.json", |
| 59 | + "pre-build": "npm run setVersion", |
| 60 | + "build": "npm run pre-build && npm run build:cjs && npm run build:es && rollup -c", |
| 61 | + "test": "npm run build:cjs && mocha lib/spec/content && mocha lib/spec/core && mocha lib/spec/middleware && mocha lib/spec/tasks", |
| 62 | + "test:content": "tsc --p spec/tsconfig.json && mocha spec/content", |
| 63 | + "test:core": "tsc --p spec/tsconfig.json && mocha spec/core", |
| 64 | + "test:middleware": "tsc --p spec/tsconfig.json && mocha spec/middleware", |
| 65 | + "test:tasks": "tsc --p spec/tsconfig.json && mocha spec/tasks", |
| 66 | + "test:development": "tsc --p spec/tsconfig.json && mocha spec/development/workload", |
| 67 | + "test:workload": "tsc --p spec/tsconfig.json && mocha spec/development/workload", |
| 68 | + "lint": "tslint --project ./tsconfig-cjs.json -c tslint.json", |
| 69 | + "format:css": "prettier --write \"**/*.css\"", |
| 70 | + "format:html": "prettier --write \"**/*.html\"", |
| 71 | + "format:js": "prettier --write \"**/*.js\"", |
| 72 | + "format:json": "prettier --write \"**/*.json\"", |
| 73 | + "format:md": "prettier --write \"**/*.md\"", |
| 74 | + "format:rc": "prettier --write --parser json \"**/.*rc\"", |
| 75 | + "format:ts": "prettier --write \"**/*.ts\"", |
| 76 | + "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", |
| 77 | + "prepack": "npm install && npm run build && npm run test", |
| 78 | + "test:cjs": "mocha -r ts-node/register --project tsconfig-cjs.json spec/content/*.ts && mocha -r ts-node/register --project tsconfig-cjs.json spec/core/*.ts && mocha -r ts-node/register --project tsconfig-cjs.json spec/middleware/*.ts && mocha -r ts-node/register --project tsconfig-cjs.json spec/tasks/*.ts", |
| 79 | + "test:esm": "TS_NODE_PROJECT='./test/tsconfig-test-es.json' mocha --require esm test/dist/test/**/*.js", |
| 80 | + "test:es": "tsc -p tsconfig-es.json && mocha lib/es/test/common/content --require esm && mocha lib/es/test/common/core --require esm && mocha lib/es/test/common/tasks --require esm && mocha lib/es/test/common/middleware --require esm", |
| 81 | + "test:mocha": "nyc --require esm mocha -r ts-node/register spec/core/*.ts", |
| 82 | + "cover": "nyc npm run test", |
| 83 | + "coverage": "nyc npm run test:esm", |
| 84 | + "karma": "karma start --single-run --browsers ChromeHeadless karma.conf.js" |
| 85 | + }, |
| 86 | + "repository": { |
| 87 | + "type": "git", |
| 88 | + "url": "https://github.com/microsoftgraph/msgraph-sdk-javascript.git" |
| 89 | + }, |
| 90 | + "nyc": { |
| 91 | + "all": true, |
| 92 | + "cache": false, |
| 93 | + "exclude": [ |
| 94 | + "samples/", |
| 95 | + "*.js", |
| 96 | + "lib/" |
| 97 | + ] |
| 98 | + } |
99 | 99 | } |
0 commit comments