mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
use module files (#252)
* use module * detect files to be restore automatically * use esbuild * drop ncc * add comments * refactor
This commit is contained in:
parent
31d4b8b483
commit
6948892be9
11 changed files with 775 additions and 3346 deletions
|
@ -3,16 +3,17 @@
|
|||
"version": "2.5.1",
|
||||
"private": true,
|
||||
"description": "Install SSH key in .ssh",
|
||||
"main": "lib/index.js",
|
||||
"main": "./dist/main.js",
|
||||
"engines": {
|
||||
"node": ">=8.0.0",
|
||||
"npm": ">=5.7.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ncc build src/main.ts -o lib",
|
||||
"build": "esbuild ./src/main.ts ./src/post.ts --bundle --platform=node --minify --sourcemap --outdir=./dist",
|
||||
"check-updates": "ncu",
|
||||
"lint": "run-p lint:*",
|
||||
"lint:ts": "eslint ./src --ext .ts",
|
||||
"lint:es": "eslint ./src --ext .ts",
|
||||
"lint:ts": "tsc --noEmit ./src/main.ts ./src/post.ts",
|
||||
"lint:md": "markdownlint . --ignore node_modules --ignore examples",
|
||||
"lint:yaml": "yamllint **/{,.}*.{yml,yaml} --ignore=node_modules/**",
|
||||
"verify": "run-p lint"
|
||||
|
@ -35,7 +36,7 @@
|
|||
"@types/node": "18.15.7",
|
||||
"@typescript-eslint/eslint-plugin": "5.56.0",
|
||||
"@typescript-eslint/parser": "5.56.0",
|
||||
"@vercel/ncc": "0.36.1",
|
||||
"esbuild": "0.19.4",
|
||||
"eslint": "8.36.0",
|
||||
"markdownlint-cli": "0.33.0",
|
||||
"npm-check-updates": "16.8.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue