UNPKG

@microsoft/mgt

Version:
117 lines (116 loc) 3.98 kB
{ "name": "@microsoft/mgt", "version": "1.1.0", "description": "The Microsoft Graph Toolkit", "keywords": [ "microsoft graph", "web components", "msal" ], "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit", "bugs": { "url": "https://github.com/microsoftgraph/microsoft-graph-toolkit/issues" }, "repository": { "type": "git", "url": "https://github.com/microsoftgraph/microsoft-graph-toolkit" }, "author": "Microsoft", "license": "MIT", "main": "./dist/es6/index.js", "types": "./dist/es6/index.d.ts", "module": "./dist/es6/index.js", "files": [ "dist", "src" ], "scripts": { "clean": "shx rm -rf dist", "start": "npm run sass && run-p sass:watch build:watch serve watch", "serve": "owc-dev-server --port 3333", "watch": "browser-sync start --no-notify --proxy localhost:3333 --files 'dist/**/*.js, index.html'", "sass": "gulp sass", "sass:watch": "gulp watchSass", "setVersion": "gulp setVersion", "setLicense": "gulp setLicense", "build": "run-s prettier:check lint setVersion clean sass build:esm build:bundle", "build:esm": "tsc", "build:watch": "tsc --watch", "build:bundle": "npm run copy:loader && npm run copy:wc && npm run sass && rollup -c", "lint": "tslint -c tslint.json 'src/**/*.ts'", "copy:loader": "cpx src/bundle/mgt-loader.js dist/bundle", "copy:wc": "cpx node_modules/@webcomponents/webcomponentsjs/bundles/**/* dist/bundle/wc/bundles && cpx node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js dist/bundle/wc", "test": "jest", "test:watch": "jest --watch", "prepack": "npm run build", "prettier:base": "prettier --parser typescript", "prettier:check": "npm run prettier:base -- --list-different \"{src,tests}/**/*.{ts,tsx}\"", "prettier:write": "npm run prettier:base -- --write \"{src,tests}/**/*.{ts,tsx}\"" }, "dependencies": { "@microsoft/microsoft-graph-client": "^2.0.0", "@microsoft/microsoft-graph-types": "^1.10.0", "@microsoft/microsoft-graph-types-beta": "microsoftgraph/msgraph-typescript-typings#beta", "lit-element": "^2.2.1", "msal": "1.1.3", "office-ui-fabric-core": "10.1.0" }, "devDependencies": { "@babel/core": "^7.4.3", "@babel/plugin-proposal-class-properties": "^7.4.0", "@babel/plugin-proposal-decorators": "^7.4.0", "@babel/plugin-proposal-object-rest-spread": "^7.4.3", "@babel/preset-env": "^7.4.3", "@babel/preset-typescript": "^7.3.3", "@types/jest": "^24.0.11", "@webcomponents/webcomponentsjs": "^2.2.10", "babel-polyfill": "6.5.0", "browser-sync": "^2.26.7", "cpx": "^1.5.0", "gulp": "^4.0.0", "gulp-append-prepend": "^1.0.6", "gulp-header-license": "^1.0.9", "gulp-rename": "^1.4.0", "gulp-sass": "^4.0.2", "gulp-util": "^3.0.8", "husky": "^1.3.1", "jest": "^24.5.0", "jest-junit": "^6.3.0", "npm-run-all": "^4.1.5", "owc-dev-server": "^0.2.1", "prettier": "1.17.0", "rollup": "^1.7.3", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-babel-minify": "^8.0.0", "rollup-plugin-commonjs": "^9.2.2", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-postcss": "^2.0.3", "rollup-plugin-terser": "^4.0.4", "rollup-plugin-typescript": "^1.0.1", "sass": "^1.17.3", "shx": "^0.3.2", "ts-jest": "^24.0.1", "tslint": "^5.18.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.4.4", "whatwg-fetch": "^3.0.0" }, "jest-junit": { "suiteName": "jest tests", "output": "testResults/junit.xml", "classNameTemplate": "{classname} - {title}", "titleTemplate": "{classname} - {title}", "ancestorSeparator": " > ", "usePathForSuiteName": "true" }, "husky": { "hooks": { "pre-commit": "npm run prettier:write" } }, "prettier": { "printWidth": 120, "singleQuote": true } }