|
4 | 4 | "scripts": {
|
5 | 5 | "postinstall": "lerna bootstrap --force-local",
|
6 | 6 | "clean": "rimraf \"packages/*/out\"",
|
7 |
| - "compile": "npm run clean && concurrently \"npm:compile:core:*\" && concurrently \"npm:compile:table\" \"npm:compile:flame\"", |
8 |
| - "compile:core": "concurrently \"npm:compile:core:*\"", |
9 |
| - "compile:core:ext": "cd packages/vscode-js-profile-core && tsc -p tsconfig.json", |
10 |
| - "compile:core:esm": "cd packages/vscode-js-profile-core && tsc -p tsconfig.browser.json", |
11 |
| - "compile:core:css": "cd packages/vscode-js-profile-core && cpy --parents --cwd=src \"**/*.css\" ../out/esm", |
12 |
| - "compile:table": "concurrently \"npm:compile:table:*\" && rimraf packages/vscode-js-profile-table/out/client", |
13 |
| - "compile:table:ext": "cd packages/vscode-js-profile-table && webpack --config webpack.extension.js", |
14 |
| - "compile:table:webpack": "cd packages/vscode-js-profile-table && webpack --mode production --config webpack.client.js", |
15 |
| - "compile:flame": "concurrently \"npm:compile:flame:*\" && rimraf packages/vscode-js-profile-flame/out/client", |
16 |
| - "compile:flame:ext": "cd packages/vscode-js-profile-flame && webpack --config webpack.extension.js", |
17 |
| - "compile:flame:webpack": "cd packages/vscode-js-profile-flame && webpack --mode production --config webpack.client.js", |
18 |
| - "compile:flame:realtime": "cd packages/vscode-js-profile-flame && webpack --mode production --config webpack.realtime.js", |
| 7 | + "compile": "npm run clean && npm run compile:core && concurrently \"npm:compile:table\" \"npm:compile:flame\"", |
| 8 | + "compile:core": "lerna run --scope vscode-js-profile-core compile", |
| 9 | + "compile:table": "lerna run --scope vscode-js-profile-table compile", |
| 10 | + "compile:flame": "lerna run --scope vscode-js-profile-flame compile", |
19 | 11 | "watch": "concurrently \"npm:watch:core:*\" \"npm:watch:flame:*\" \"npm:watch:table:*\"",
|
20 |
| - "watch:core:ext": "cd packages/vscode-js-profile-core && tsc --watch", |
21 |
| - "watch:core:esm": "cd packages/vscode-js-profile-core && tsc --watch -p tsconfig.browser.json", |
22 |
| - "watch:core:css": "npm run compile:core:css && cd packages/vscode-js-profile-core && chokidar \"src/**/*.css\" -c \"cpy --parents --cwd=src '**/*.css' ../out/esm\"", |
23 |
| - "watch:table": "concurrently \"npm:watch:table:*\" \"npm:watch:core:*\"", |
24 |
| - "watch:table:ext": "cd packages/vscode-js-profile-table && webpack --config webpack.extension.js --watch", |
25 |
| - "watch:table:webpack": "cd packages/vscode-js-profile-table && webpack --config webpack.client.js --watch", |
26 |
| - "watch:flame": "concurrently \"npm:watch:flame:*\" \"npm:watch:core:*\"", |
27 |
| - "watch:flame-only": "concurrently \"npm:watch:flame:*\"", |
28 |
| - "watch:flame:ext": "cd packages/vscode-js-profile-flame && webpack --config webpack.extension.js --watch", |
29 |
| - "watch:flame:webpack": "cd packages/vscode-js-profile-flame && webpack --config webpack.client.js --watch", |
30 |
| - "watch:flame:realtime": "cd packages/vscode-js-profile-flame && webpack --config webpack.realtime.js --watch", |
31 |
| - "watch:notebook": "concurrently \"npm:watch:notebook:*\" \"npm:watch:core:*\"", |
32 |
| - "watch:notebook:ext": "cd packages/vscode-js-profile-notebook && webpack --config webpack.extension.js --watch", |
33 |
| - "watch:notebook:webpack": "cd packages/vscode-js-profile-notebook && webpack-dev-server --config webpack.client.js --hot", |
34 |
| - "standalone:flame": "cd packages/vscode-js-profile-flame && cross-env STANDALONE=1 VIZ_MODEL=../../samples/cpu-model.json webpack-dev-server", |
35 |
| - "standalone:table": "cd packages/vscode-js-profile-table && cross-env STANDALONE=1 VIZ_MODEL=../../samples/cpu-model.json webpack-dev-server", |
| 12 | + "watch:core": "lerna run --scope vscode-js-profile-core watch", |
| 13 | + "watch:table": "lerna run --scope vscode-js-profile-table watch", |
| 14 | + "watch:flame": "lerna run --scope vscode-js-profile-flame watch", |
| 15 | + "pack": "npm run compile && lerna run pack", |
36 | 16 | "fmt": "prettier --write \"packages/**/*.{ts,tsx,css}\" \"!**/out/**\" && npm run test:lint -- --fix",
|
37 | 17 | "test": "concurrently \"npm:test:*\"",
|
38 | 18 | "test:lint": "eslint \"packages/**/*.{ts,tsx}\"",
|
|
0 commit comments