From bf8dc82ce96cf520cf8858890a7ae391afd52fac Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Fri, 6 Jan 2023 21:33:44 +0900 Subject: [PATCH] create gluon --- gluon/.gitignore | 1 + gluon/index.mjs | 5 +++++ gluon/package.json | 10 ++++++++++ gluon/yarn.lock | 15 +++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 gluon/.gitignore create mode 100644 gluon/index.mjs create mode 100644 gluon/package.json create mode 100644 gluon/yarn.lock diff --git a/gluon/.gitignore b/gluon/.gitignore new file mode 100644 index 0000000..928fd73 --- /dev/null +++ b/gluon/.gitignore @@ -0,0 +1 @@ +gluon_data diff --git a/gluon/index.mjs b/gluon/index.mjs new file mode 100644 index 0000000..a8449ca --- /dev/null +++ b/gluon/index.mjs @@ -0,0 +1,5 @@ +import * as Gluon from "@gluon-framework/gluon"; + +await Gluon.open("https://gluonjs.org/", { + windowSize: [800, 500], +}); diff --git a/gluon/package.json b/gluon/package.json new file mode 100644 index 0000000..073dcc6 --- /dev/null +++ b/gluon/package.json @@ -0,0 +1,10 @@ +{ + "name": "gluon", + "version": "1.0.0", + "main": "index.mjs", + "author": "Kohei Watanabe ", + "license": "MIT", + "dependencies": { + "@gluon-framework/gluon": "^0.10.0" + } +} diff --git a/gluon/yarn.lock b/gluon/yarn.lock new file mode 100644 index 0000000..89fe081 --- /dev/null +++ b/gluon/yarn.lock @@ -0,0 +1,15 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@gluon-framework/gluon@^0.10.0": + version "0.10.0" + resolved "https://registry.yarnpkg.com/@gluon-framework/gluon/-/gluon-0.10.0.tgz#46a6fd56087a79c56e98510441c644a780408f3d" + integrity sha512-/2sOyh0dBhWODW6hUHiyABiJReH+A27u16a36QO+jry/J7jsKeNg2kBJNyIkKPmUWMlJY1LzJxUdDEGOWuxcDg== + dependencies: + ws "^8.11.0" + +ws@^8.11.0: + version "8.11.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" + integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==