diff --git a/package.json b/package.json index ebf5358..2a9ee31 100644 --- a/package.json +++ b/package.json @@ -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"