Skip to content

Commit f23eb6e

Browse files
committed
Plug lint script
1 parent eca33b4 commit f23eb6e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "install-with-cpm",
33
"version": "1.6.0",
4-
"description": "GitHub action to install App::cpm",
4+
"description": "Install Perl modules with App::cpm",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"lint": "eslint index.js",
8+
"test": "echo \"Error: no test specified\" && exit 1",
9+
"build": "ncc build index.js"
810
},
911
"repository": {
1012
"type": "git",
@@ -24,5 +26,11 @@
2426
"@actions/http-client": "^2.0.1",
2527
"@actions/io": "^1.1.2",
2628
"@actions/tool-cache": "^2.0.1"
29+
},
30+
"devDependencies": {
31+
"@eslint/js": "^9.0.0",
32+
"@vercel/ncc": "^0.34.0",
33+
"eslint": "^9.0.0",
34+
"globals": "^15.0.0"
2735
}
2836
}

0 commit comments

Comments
 (0)