Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Commit da26e05

Browse files
author
Mark
committed
Simplify build command
1 parent b2fd0aa commit da26e05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.release-it.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
},
1313
hooks: {
1414
'before:init': ['npm test'],
15-
'after:bump': 'npm run build-dist && npm run banner',
15+
'after:bump': 'npm run build && npm run banner',
1616
'after:release':
1717
'echo Successfully released ${name} v${version} to ${repo.repository}.',
1818
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test": "karma start karma.conf.js && npm run lint",
3939
"test-server": "karma start karma.conf.js --single-run=false",
4040
"preversion": "npm test",
41-
"build-dist": "rm -rf dist/* && rollup -c",
41+
"build": "rm -rf dist/* && rollup -c",
4242
"banner": "banner-cli dist/*.js",
4343
"start": "rollup -c --watch",
4444
"lint": "eslint '**/*.{js,ts}'",

0 commit comments

Comments
 (0)