Skip to content

Commit 02aaaa1

Browse files
committed
[TASK] New Build Tasks
1 parent 43db70a commit 02aaaa1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Resources/Build/package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,12 @@
5454
}
5555
},
5656
"scripts": {
57-
"ci": "./node_modules/gulp/bin/gulp.js ci",
57+
"set node version": "n 10",
5858
"start": "./node_modules/gulp/bin/gulp.js default",
59-
"build": "./node_modules/gulp/bin/gulp.js build"
59+
"build": "./node_modules/gulp/bin/gulp.js build",
60+
"stylelint:fix": "./node_modules/.bin/stylelint --syntax 'scss' ./Assets/Scss/**/*.scss --fix --custom-formatter=./node_modules/stylelint-formatter-pretty || exit 0",
61+
"stylelint:check": "./node_modules/.bin/stylelint --syntax 'scss' ./Assets/Scss/**/*.scss --custom-formatter=./node_modules/stylelint-formatter-pretty",
62+
"eslint:fix": "./node_modules/.bin/eslint -c ./.eslintrc.json --fix ./Assets/JavaScript || exit 0",
63+
"eslint:check": "./node_modules/.bin/eslint -c ./.eslintrc.json ./Assets/JavaScript || exit 0"
6064
}
6165
}

0 commit comments

Comments
 (0)