File tree 6 files changed +35
-23
lines changed
6 files changed +35
-23
lines changed Original file line number Diff line number Diff line change
1
+ # Compiled Files
2
+ lib
3
+ * .js
4
+ * .map
5
+ * .d.ts
6
+
1
7
# Library directories
2
8
node_modules
3
9
coverage
4
- lib
5
10
npm-debug.log
6
11
7
- # Ignore Mac DS_Store files
12
+ # Mac
13
+ .DS_Store
8
14
** /.DS_Store
9
15
10
16
# Ignore VSCode Config
Original file line number Diff line number Diff line change 1
1
node_modules
2
2
npm-debug.log
3
3
4
+ # Source Files
5
+ src
6
+ * .ts
7
+ ! * .d.ts
8
+
4
9
# Testing
5
10
config
6
11
coverage
@@ -10,3 +15,7 @@ karma.conf.js
10
15
.travis.yml
11
16
.gitignore
12
17
tsconfig.json
18
+
19
+ # Mac
20
+ .DS_Store
21
+ ** /.DS_Store
Original file line number Diff line number Diff line change 1
- export * from './src /angular2-token.model' ;
2
- export * from './src /angular2-token.service' ;
3
- export * from './src /a2t-ui/a2t-ui.module' ;
1
+ export * from './lib /angular2-token.model' ;
2
+ export * from './lib /angular2-token.service' ;
3
+ export * from './lib /a2t-ui/a2t-ui.module' ;
Original file line number Diff line number Diff line change 2
2
function __export ( m ) {
3
3
for ( var p in m ) if ( ! exports . hasOwnProperty ( p ) ) exports [ p ] = m [ p ] ;
4
4
}
5
- __export ( require ( './src/angular2-token.service' ) ) ;
6
- __export ( require ( './src/a2t-ui/a2t-ui.module' ) ) ;
5
+ __export ( require ( './lib/angular2-token.service' ) ) ;
6
+ __export ( require ( './lib/angular2-token.model' ) ) ;
7
+ __export ( require ( './lib/a2t-ui/a2t-ui.module' ) ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular2-token" ,
3
- "version" : " 0.2.0-beta.5 " ,
3
+ "version" : " 0.2.0-beta.6 " ,
4
4
"description" : " Angular2 service for token based authentication" ,
5
+
5
6
"main" : " ./angular2-token.js" ,
6
7
"typings" : " ./angular2-token.d.ts" ,
8
+
7
9
"scripts" : {
8
10
"test" : " karma start" ,
9
- "build" : " rm -rf lib && tsc" ,
11
+ "build" : " rm -rf lib && tsc -p src " ,
10
12
"prepublish" : " npm run build"
11
13
},
12
14
"keywords" : [
Original file line number Diff line number Diff line change 2
2
"compilerOptions" : {
3
3
"target" : " es5" ,
4
4
"module" : " commonjs" ,
5
- "moduleResolution" : " node" ,
6
5
"emitDecoratorMetadata" : true ,
7
6
"experimentalDecorators" : true ,
8
- "allowSyntheticDefaultImports" : true ,
7
+
8
+ "declaration" : true ,
9
9
"sourceMap" : true ,
10
- "noEmitHelpers" : true ,
11
- "strictNullChecks " : false ,
12
- "outDir" : " lib " ,
10
+
11
+ "outDir " : " ../lib " ,
12
+
13
13
"lib" : [
14
14
" dom" ,
15
15
" es6"
26
26
},
27
27
"exclude" : [
28
28
" node_modules" ,
29
- " lib"
30
- ],
31
- "awesomeTypescriptLoaderOptions" : {
32
- "forkChecker" : true ,
33
- "useWebpackText" : true
34
- },
35
- "compileOnSave" : false ,
36
- "buildOnSave" : false ,
37
- "atom" : { "rewriteTsconfig" : false }
29
+ " lib" ,
30
+ " **/*.spec.ts"
31
+ ]
38
32
}
You can’t perform that action at this time.
0 commit comments