-
Notifications
You must be signed in to change notification settings - Fork 306
/
package.json
155 lines (155 loc) · 7.75 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
146
147
148
149
150
151
152
153
154
155
{
"name": "root",
"private": true,
"version": "4.3.0",
"workspaces": {
"packages": [
"packages/*",
"packages/providers/*",
"samples/*"
]
},
"scripts": {
"init": "yarn && yarn build",
"analyze": "custom-elements-manifest analyze --litelement --globs \"./packages/*/src/**/*.ts\"",
"build": "npm run prettier:check && npm run clean && lerna run build --scope \"@microsoft/*\"",
"build:dev": "npm run prettier:check && lerna run build --scope \"@microsoft/*\" --ignore \"@microsoft/mgt\" --ignore \"@microsoft/mgt-spf*\" --ignore \"@microsoft/mgt-sharepoint-provider\" --ignore \"@microsoft/mgt-electron-provider\" --ignore \"@microsoft/mgt-teamsfx-provider\" --ignore \"@microsoft/mgt-proxy-provider\"",
"build:compile": "npm run prettier:check && npm run clean && lerna run build:compile --scope \"@microsoft/*\"",
"build:mgt": "cd ./packages/mgt && npm run build",
"build:mgt-element": "cd ./packages/mgt-element && npm run build",
"build:mgt-components": "cd ./packages/mgt-components && npm run build",
"build:mgt-react": "lerna run build --scope @microsoft/mgt-react",
"build:react-contoso": "lerna run build --scope react-contoso",
"bundle": "cd ./packages/mgt && npm run bundle",
"clean": "lerna run --parallel --stream --scope \"@microsoft/*\" clean",
"lint:eslint": "eslint -c .eslintrc.js --quiet \"packages/*/src/**/*.ts\"",
"lint:eslint:fix": "eslint -c .eslintrc.js --quiet \"packages/*/src/**/*.ts\" --fix",
"lint:eslint:loud": "eslint -c .eslintrc.js \"packages/*/src/**/*.ts\"",
"lint:styles": "stylelint \"./packages/mgt-components/**/*.{css,scss}\"",
"lint:styles:fix": "stylelint \"./packages/mgt-components/**/*.{css,scss}\" --fix",
"lint:fix": "npm-run-all lint:eslint:fix lint:styles:fix",
"lint": "npm run lint:eslint && npm run lint:styles",
"pack": "shx rm -rf \"artifacts/*.tgz\" && lerna exec --stream --scope \"@microsoft/*\" -- npm pack",
"sass": "lerna run sass --scope @microsoft/mgt-components",
"sass:test": "lerna run sass:test --scope @microsoft/mgt-components",
"sass:watch": "lerna run sass:watch --scope @microsoft/mgt-components",
"serve": "web-dev-server --port 3000 --node-resolve --open --watch --compatibility none --app-index index.html",
"serve:https": "web-dev-server --http2 --port 3000 --node-resolve --open --watch --compatibility none --app-index index.html",
"start": "npm-run-all prettier:check watch:serve",
"start:storybook": "npm-run-all storybook:dev storybook:watch",
"start:https": "npm-run-all prettier:check build:esm watch:serve:https",
"watch": "lerna run --parallel --stream --scope \"@microsoft/*\" --ignore \"@microsoft/mgt\" --ignore \"@microsoft/mgt-spf*\" --ignore \"@microsoft/mgt-sharepoint-provider\" --ignore \"@microsoft/mgt-electron-provider\" --ignore \"@microsoft/mgt-teamsfx-provider\" --ignore \"@microsoft/mgt-proxy-provider\" build:watch ",
"watch:serve": "npm-run-all --parallel watch serve",
"watch:serve:https": "npm-run-all -parallel watch serve:https",
"watch:components": "lerna run --parallel build:watch --scope @microsoft/mgt-components --include-dependents",
"watch:react-library-deps": "lerna run build:watch --parallel --stream --scope @microsoft/mgt-react --include-dependencies",
"watch:react-library": "lerna run build:watch --scope @microsoft/mgt-react",
"watch:react-contoso": "lerna run start --scope react-contoso",
"watch:react": "npm-run-all --parallel watch:react-library watch:react-library-deps watch:react-contoso",
"prettier:base": "prettier --parser typescript",
"prettier:check": "npm run prettier:base -- --check \"packages/**/*.{ts,tsx}\"",
"prettier:write": "npm run prettier:base -- --write \"packages/**/*.{ts,tsx}\"",
"storybook": "storybook dev -p 6006",
"storybook:dev": "npm run build:compile && npm run analyze",
"storybook:watch": "npm-run-all --parallel watch storybook:bundle:watch storybook",
"storybook:bundle": "rollup -c ./.storybook/rollup.config.mjs",
"storybook:bundle:watch": "rollup -c ./.storybook/rollup.config.mjs --watch",
"storybook:build": "npm run storybook:bundle && npm run storybook:dev && storybook build && cpx .storybook/CNAME storybook-static && node ./.storybook/post-process-index-file.js \"Microsoft Graph Toolkit Playground\" ../",
"csp": "node ./.storybook/post-process-index-file.js \"Microsoft Graph Toolkit Playground\" ../",
"setLicense": "npm run lint:fix",
"test": "npm run wtr:coverage",
"version:tsc": "tsc -v",
"wtr": "wtr --playwright",
"wtr:coverage": "wtr --playwright --coverage",
"wtr:watch": "wtr --playwright --watch",
"prepare": "husky"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@custom-elements-manifest/analyzer": "^0.9.2",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@microsoft/eslint-config-msgraph": "^4.1.1",
"@open-wc/testing": "^4.0.0",
"@open-wc/testing-helpers": "3.0.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@stackblitz/sdk": "^1.9.0",
"@storybook/addon-a11y": "^7.6.17",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-docs": "^7.6.17",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/addon-links": "^7.6.17",
"@storybook/addon-mdx-gfm": "^7.6.17",
"@storybook/addon-storysource": "^7.6.17",
"@storybook/cli": "^7.6.17",
"@storybook/web-components": "^7.6.17",
"@storybook/web-components-webpack5": "^7.6.17",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@web/dev-server": "^0.4.3",
"@web/dev-server-esbuild": "^1.0.2",
"@web/dev-server-import-maps": "^0.2.0",
"@web/test-runner": "^0.18.0",
"@web/test-runner-junit-reporter": "^0.7.0",
"@web/test-runner-playwright": "^0.11.0",
"@web/test-runner-puppeteer": "^0.15.0",
"@webcomponents/webcomponentsjs": "^2.8.0",
"clean-css": "^5.3.3",
"core-js": "^3.36.0",
"cpx2": "^7.0.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-storybook": "^0.6.15",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"js-beautify": "^1.15.1",
"lerna": "^8.1.2",
"lit": "^3.1.2",
"monaco-editor": "^0.30.0",
"monaco-editor-webpack-plugin": "^6.0.0",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"office-ui-fabric-core": "^11.1.0",
"playwright": "^1.41.2",
"prettier": "3.2.5",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"regenerator-runtime": "^0.14.1",
"rollup": "^4.12.0",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.71.1",
"shx": "^0.3.4",
"sinon": "^17.0.1",
"storybook": "^7.6.17",
"storybook-addon-web-components-knobs": "^0.3.20",
"storybook-version": "^0.1.1",
"stylelint": "^15.11.0",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-copyright": "^3.1.1",
"testing-library__dom": "^7.29.4-beta.1",
"typescript": "^5.3.3",
"web-component-analyzer": "^2.0.0",
"webpack": "^5.90.3",
"whatwg-fetch": "^3.6.20"
},
"packageManager": "yarn@4.1.0",
"resolutions": {
"ws": "8.17.1"
}
}