wip: code review

This commit is contained in:
元凛
2022-02-09 10:08:44 +08:00
parent f79ccb5f94
commit 8cd9c11d81
19 changed files with 7849 additions and 3136 deletions

View File

@@ -14,7 +14,7 @@
},
"license": "MIT",
"author": "xrkffgg",
"main": "src/main.js",
"main": "src/main.ts",
"scripts": {
"start": "APP_ROOT=web dumi dev",
"docs:build": "APP_ROOT=web dumi build",
@@ -23,13 +23,14 @@
"deploy": "npm run docs:build && npm run docs:deploy",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/*.ts",
"lint-fix": "eslint src/*.ts --fix",
"test": "father test",
"package": "ncc build src/main.ts -o dist",
"users": "node ./script/update-users.js",
"main": "node ./src/main.js",
"ver": "node ./script/update-version.js",
"version": "node ./script/update-version.js",
"pub": "npm run package",
"all": "npm run format-check && npm run lint && npm run package"
"all": "npm run format-check && npm run lint && npm run test && npm run package"
},
"dependencies": {
"@actions/core": "^1.6.0",