feat: 添加构建和开发脚本,配置 npm 认证信息

This commit is contained in:
abearxiong committed 2026-01-20 23:05:16 +08:00
1 parent dc4bd6ca91
commit 1ee3d31b72
2 files changed
+5 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
//npm.xiongxiao.me/:_authToken=${ME_NPM_TOKEN}
//npm.cnb.cool/kevisual/registry/-/packages/:_authToken=${CNB_API_KEY}
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
+2 -1
View File
@@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "bun run bun.config.ts",
"dev": "bun --watch src/main.ts"
},
"keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",