Skip to content

Commit

Permalink
feat: change to commonjs, change node-clipboardy
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Feb 4, 2023
1 parent 2eb82b2 commit ec76c23
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
6 changes: 3 additions & 3 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env node

import yargs from "yargs";
import clipboardy from "clipboardy";
import info from '../package.json' assert { type: 'json' };
const yargs = require("yargs");
const clipboardy = require("node-clipboardy");
const info = require('../package.json');

yargs(process.argv.slice(2))
.scriptName("imgtaggen")
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"bin": {
"imgtaggen": "bin/index.js"
},
"type": "module",
"dependencies": {
"clipboardy": "^3.0.0",
"node-clipboardy": "^1.0.3",
"yargs": "^17.6.2"
},
"scripts": {
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec76c23

Please sign in to comment.