mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-30 06:11:09 +02:00
[refactor] improve build process
This commit is contained in:
@ -121,6 +121,9 @@ const build = {
|
|||||||
.pipe(htmlmin({
|
.pipe(htmlmin({
|
||||||
collapseWhitespace: true
|
collapseWhitespace: true
|
||||||
}))
|
}))
|
||||||
|
.pipe(uglifycss({
|
||||||
|
"uglyComments": true
|
||||||
|
}))
|
||||||
.pipe(dest(path.build))
|
.pipe(dest(path.build))
|
||||||
},
|
},
|
||||||
fonts: function() {
|
fonts: function() {
|
||||||
@ -157,6 +160,7 @@ const build = {
|
|||||||
},
|
},
|
||||||
initialBackground: function() {
|
initialBackground: function() {
|
||||||
return src(path.src + '/js/initial-background.js')
|
return src(path.src + '/js/initial-background.js')
|
||||||
|
.pipe(uglify())
|
||||||
.pipe(dest(path.build + '/js'))
|
.pipe(dest(path.build + '/js'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"version": "6.0.0",
|
"version": "6.1.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"version": "6.0.0",
|
"version": "6.1.0",
|
||||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
var current = "6.0.0";
|
var current = "6.1.0";
|
||||||
|
|
||||||
var name = "Jaded Raven";
|
var name = "Jaded Raven";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"short_name": "nightTab",
|
"short_name": "nightTab",
|
||||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"version": "6.0.0",
|
"version": "6.1.0",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"chrome_url_overrides": {
|
"chrome_url_overrides": {
|
||||||
"newtab": "index.html"
|
"newtab": "index.html"
|
||||||
|
Reference in New Issue
Block a user