diff options
author | Andy Thompson <andrew.thompson@qmul.ac.uk> | 2022-02-11 01:00:55 +0000 |
---|---|---|
committer | Andy Thompson <andrew.thompson@qmul.ac.uk> | 2022-02-11 01:00:55 +0000 |
commit | 72f64a5192da97307156c1529838556f15e94ffa (patch) | |
tree | 422c7e10dbab6ed9f52498971c111c0c2420dce6 /package.json | |
download | lustre-72f64a5192da97307156c1529838556f15e94ffa.tar.gz lustre-72f64a5192da97307156c1529838556f15e94ffa.zip |
:tada: Init repo.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..a89771a --- /dev/null +++ b/package.json @@ -0,0 +1,31 @@ +{ + "name": "gleam-lustre", + "version": "1.0.0", + "description": "A Gleam project", + "main": "index.js", + "type": "module", + "directories": { + "test": "test" + }, + "scripts": { + "clean": "rm -rf build dist", + "build:gleam": "gleam build && cd src/lustre && find . -type f -iname \"*.mjs\" -ls -exec ditto {} ../../build/dev/javascript/lustre/dist/lustre/{} \\; && cd ../../", + "build": "npm run build:gleam && parcel build src/index.html", + "start": "npm run build:gleam && concurrently --kill-others \"chokidar src/lustre/* -c \\\"npm run build:gleam\\\"\" \"parcel src/index.html\"", + "start:clean": "npm run clean && npm start" + }, + "author": "", + "license": "MIT", + "dependencies": { + "morphdom": "^2.6.1" + }, + "devDependencies": { + "chokidar-cli": "^3.0.0", + "concurrently": "^7.0.0", + "parcel": "^2.3.0", + "process": "^0.11.10" + }, + "alias": { + "lustre": "./build/dev/javascript/lustre/dist/lustre" + } +}
\ No newline at end of file |