Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

Commit bcbe14c

Browse files
Nishad BakshiNishad Bakshi
authored andcommitted
Initial conversion of default template
1 parent 57b6e42 commit bcbe14c

File tree

108 files changed

+2338
-2265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+2338
-2265
lines changed

app/templates/_babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"plugins": ["transform-runtime"],
3+
"presets": ["es2015", "stage-0"]
4+
}

app/templates/_jshintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"browser": true,
33
"camelcase": true,
4+
"esversion": 6,
45
"curly": true,
56
"devel": true,
67
"eqeqeq": true,
@@ -11,7 +12,7 @@
1112
"quotmark": "single",
1213
"undef": true,
1314
"unused": "vars",
14-
"strict": true,
15+
"strict": "implied",
1516
"trailing": true,
1617
"globals": {
1718
"angular": false,

app/templates/bower.json

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,7 @@
11
{
22
"name": "@sample-app-name",
33
"version": "0.0.0",
4-
"dependencies": {
5-
"jquery": "~2.1.4",
6-
"angular": "~1.4.4",
7-
"angular-bootstrap": "^1.1",
8-
"angular-cookies": "~1.4.4",
9-
"angular-highlightjs": "~0.4.3",
10-
"angular-mocks": "~1.4.4",
11-
"angular-ui-router": "~0.2.15",
12-
"angular-ui-tinymce": "~0.0.9",
13-
"angular-animate": "~1.4.4",
14-
"ngtoast": "^2.0.0",
15-
"angular-x2js": "https://github.com/janmichaelyu/angular-x2js.git",
16-
"bootstrap": "~3.3.5",
17-
"font-awesome": "~4.6.0",
18-
"highlightjs":"~8.7.0",
19-
"lodash": "~3.10.1",
20-
"ml-search-ng": "~0.2.0",
21-
"ml-utils": "withjam/ml-utils",
22-
"ng-json-explorer": "8c2a0f9104",
23-
"vkbeautify-wrapper": "*",
24-
"highcharts": "^4.2",
25-
"angular-google-maps": "2.3.2",
26-
"tinymce-dist": "4.3.12"
27-
},
28-
"overrides": {
29-
"angular-highlightjs": {
30-
"dependencies": {"angular" : ">1.0.8", "highlightjs":"~8.7.0"}
31-
}
32-
},
33-
"devDependencies": {
34-
"angular-mocks": "~1.4.4",
35-
"sinon": "http://sinonjs.org/releases/sinon-1.16.1.js",
36-
"bardjs": "~0.1.8"
37-
},
38-
"private": true,
39-
"resolutions": {
40-
"angular": "~1.4.4"
41-
}
4+
"dependencies": {},
5+
"overrides": {},
6+
"devDependencies": {}
427
}

app/templates/gulp.config.js

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,24 @@ module.exports = function() {
1212
var temp = './.tmp/';
1313
var _ = require('lodash');
1414
var wiredep = require('wiredep');
15+
1516
var bower = {
1617
json: require('./bower.json'),
1718
directory: './bower_components/',
1819
ignorePath: '..'
1920
};
21+
2022
var getWiredepDefaultOptions = function() {
2123
return {
2224
bowerJson: bower.json,
2325
directory: bower.directory,
2426
ignorePath: bower.ignorePath,
25-
exclude: [ 'requirejs', 'angularjs', 'font-awesome.css' ]
27+
exclude: ['requirejs', 'angularjs', 'font-awesome.css']
2628
};
2729
};
28-
var bowerFiles = wiredep(_.merge(getWiredepDefaultOptions(), { devDependencies: true })).js;
30+
var bowerFiles = wiredep(_.merge(getWiredepDefaultOptions(), {
31+
devDependencies: true
32+
})).js;
2933
var nodeModules = 'node_modules';
3034

3135
var config = {
@@ -94,7 +98,9 @@ module.exports = function() {
9498
/**
9599
* plato
96100
*/
97-
plato: {js: clientApp + '**/*.js'},
101+
plato: {
102+
js: clientApp + '**/*.js'
103+
},
98104

99105
/**
100106
* browser sync
@@ -183,9 +189,15 @@ module.exports = function() {
183189
// dir: report + 'coverage',
184190
reporters: [
185191
// reporters not supporting the `file` property
186-
{type: 'html', subdir: 'report-html'},
187-
{type: 'lcov', subdir: 'report-lcov'},
188-
{type: 'text-summary'} //, subdir: '.', file: 'text-summary.txt'}
192+
{
193+
type: 'html',
194+
subdir: 'report-html'
195+
}, {
196+
type: 'lcov',
197+
subdir: 'report-lcov'
198+
}, {
199+
type: 'text-summary'
200+
} //, subdir: '.', file: 'text-summary.txt'}
189201
]
190202
},
191203
preprocessors: {}

0 commit comments

Comments
 (0)