Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
94112530
Commit
94112530
authored
Aug 22, 2016
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавил команду сборки без SM
parent
e622ccdf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+1
-1
gulpfile.js
gulpfile.js
+1
-1
package.json
package.json
+1
-0
No files found.
README.md
View file @
94112530
...
...
@@ -8,7 +8,7 @@
`port=3004 npm start`
— для запуска сервера автообновлений на указанном порту.
`
NODE_ENV=production npm start [задача]`
— для запуска задач без создания sourcemaps
.
`
npm run build`
— сборка проекта «для продакшена» (без кар кода)
.
...
...
gulpfile.js
View file @
94112530
...
...
@@ -79,7 +79,7 @@ gulp.task('less', function () {
.
pipe
(
gulpIf
(
!
isDev
,
cleanss
()))
.
pipe
(
rename
(
'style.min.css'
))
.
pipe
(
debug
({
title
:
"RENAME:"
}))
.
pipe
(
gulpIf
(
isDev
,
sourcemaps
.
write
()))
.
pipe
(
gulpIf
(
isDev
,
sourcemaps
.
write
(
'/'
)))
.
pipe
(
size
({
title
:
'Размер'
,
showFiles
:
true
,
...
...
package.json
View file @
94112530
...
...
@@ -6,6 +6,7 @@
"test"
:
"node_modules/.bin/stylelint ./src/**/*.less"
,
"start"
:
"./node_modules/.bin/gulp"
,
"deploy"
:
"cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy"
,
"build"
:
"cross-env NODE_ENV=production npm start build"
,
"precommit"
:
"npm test"
},
"author"
:
"Nikolay Gromov"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment