aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 3cd6217f9cfe8db54699123afd29c874686c2bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"
  }
}