|
12 | 12 | "scripts": { |
13 | 13 | "init": "yarn && yarn build", |
14 | 14 | "analyze": "custom-elements-manifest analyze --litelement --globs \"./packages/*/src/**/*.ts\"", |
15 | | - "build": "npm run prettier:check && npm run clean && lerna run build --scope '@microsoft/*'", |
16 | | - "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'", |
17 | | - "build:compile": "npm run prettier:check && npm run clean && lerna run build:compile --scope '@microsoft/*'", |
| 15 | + "build": "npm run prettier:check && npm run clean && lerna run build --scope \"@microsoft/*\"", |
| 16 | + "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\"", |
| 17 | + "build:compile": "npm run prettier:check && npm run clean && lerna run build:compile --scope \"@microsoft/*\"", |
18 | 18 | "build:mgt": "cd ./packages/mgt && npm run build", |
19 | 19 | "build:mgt-element": "cd ./packages/mgt-element && npm run build", |
20 | 20 | "build:mgt-components": "cd ./packages/mgt-components && npm run build", |
21 | 21 | "build:mgt-react": "lerna run build --scope @microsoft/mgt-react", |
22 | 22 | "build:react-contoso": "lerna run build --scope react-contoso", |
23 | 23 | "bundle": "cd ./packages/mgt && npm run bundle", |
24 | | - "clean": "lerna run --parallel --stream --scope '@microsoft/*' clean", |
25 | | - "lint:eslint": "eslint -c .eslintrc.js --quiet 'packages/*/src/**/*.ts'", |
26 | | - "lint:eslint:fix": "eslint -c .eslintrc.js --quiet 'packages/*/src/**/*.ts' --fix", |
27 | | - "lint:eslint:loud": "eslint -c .eslintrc.js 'packages/*/src/**/*.ts'", |
28 | | - "lint:styles": "stylelint './packages/mgt-components/**/*.{css,scss}'", |
29 | | - "lint:styles:fix": "stylelint './packages/mgt-components/**/*.{css,scss}' --fix", |
| 24 | + "clean": "lerna run --parallel --stream --scope \"@microsoft/*\" clean", |
| 25 | + "lint:eslint": "eslint -c .eslintrc.js --quiet \"packages/*/src/**/*.ts\"", |
| 26 | + "lint:eslint:fix": "eslint -c .eslintrc.js --quiet \"packages/*/src/**/*.ts\" --fix", |
| 27 | + "lint:eslint:loud": "eslint -c .eslintrc.js \"packages/*/src/**/*.ts\"", |
| 28 | + "lint:styles": "stylelint \"./packages/mgt-components/**/*.{css,scss}\"", |
| 29 | + "lint:styles:fix": "stylelint \"./packages/mgt-components/**/*.{css,scss}\" --fix", |
30 | 30 | "lint:fix": "npm-run-all lint:eslint:fix lint:styles:fix", |
31 | 31 | "lint": "npm run lint:eslint && npm run lint:styles", |
32 | | - "pack": "shx rm -rf 'artifacts/*.tgz' && lerna exec --stream --scope '@microsoft/*' -- npm pack", |
| 32 | + "pack": "shx rm -rf \"artifacts/*.tgz\" && lerna exec --stream --scope \"@microsoft/*\" -- npm pack", |
33 | 33 | "sass": "lerna run sass --scope @microsoft/mgt-components", |
34 | 34 | "sass:test": "lerna run sass:test --scope @microsoft/mgt-components", |
35 | 35 | "sass:watch": "lerna run sass:watch --scope @microsoft/mgt-components", |
|
38 | 38 | "start": "npm-run-all prettier:check watch:serve", |
39 | 39 | "start:storybook": "npm-run-all storybook:dev storybook:watch", |
40 | 40 | "start:https": "npm-run-all prettier:check build:esm watch:serve:https", |
41 | | - "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 ", |
| 41 | + "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 ", |
42 | 42 | "watch:serve": "npm-run-all --parallel watch serve", |
43 | 43 | "watch:serve:https": "npm-run-all -parallel watch serve:https", |
44 | 44 | "watch:components": "lerna run --parallel build:watch --scope @microsoft/mgt-components --include-dependents", |
|
54 | 54 | "storybook:watch": "npm-run-all --parallel watch storybook:bundle:watch storybook", |
55 | 55 | "storybook:bundle": "rollup -c ./.storybook/rollup.config.mjs", |
56 | 56 | "storybook:bundle:watch": "rollup -c ./.storybook/rollup.config.mjs --watch", |
57 | | - "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' ../", |
58 | | - "csp": "node ./.storybook/post-process-index-file.js 'Microsoft Graph Toolkit Playground' ../", |
| 57 | + "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\" ../", |
| 58 | + "csp": "node ./.storybook/post-process-index-file.js \"Microsoft Graph Toolkit Playground\" ../", |
59 | 59 | "setLicense": "npm run lint:fix", |
60 | 60 | "test": "npm run wtr:coverage", |
61 | 61 | "version:tsc": "tsc -v", |
|
0 commit comments