diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index 72f1342..99b74e2 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [16.x, 18.x, 20.x, 22.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/package-lock.json b/package-lock.json index 5ae9907..23d0473 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,6 +39,9 @@ "mocha-lcov-reporter": "^1.3.0", "semantic-release": "^24.2.7", "sinon": "15.2.0" + }, + "engines": { + "node": ">=16" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 8827ebf..5ed5f9b 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,11 @@ "name": "simple-batch-system", "version": "2.1.0", "description": "simple batch system provides job schduler like async function queueing system.", - "type": "module", "main": "lib/index.js", - "repository": "github:so5/sbs", + "type": "module", + "engines": { + "node": ">=16" + }, "scripts": { "mocha": "mocha \"test/**/*.js\"", "lint": "eslint --fix lib test", @@ -12,10 +14,19 @@ "coverage": "c8 report --reporter=text-lcov > coverage-report.lcov", "prepare": "husky" }, - "author": { - "name": "Naoyuki Sogo" + "repository": { + "type": "git", + "url": "git+https://github.com/so5/sbs.git" }, + "author": "Naoyuki Sogo ", "license": "MIT", + "bugs": { + "url": "https://github.com/so5/sbs/issues" + }, + "homepage": "https://github.com/so5/sbs#readme", + "lint-staged": { + "*.js": "eslint --fix" + }, "devDependencies": { "@eslint/eslintrc": "^3.0.0", "@eslint/js": "^9.7.0", @@ -47,8 +58,5 @@ "dependencies": { "debug": "^4.3.4", "uuid": "^9.0.1" - }, - "lint-staged": { - "*.js": "eslint --fix" } }