Skip to content

Commit 8750aff

Browse files
Portugal, Marcelomportuga
Portugal, Marcelo
authored andcommitted
chore: improve NPM scripts
1 parent 78e44f9 commit 8750aff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

grunt/clean.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module.exports =
22
// Clean the temp directory
33
['.tmp', '<%= dist %>', 'docs', 'coverage',
44
'packages/*/.npmignore', 'packages/*/LICENSE.md',
5-
'packages/*/css', 'packages/js', 'packages/*/*.js']
5+
'packages/*/css', 'packages/*/js', 'packages/*/*.js']
66
;

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"main": "index.js",
99
"scripts": {
1010
"bootstrap": "lerna bootstrap",
11-
"bump": "lerna version",
11+
"bump": "lerna version --conventional-commits --no-push -m 'chore: Release %s'",
1212
"changed": "lerna changed",
13-
"clean": "lerna clean",
14-
"release": "lerna publish",
15-
"postinstall": "grunt shell:protractor-install",
13+
"clean": "lerna clean && grunt clean",
14+
"release": "lerna publish from-package",
15+
"postinstall": "webdriver-manager update",
1616
"init": "validate-commit-msg",
17-
"test": "grunt",
17+
"test": "grunt test",
1818
"commit": "git-cz",
1919
"start": "grunt dev --fast"
2020
},

0 commit comments

Comments
 (0)