rework
Showing
.eslintrc.js
0 → 100644
.npmignore
0 → 100644
.prettierrc
0 → 100644
This diff is collapsed.
install-npm.sh
0 → 100755
This source diff could not be displayed because it is too large. You can view the blob instead.
... | @@ -4,8 +4,8 @@ | ... | @@ -4,8 +4,8 @@ |
"description": "Check CDN nodes and update AliDNS records.", | "description": "Check CDN nodes and update AliDNS records.", | ||
"main": "build/run.js", | "main": "build/run.js", | ||
"scripts": { | "scripts": { | ||
"build": "./node_modules/.bin/tsc", | "build": "tsc", | ||
"start": "node build/run.js" | "start": "node dist/run.js" | ||
}, | }, | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
... | @@ -16,15 +16,24 @@ | ... | @@ -16,15 +16,24 @@ |
"dependencies": { | "dependencies": { | ||
"@alicloud/pop-core": "^1.7.9", | "@alicloud/pop-core": "^1.7.9", | ||
"@types/cron": "^1.7.2", | "@types/cron": "^1.7.2", | ||
"@types/node": "^14.0.14", | |||
"@types/q": "^1.5.4", | "@types/q": "^1.5.4", | ||
"@types/underscore": "^1.10.3", | |||
"@types/yaml": "^1.9.7", | "@types/yaml": "^1.9.7", | ||
"axios": "^0.19.2", | "axios": "^0.19.2", | ||
"delay": "^5.0.0", | |||
"icmp": "^1.4.0", | "icmp": "^1.4.0", | ||
"lodash": "^4.17.21", | |||
"q": "^1.5.1", | "q": "^1.5.1", | ||
"typescript": "^3.9.6", | |||
"underscore": "^1.10.2", | |||
"yaml": "^1.10.0" | "yaml": "^1.10.0" | ||
}, | |||
"devDependencies": { | |||
"@types/lodash": "^4.14.172", | |||
"@types/node": "^16.7.1", | |||
"@typescript-eslint/eslint-plugin": "^4.29.2", | |||
"@typescript-eslint/parser": "^4.29.2", | |||
"eslint": "^7.32.0", | |||
"eslint-config-prettier": "^8.3.0", | |||
"eslint-plugin-prettier": "^3.4.1", | |||
"prettier": "^2.3.2", | |||
"typescript": "^4.3.5" | |||
} | } | ||
} | } |
This diff is collapsed.
Please register or sign in to comment