|
50 | 50 | }
|
51 | 51 | },
|
52 | 52 | "scripts": {
|
53 |
| - "vscode:prepublish": "npm run compile-frontend && npm run package", |
54 |
| - "vscode:bundle": "npm run package && vsce package", |
55 |
| - "vscode:install": "npm run bundle && code --install-extension call-graph-0.0.1.vsix", |
56 |
| - "vscode:uninstall": "npm run uninstall-extension", |
57 |
| - "vscode:publish": "npm run bundle && vsce publish", |
58 |
| - "compile": "npm run compile-frontend && webpack", |
| 53 | + "vscode:prepublish": "npm run compile-all && npm run vscode:package", |
| 54 | + "vscode:bundle": "npm run vscode:package && vsce package", |
| 55 | + "vscode:install": "npm run vscode:bundle && code --install-extension call-graph-0.0.1.vsix", |
| 56 | + "vscode:uninstall": "code --uninstall k0in.call-graph", |
| 57 | + "vscode:package": "npm run compile-frontend && webpack --mode production --devtool hidden-source-map", |
| 58 | + "vscode:publish": "npm run vscode:bundle && vsce publish", |
| 59 | + "lint-frontend": "cd frontend && npm run lint", |
| 60 | + "compile-frontend": "cd frontend && npm run build", |
| 61 | + "watch-frontend": "cd frontend && npm run watch", |
| 62 | + "lint": "eslint . --ext ts", |
| 63 | + "compile": "webpack", |
59 | 64 | "watch": "npm run compile-frontend && webpack --watch",
|
60 |
| - "package": "npm run compile-frontend && webpack --mode production --devtool hidden-source-map", |
| 65 | + "lint-all": "npm run lint && npm run lint-frontend", |
| 66 | + "compile-all": "npm run compile && npm run compile-frontend", |
| 67 | + "watch-all": "npm run watch && npm run watch-frontend", |
61 | 68 | "compile-tests": "tsc -p ./src/ --outDir out",
|
62 | 69 | "watch-tests": "tsc -p ./src/ -w --outDir out",
|
63 | 70 | "pretest": "npm run compile-tests && npm run compile && npm run lint",
|
64 |
| - "lint": "npm run lint-frontend && npm run lint-vscode", |
65 |
| - "lint-frontend": "cd frontend && npm run lint", |
66 |
| - "lint-vscode": "eslint . --ext ts", |
67 | 71 | "test": "vscode-test",
|
68 |
| - "compile-frontend": "cd frontend && npm run build", |
69 |
| - "build": "npm run compile", |
70 |
| - "install-deps": "npm i && cd frontend && npm i", |
71 |
| - "uninstall-extension": "code --uninstall k0in.call-graph" |
| 72 | + "build": "npm run compile-all", |
| 73 | + "install-deps": "npm i && cd frontend && npm i" |
72 | 74 | },
|
73 | 75 | "devDependencies": {
|
74 | 76 | "@types/mocha": "^10.0.7",
|
|
0 commit comments