add npm run to extension build commands

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2020-11-18 11:03:43 -05:00
1 parent bf8c0c7a99
commit 0e27ba96fb
9 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -51,7 +51,7 @@ Each Lens extension must have a `package.json` file. It contains a mix of Node.j
"main": "dist/main.js",
"renderer": "dist/renderer.js",
"scripts": {
"build": "webpack --config webpack.config.js",
"build": "npm run webpack --config webpack.config.js",
"dev": "npm run build --watch"
},
"dependencies": {
@@ -94,4 +94,4 @@ export default class ExampleExtension extends LensRendererExtension {
}
```
The Hello World sample extension uses the `Cluster Page` capability, which is just one of the Lens extension API's capabilities. The [Common Capabilities](../capabilities/common-capabilities.md) page will help you home in on the right capabilities to use with your own extensions.
The Hello World sample extension uses the `Cluster Page` capability, which is just one of the Lens extension API's capabilities. The [Common Capabilities](../capabilities/common-capabilities.md) page will help you home in on the right capabilities to use with your own extensions.