mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Set up build and dev scripts
This commit is contained in:
parent
531cd4513a
commit
bbc151dd05
1 changed files with 4 additions and 2 deletions
|
|
@ -3,10 +3,12 @@
|
|||
"name": "doesitarm-default",
|
||||
"version": "1.0.0",
|
||||
"description": "A template for kick starting a Cloudflare Workers project",
|
||||
"main": "index.js",
|
||||
"main": "./dist/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"format": "prettier --write '**/*.{js,css,json,md}'"
|
||||
"build": "esbuild --bundle --sourcemap --outdir=dist ./src/index.js",
|
||||
"format": "prettier --write '**/*.{js,css,json,md}'",
|
||||
"dev": "npx miniflare --watch --debug"
|
||||
},
|
||||
"author": "Sam Carlton <sam@sam.lc>",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue