0.5.4 โ€ข Published 3 years ago

@gveditor/sdk v0.5.4

Weekly downloads
91
License
MIT
Repository
github
Last release
3 years ago

๐Ÿงต Graviton SDK

SDK to develop plugins for Graviton Editor

It makes use of Webpack, ts-loader and babel under the hood.

โœ Usage

Installation:

npm install --save-dev @gveditor/sdk

Develop plugin for development:

gvsdk --project ./ --target plugin --mode dev

Build plugin for production:

gvsdk --project ./ --target plugin --mode release

๐Ÿ“œ Usage

Manifest file (package.json) should have the property mainSrc which indicates where the entry file (aka main file) is located.

Example:

{
	"name": "plugin-example",
	"type":"plugin",
	"version": "1.0.0",
	"mainSrc": "src/main.js",
	"main": "main.js",
	"license": "MIT"
}

CLI parameters:

  • --project: Path of the Plugin's folder where the manifest (package.json) is located
  • --target: Target type: plugin ( aka Dynamic or JavaScript plugin ) iconpack ( Icons pack ) * theme ( UI themes )
  • --mode: Build type (dev, release)
  • --platform: Any webpack target, it defaults to 'node'

Example:

gvsdk --target plugin --project . --mode release

This will generate a release of the plugin you are located in.

๐Ÿค– Where is this being used?

And Graviton Editor itself.

0.5.4

3 years ago

0.5.3

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.9

3 years ago

0.5.0

3 years ago

0.4.8

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.3.9

4 years ago

0.3.8

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.7

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago