Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit 449114d

Browse files
committed
Initial
1 parent 00b8020 commit 449114d

27 files changed

+997
-989
lines changed

Gruntfile.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,25 @@ module.exports = function(grunt) {
8686
}
8787
},
8888

89+
/**
90+
* Compiles the TypeScript files.
91+
*/
92+
typescript: {
93+
base: {
94+
src: ['src/assets/scripts/**/*.ts'],
95+
dest: 'assets/scripts/',
96+
options: {
97+
module: 'commonjs',
98+
target: 'es5',
99+
basePath: '',
100+
sourceMap: false,
101+
declaration: false,
102+
nolib: false,
103+
comments: true
104+
}
105+
}
106+
},
107+
89108
/**
90109
* Creates a node.js Express Server to test our code in a server like environment.
91110
* Note: We are using the watch task to keep the server running.
@@ -142,6 +161,7 @@ module.exports = function(grunt) {
142161
grunt.loadNpmTasks('grunt-contrib-copy');
143162
grunt.loadNpmTasks('grunt-browserify');
144163
grunt.loadNpmTasks('grunt-contrib-watch');
164+
grunt.loadNpmTasks('grunt-typescript');
145165
grunt.loadNpmTasks('grunt-express');
146166
grunt.loadNpmTasks('grunt-open');
147167
grunt.loadNpmTasks('grunt-contrib-handlebars');

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"tests"
2424
],
2525
"dependencies": {
26-
"structurejs": "*"
26+
"structurejs": "~0.7.0"
2727
}
2828
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
"grunt-contrib-handlebars": "~0.9.3",
3232
"grunt-contrib-watch": "~0.6.1",
3333
"grunt-express": "^1.4.1",
34-
"grunt-open": "~0.2.3"
34+
"grunt-open": "~0.2.3",
35+
"grunt-typescript": "^0.6.1",
36+
"typescript": "^1.4.1"
3537
}
3638
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy