Skip to content

Commit f14ecbd

Browse files
committed
Updated script-runner to target .npmscriptrc and .npmscriptrc.js
1 parent 337e727 commit f14ecbd

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.npmscriptrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
{
77
"publish":
88
{
9-
"prepublish": { "scripts": ["node ./test/scripts/fixture.js"] }
9+
"prepublish": { "scripts": ["node ./test/data/fixture.js"] }
1010
}
1111
}

scripts/prepublish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ if (inPublish || process.env.NPM_IN_PUBLISH_TEST)
1919
{
2020
var runner = require('typhonjs-npm-scripts-runner');
2121

22-
runner.run('.npmscriptrc', 'publish.prepublish.scripts', 'Prepublish');
22+
runner.run(['.npmscriptrc', '.npmscriptrc.js'], 'publish.prepublish.scripts', 'Prepublish');
2323
}
File renamed without changes.

0 commit comments

Comments
 (0)