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

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

3
.npmrc Normal file
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}

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)",