diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-10 23:11:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 23:11:32 +0100 |
commit | f350db196bcab490b8a6b67f9536f0b9b7322073 (patch) | |
tree | 59664ca671be2cfdb473424ca1bf737cf12622e8 /package.json | |
parent | 6d314230346336ba5b452b1df39b908ffa666f45 (diff) | |
download | lustre-f350db196bcab490b8a6b67f9536f0b9b7322073.tar.gz lustre-f350db196bcab490b8a6b67f9536f0b9b7322073.zip |
♻️ Replace React with diffhtml (#10)
* :wrench: Remove react dependency, add vite for running examples.
* :heavy_plus_sign: Update stdlib version to 0.29
* :fire: Remove old examples.
* :sparkles: Vendor diffhtml and update runtime ffi code to replace react.
* :recycle: Refactor all the things now react is gone.
* :memo: Remove references to react in the readme.
* :sparkles: Create a simple counter example.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/package.json b/package.json index 240b09b..6bd739c 100644 --- a/package.json +++ b/package.json @@ -1,37 +1,6 @@ { - "name": "gleam-lustre", - "version": "1.3.0", - "description": "A framework for building web apps - powered by Gleam and React!", - "type": "module", - "directories": { - "test": "test" - }, - "scripts": { - "clean": "rm -rf build dist", - "build": "gleam test && parcel build test/example/index.html", - "build:docs": "gleam docs build && cp -a ./build/dev/docs/lustre/. ./docs/", - "start": "gleam test && concurrently --kill-others \"chokidar \"src/*\" \"test/*\" -c \\\"gleam test\\\"\" \"parcel test/example/index.html\"", - "start:playground": "gleam test && concurrently --kill-others \"chokidar \"src/*\" \"test/*\" -c \\\"gleam test\\\"\" \"parcel test/playground/index.html\"", - "start:docs": "concurrently --kill-others \"chokidar \"src/*\" \"test/*\" -c \\\"npm run build:docs\\\"\" \"http-server docs\"", - "start:clean": "npm run clean && npm start" - }, - "author": "", - "license": "MIT", + "private": true, "devDependencies": { - "@monaco-editor/react": "^4.4.5", - "chokidar-cli": "^3.0.0", - "concurrently": "^8.0.0", - "http-server": "^14.1.0", - "parcel": "^2.8.0", - "process": "^0.11.10" - }, - "alias": { - "example": "./build/dev/javascript/lustre/example", - "lustre": "./build/dev/javascript/lustre", - "playground": "./build/dev/javascript/lustre/playground" - }, - "dependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "vite": "^4.4.2" } } |