diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..3cd6217 --- /dev/null +++ b/package.json @@ -0,0 +1,32 @@ +{ + "name": "lustre-client-test", + "version": "0.1.0", + "description": "testing for client scripts, and using vitest experimental bench", + "scripts": { + "bench": "run-s build:bench bench:vitest", + "bench:vitest": "vitest bench --config ./vitest.config.js", + + "build": "run-p build:test:**", + "build:bench": "run-s build:test:vdom", + "build:test:02": "cd examples/02-interactivity && gleam build", + "build:test:vdom": "cd test-apps/vdom-test-templates && gleam build", + + "run:vitest": "vitest --config ./vitest.config.js", + + "test": "run-s build \"run:vitest -- --run\"", + "test:02": "run-s build:test:02 \"run:vitest -- --run 02-interactivity.test\"", + "test:vdom": "run-s build:test:vdom \"run:vitest -- --run vdom.ffi \"", + + "watch:test": "run-p \"watch:init:**\"", + "watch:init:build": "run-p build:test:**", + "watch:init:vitest": "run-s run:vitest" + }, + "author": "Jacob Scearcy", + "license": "MIT", + "devDependencies": { + "esbuild": "^0.20.2", + "linkedom": "^0.16.11", + "npm-run-all": "^4.1.5", + "vitest": "^1.5.0" + } +} |