Skip to content

Commit

Permalink
to:npm
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangnanscu committed Dec 4, 2024
1 parent 00a853a commit 125d59f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"resty": "/usr/local/openresty/bin/resty -I template -I resty_modules/lualib -I resty_modules/site/lualib --main-conf 'env NODE_ENV;' --http-conf 'lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;'",
"busted": "yarn resty -I spec template/bin/busted.lua -o TAP",
"sync": "cp lib/resty/router.lua template/lib/resty/router.lua",
"lab": "yarn sync && pnpm build && ./outfile.cjs",
"lab": "yarn sync && npm run build && ./outfile.cjs",
"format": "prettier --write .",
"build": "zx ./scripts/build.mjs",
"snapshot": "zx ./scripts/snapshot.mjs",
"pretest2": "run-s build snapshot",
"prepublishOnly": "pnpm build",
"prepublishOnly": "npm run build",
"prepublishOnly2": "zx ./scripts/prepublish.mjs",
"nginx": "nginx -p . -c conf/nginx.conf",
"test": "mv logs/error.log; kill -9 $(lsof -t -i:8080);yarn nginx; ./test.py ; yarn nginx -s stop"
Expand Down

0 comments on commit 125d59f

Please sign in to comment.