mirror of
https://github.com/ImSingee/hammal.git
synced 2024-11-22 08:19:21 +08:00
update scripts
This commit is contained in:
parent
fb734db25e
commit
b7e0c915ed
@ -4,12 +4,9 @@
|
|||||||
"description": "Cloudflare worker TypeScript template",
|
"description": "Cloudflare worker TypeScript template",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "NODE_ENV=development npm run build",
|
"dev": "npx wrangler dev",
|
||||||
"build": "webpack",
|
"deploy": "npx wrangler deploy",
|
||||||
"format": "prettier --write '**/*.{ts,js,css,json,md}'",
|
"format": "prettier --write '**/*.{ts,js,css,json,md}'"
|
||||||
"test:clean": "rimraf ./transpiled/src ./transpiled/test",
|
|
||||||
"test": "npm run test:clean && npm run transpile && mocha --require source-map-support/register --recursive transpiled/test",
|
|
||||||
"transpile": "tsc --project ./test"
|
|
||||||
},
|
},
|
||||||
"author": "author",
|
"author": "author",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user