File tree Expand file tree Collapse file tree 5 files changed +58
-2
lines changed Expand file tree Collapse file tree 5 files changed +58
-2
lines changed Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ const path = require ( 'path' ) ;
4
+
5
+ // Register TS compilation.
6
+ require ( 'ts-node' ) . register ( {
7
+ project : path . join ( __dirname , 'tools/gulp' )
8
+ } ) ;
9
+
10
+ require ( './tools/gulp/gulpfile' ) ;
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"description" : " Additional components for angular2-mdl that are not part of material design lite" ,
5
5
"scripts" : {
6
- "test" : " test"
6
+ "test" : " gulp test"
7
7
},
8
8
"repository" : {
9
9
"type" : " git" ,
19
19
"angular2-mdl" : " 1.5.2"
20
20
},
21
21
"devDependencies" : {
22
+ "@types/node" : " ^6.0.34" ,
23
+ "@types/gulp" : " ^3.8.29" ,
24
+ "gulp" : " ^3.9.1" ,
25
+ "gulp-typescript" : " ^2.13.6" ,
22
26
"zone.js" : " 0.6.17" ,
23
27
"rxjs" : " 5.0.0-beta.11" ,
24
28
"systemjs" : " 0.19.38" ,
25
- "typings" : " 1.3.3"
29
+ "typings" : " 1.3.3" ,
30
+ "ts-node" : " 0.7.3" ,
31
+ "tslint" : " 3.13.0" ,
32
+ "typescript" : " 2.0.0" ,
33
+ "typings" : " 1.3.1"
26
34
},
27
35
"keywords" : [
28
36
" angular2" ,
Original file line number Diff line number Diff line change
1
+ import './tasks/test' ;
Original file line number Diff line number Diff line change
1
+ import * as gulp from 'gulp' ;
2
+ //const karma = require('karma');
3
+ import * as path from 'path' ;
4
+
5
+ gulp . task ( 'test' , [ ] , ( done : ( ) => void ) => {
6
+ // new karma.Server({
7
+ // configFile: path.join(PROJECT_ROOT, 'test/karma.conf.js')
8
+ // }, done).start();
9
+
10
+
11
+ done ( ) ;
12
+ } ) ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "declaration" : true ,
4
+ "emitDecoratorMetadata" : true ,
5
+ "experimentalDecorators" : true ,
6
+ "lib" : [" es6" , " es2015" ],
7
+ "module" : " commonjs" ,
8
+ "moduleResolution" : " node" ,
9
+ "noEmitOnError" : true ,
10
+ "noImplicitAny" : true ,
11
+ "outDir" : " ../../dist/gulp" ,
12
+ "rootDir" : " ." ,
13
+ "sourceMap" : true ,
14
+ "target" : " es5" ,
15
+ "inlineSources" : true ,
16
+ "stripInternal" : true ,
17
+ "baseUrl" : " " ,
18
+ "typeRoots" : [
19
+ " ../../node_modules/@types"
20
+ ],
21
+ "types" : [
22
+ " node"
23
+ ]
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments