add wrangler for deploying
This commit is contained in:
parent
37e9b3e116
commit
f2672b48ba
6 changed files with 1463 additions and 16 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
dist/
|
||||
node_modules/
|
||||
.wrangler/
|
||||
|
||||
|
|
4
package
4
package
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
(cd dist; zip -r ../pkg.zip .)
|
||||
|
1445
package-lock.json
generated
Normal file
1445
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
16
package.json
Normal file
16
package.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "kitsucafe-redux",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "wrangler pages dev dist --live-reload",
|
||||
"deploy": "wrangler pages deploy dist --project-name kitsunecafe"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
"devDependencies": {
|
||||
"wrangler": "^3.81.0"
|
||||
}
|
||||
}
|
BIN
pkg.zip
BIN
pkg.zip
Binary file not shown.
12
watch
12
watch
|
@ -1,12 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
kill_server() {
|
||||
kill "$server"
|
||||
}
|
||||
|
||||
roxy_cli content dist
|
||||
inotifywait -mre create,delete,modify content layouts | while read dirname events basename;
|
||||
do
|
||||
roxy_cli content dist
|
||||
done
|
||||
|
Loading…
Reference in a new issue