Skip to content

Commit

Permalink
add a demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattquinlan440 committed Jul 10, 2024
1 parent fbe292e commit 0cd95b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Project specific files
demo/index.html
demo/depcache.json

# Local developer environment configuration
.screen_layout
Expand Down
1 change: 1 addition & 0 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "src/index.js",
"types": "./types/index.d.ts",
"scripts": {
"depcache": "node ../cjs/cli.entry.js -o depcache.json --outputDepcache true",
"start": "node ../cjs/cli.entry.js -i index.source.html -o index.html && ws --spa index.html"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"pretest": "scripts/check-dependencies && eslint src/",
"preversion": "scripts/preversion --commit-docs",
"start": "npm run build && cd demo && npm ci && npm start",
"start:depcache": "npm run build && cd demo && npm ci && npm run depcache",
"test": "scripts/test",
"test:live": "nodemon -x 'scripts/test' -w js,json --watch src/",
"update": "npx npm-check -uE",
Expand Down

0 comments on commit 0cd95b8

Please sign in to comment.