Skip to content

Commit dc7b20f

Browse files
committed
chore: update npm scripts to use npx and update author
1 parent 5647bfc commit dc7b20f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"description": "GitHub Action to enforce that each commit in a pull request be linked to an Azure DevOps work item and automatically link the pull request to each work item ",
66
"main": "dist/index.js",
77
"scripts": {
8-
"format": "prettier --write .",
9-
"format-check": "prettier --check .",
10-
"lint": "eslint src/**/*.ts",
8+
"format": "npx prettier --write .",
9+
"format-check": "npx prettier --check .",
10+
"lint": "npx eslint src/**/*.ts",
1111
"test": "npm run test:bash && npm run test:js",
1212
"test:bash": "./__tests__/action.test.sh",
13-
"test:js": "jest",
14-
"test:watch": "jest --watch",
15-
"test:coverage": "jest --coverage",
16-
"package": "ncc build --source-map --license licenses.txt main.js -o dist",
13+
"test:js": "npx jest",
14+
"test:watch": "npx jest --watch",
15+
"test:coverage": "npx jest --coverage",
16+
"package": "npx @vercel/ncc build --source-map --license licenses.txt main.js -o dist",
1717
"all": "npm run format && npm run package"
1818
},
1919
"repository": {
@@ -25,7 +25,11 @@
2525
"node",
2626
"setup"
2727
],
28-
"author": "dc AG",
28+
"author": {
29+
"name": "Josh Johanning",
30+
"email": "[email protected]",
31+
"url": "https://github.com/joshjohanning"
32+
},
2933
"license": "MIT",
3034
"dependencies": {
3135
"@actions/core": "^1.9.1",

0 commit comments

Comments
 (0)