Skip to content

Commit

Permalink
wip:publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisawesome committed Oct 12, 2022
1 parent b422604 commit 2c98a9d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
@@ -0,0 +1,2 @@
# .npmrc
engine-strict=true
2 changes: 0 additions & 2 deletions bin/index.js
@@ -1,5 +1,3 @@
#! /usr/bin/env node

const http = require('node:http');
const yargs = require("yargs");
const fs = require('fs-extra');
Expand Down
7 changes: 5 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "serve-file-directory",
"version": "0.0.1",
"name": "directory-serve",
"version": "1.0.2",
"description": "Command line tool to serve the directory",
"main": "bin/index.js",
"scripts": {
Expand All @@ -25,6 +25,9 @@
"type": "git",
"url": "git+https://github.com/cube-root/file-sharing.git"
},
"engines": {
"node": ">=16.0"
},
"bin": {
"directory-serve": "./bin/index.js"
},
Expand Down

0 comments on commit 2c98a9d

Please sign in to comment.