forked from niki-timofe/verdaccio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
close verdaccio#155, see reasons there This is a huge commit, so let me know if it will cause any trouble, I might consider reverting it if it's the case.
- Loading branch information
Showing
51 changed files
with
4,767 additions
and
4,784 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
module.exports = function(grunt) { | ||
grunt.initConfig({ | ||
pkg: grunt.file.readYAML('package.yaml'), | ||
browserify: { | ||
dist: { | ||
files: { | ||
'lib/static/main.js': ['lib/GUI/js/main.js'] | ||
}, | ||
options: { | ||
debug: true, | ||
transform: ['browserify-handlebars'] | ||
} | ||
} | ||
grunt.initConfig({ | ||
pkg: grunt.file.readYAML('package.yaml'), | ||
browserify: { | ||
dist: { | ||
files: { | ||
'lib/static/main.js': [ 'lib/GUI/js/main.js' ] | ||
}, | ||
less: { | ||
dist: { | ||
files: { | ||
'lib/static/main.css': ['lib/GUI/css/main.less'] | ||
}, | ||
options: { | ||
sourceMap: true | ||
} | ||
} | ||
options: { | ||
debug: true, | ||
transform: [ 'browserify-handlebars' ] | ||
} | ||
} | ||
}, | ||
less: { | ||
dist: { | ||
files: { | ||
'lib/static/main.css': [ 'lib/GUI/css/main.less' ] | ||
}, | ||
watch: { | ||
files: [ "lib/GUI/**/*"], | ||
tasks: [ 'default' ] | ||
options: { | ||
sourceMap: true | ||
} | ||
}); | ||
} | ||
}, | ||
watch: { | ||
files: [ 'lib/GUI/**/*' ], | ||
tasks: [ 'default' ] | ||
} | ||
}) | ||
|
||
grunt.loadNpmTasks('grunt-browserify'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-contrib-less'); | ||
grunt.loadNpmTasks('grunt-browserify') | ||
grunt.loadNpmTasks('grunt-contrib-watch') | ||
grunt.loadNpmTasks('grunt-contrib-less') | ||
|
||
grunt.registerTask('default', [ | ||
'browserify', | ||
'less' | ||
]); | ||
}; | ||
grunt.registerTask('default', [ | ||
'browserify', | ||
'less' | ||
]) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
@media (max-width: 992px) { | ||
.body { | ||
.main-header { | ||
.npm-logo { | ||
width: 100px; | ||
float: left; | ||
} | ||
.body { | ||
.main-header { | ||
.npm-logo { | ||
width: 100px; | ||
float: left; | ||
} | ||
|
||
.packages-header { | ||
border-bottom: none; | ||
} | ||
} | ||
} | ||
.packages-header { | ||
border-bottom: none; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.body { | ||
.content { | ||
padding-top: @mainHeaderHeight + @packagesHeaderHeight + @smRegistryInfoHeight + 10; | ||
.body { | ||
.content { | ||
padding-top: @mainHeaderHeight + @packagesHeaderHeight + @smRegistryInfoHeight + 10; | ||
|
||
.entry { | ||
.title { | ||
margin-bottom: 0; | ||
} | ||
.entry { | ||
.title { | ||
margin-bottom: 0; | ||
} | ||
|
||
.author { | ||
float: none !important; | ||
clear: both; | ||
padding: 0 0 5px 18px; | ||
} | ||
} | ||
} | ||
.author { | ||
float: none !important; | ||
clear: both; | ||
padding: 0 0 5px 18px; | ||
} | ||
} | ||
} | ||
|
||
.no-results { | ||
margin: 10px 0 0; | ||
} | ||
} | ||
.no-results { | ||
margin: 10px 0 0; | ||
} | ||
} | ||
} |
Oops, something went wrong.