Initial set of javascript files; nothing configured yet.
Showing
4 changed files
with
86 additions
and
0 deletions
Gruntfile.js
0 → 100644
1 | /* global module */ | ||
2 | |||
3 | module.exports = function(grunt) { | ||
4 | /* global require */ | ||
5 | 'use strict'; | ||
6 | |||
7 | var config = {}; | ||
8 | config.jshint = { | ||
9 | options: { | ||
10 | }, | ||
11 | browserOptions: { | ||
12 | }, | ||
13 | }; | ||
14 | /* | ||
15 | config.punch = { | ||
16 | }; | ||
17 | config.css = { | ||
18 | options: { | ||
19 | dirs: [ | ||
20 | 'css', | ||
21 | ] | ||
22 | }, | ||
23 | }; | ||
24 | config.images = { | ||
25 | options: { | ||
26 | base: 'src', | ||
27 | dirs: ['media'], | ||
28 | }, | ||
29 | }; | ||
30 | */ | ||
31 | config.useRev = true; | ||
32 | config.bower = { | ||
33 | directory: 'lib/bower', | ||
34 | }; | ||
35 | /* | ||
36 | config.modules = [ | ||
37 | { | ||
38 | name: 'main', | ||
39 | }, | ||
40 | ]; | ||
41 | */ | ||
42 | config.uglify = { | ||
43 | mangle: true, | ||
44 | beautify: false, | ||
45 | compress: true, | ||
46 | }; | ||
47 | |||
48 | var montyPython = require('grunt-monty-python')(grunt); | ||
49 | montyPython.createConfig(config); | ||
50 | }; |
package.json
0 → 100644
1 | { | ||
2 | "name": "solr-frontend", | ||
3 | "license": "UNLICENSED", | ||
4 | "version": "2015.10.13-0", | ||
5 | "description": "Solr Frontend", | ||
6 | "repository": { | ||
7 | "type": "git", | ||
8 | "url":"git+ssh://git@gitlab.brainfood.com:brainfood/solr-backend.git" | ||
9 | }, | ||
10 | "dependencies": { | ||
11 | }, | ||
12 | "devDependencies": { | ||
13 | "grunt": "~0", | ||
14 | "grunt-monty-python": "git+ssh://git@gitlab.brainfood.com:brainfood/grunt-monty-python.git" | ||
15 | }, | ||
16 | "engines": { | ||
17 | "node": ">=0.8.0" | ||
18 | } | ||
19 | } |
-
Please register or sign in to post a comment