Skip to content

Commit 079faf0

Browse files
committed
Update build layer script
1 parent 3fce629 commit 079faf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-layer.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ npm init -y
3737
npm install canvas --build-from-source
3838
npm install fabric
3939
npm install konva
40-
npm install chart.js
40+
npm install chartjs-node-canvas chart.js
4141
npm install mocha --save-dev
4242
jq --arg LAYER_NAME "$LAYER_NAME" --arg LAYER_DESCRIPTION "$LAYER_DESCRIPTION" --arg LAYER_VERSION "$LAYER_VERSION" --arg LAYER_AUTHOR "$LAYER_AUTHOR" --arg SEMVER_VERSION "$SEMVER_VERSION" '.name = $LAYER_NAME | .description = $LAYER_DESCRIPTION | .version = $LAYER_VERSION | .license = "MIT" | .author = $LAYER_AUTHOR | .scripts.test = "mocha" | .overrides.semver = $SEMVER_VERSION ' package.json > package-tmp.json
4343
mv -f package-tmp.json package.json

0 commit comments

Comments
 (0)