-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
127 lines (127 loc) · 4.41 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
{
"name": "@microsoft/mgt",
"version": "1.1.0-preview.2",
"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}\"",
"storybook": "start-storybook --stories \"/stories/**/*.stories.{js,mdx}\" --node-resolve --watch --open",
"storybook:build": "build-storybook --stories \"/stories/**/*.stories.{js,mdx}\"",
"storybook:deploy": "storybook-to-ghpages"
},
"storybook-deployer": {
"gitUsername": "@microsoft/mgt",
"gitEmail": "[email protected]",
"commitMessage": "Deploy Storybook [skip ci]"
},
"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",
"@open-wc/demoing-storybook": "^1.3.3",
"@storybook/storybook-deployer": "^2.8.1",
"@types/jest": "^24.0.11",
"@types/webpack": "^4.41.0",
"@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
}
}