Skip to content

Commit 3f803f1

Browse files
committed
rename build and remove from test flow
1 parent 5f438f9 commit 3f803f1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"main": "lib/index.js",
66
"scripts": {
77
"lint": "eslint .",
8-
"pretest": "npm run build && npm run lint",
8+
"pretest": "npm run lint",
99
"test": "mocha",
1010
"cover": "nyc npm test",
11-
"build": "node scripts/build-regexpu.js",
11+
"build-regexpu": "node scripts/build-regexpu.js",
1212
"report:coveralls": "nyc report --reporter=text-lcov | coveralls",
1313
"report:codecov": "nyc report --reporter=text-lcov | codecov --pipe",
1414
"publish-patch": "npm test && npm version patch && git push && git push --tags && npm publish"

scripts/build-regexpu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ fs.writeFileSync(
2323
targetFile,
2424
"/* AUTO GENERATED */\nmodule.exports = " + JSON.stringify(uniReg, null, 4) + '\n'
2525
);
26+
2627
console.log('Done building ' + targetFile)

0 commit comments

Comments
 (0)