From eb7e4dfaa9f9a8a03df18212c79a463ba20cf9cf Mon Sep 17 00:00:00 2001 From: David Konsumer Date: Fri, 21 May 2021 15:55:16 -0700 Subject: [PATCH] get storybook to run and npm audit (#135) * get storybook to run (#133) and npm audit * keep module for parent, modify storybook to force commonjs --- .storybook/{main.js => main.cjs} | 0 package.json | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename .storybook/{main.js => main.cjs} (100%) diff --git a/.storybook/main.js b/.storybook/main.cjs similarity index 100% rename from .storybook/main.js rename to .storybook/main.cjs diff --git a/package.json b/package.json index 5d3e7f21..b491e5e0 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "start": "tsc-watch --onSuccess \"rollup -c\"", "deploy-docs": "ts-node tools/gh-pages-publish", "storybook": "start-storybook -p 6006 -s ./storyboard-site", + "prestorybook": "npm run build", "build-storybook": "build-storybook -o storybook-static -s ./storyboard-site", "generate-code": "ts-node -P tsconfig.generate.json tools/generate-code", "unit-test": "cross-env TS_NODE_PROJECT=\"tsconfig.test.json\" mocha --require ts-node/register --require esm \"test/**/*.spec.{js,jsx,ts,tsx}\"", @@ -56,7 +57,7 @@ "@babylonjs/loaders": "^4.2.0", "@babylonjs/materials": "^4.2.0", "@babylonjs/procedural-textures": "^4.2.0", - "@inlet/react-pixi": "^1.2.8", + "@inlet/react-pixi": "^6.5.2", "@rollup/plugin-json": "^4.0.2", "@rollup/plugin-typescript": "^6.1.0", "@storybook/addon-actions": "^6.1.9", @@ -79,7 +80,7 @@ "earcut": "^2.2.2", "esm": "^3.2.25", "github-release-notes": "0.17.2", - "gsap": "^2.1.3", + "gsap": "^3.6.1", "honeycomb-grid": "^3.1.7", "lerp": "^1.0.3", "lint-staged": "^10.5.2",