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

Commit edc154d

Browse files
committed
Build: Add npm alias for grunt commands
1 parent 0ae0e99 commit edc154d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ grunt.initConfig({
9797
watch: {
9898
sass: {
9999
files: [ "scss/**/*.scss" ],
100-
tasks: [ "sass", "autoprefixer" ],
100+
tasks: [ "build" ],
101101
options: {
102102
spawn: false
103103
}

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
"url": "https://github.com/jquery/css-chassis/blob/master/LICENSE.txt"
3636
}
3737
],
38+
"scripts": {
39+
"build": "npm install && grunt build",
40+
"start": "grunt watch",
41+
"test": "grunt"
42+
},
3843
"dependencies": {},
3944
"devDependencies": {
4045
"commitplease": "2.0.0",

0 commit comments

Comments
 (0)