File tree 4 files changed +55
-1
lines changed
nativescript-angular-package
4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change
1
+ console . log ( "Hi!" ) ;
2
+ console . log ( process . argv ) ;
3
+
4
+ var myArgs = process . argv . slice ( 2 ) ;
5
+
6
+ console . log ( `Packing with @nativescript/angular: ${ myArgs } ` ) ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " build" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " " ,
5
+ "main" : " prepublish-next.js" ,
6
+ "scripts" : {
7
+ "test" : " echo \" Error: no test specified\" && exit 1"
8
+ },
9
+ "author" : " " ,
10
+ "license" : " ISC" ,
11
+ "devDependencies" : {
12
+ "@types/node" : " ^12.7.12" ,
13
+ "ts-node" : " ^8.4.1"
14
+ }
15
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "module" : " commonjs" ,
4
+ "target" : " es5" ,
5
+ "experimentalDecorators" : true ,
6
+ "emitDecoratorMetadata" : true ,
7
+ "noEmitHelpers" : true ,
8
+ "noEmitOnError" : true ,
9
+ "lib" : [
10
+ " es6" ,
11
+ " dom" ,
12
+ " es2015.iterable"
13
+ ],
14
+ "baseUrl" : " ." ,
15
+ "paths" : {
16
+ "*" : [
17
+ " ./node_modules/*"
18
+ ]
19
+ },
20
+ "types" : [
21
+ " node"
22
+ ],
23
+ "typeRoots" : [
24
+ // add path to @types
25
+ " node_modules/@types"
26
+ ],
27
+ "strict" : false
28
+ }
29
+ }
Original file line number Diff line number Diff line change 32
32
},
33
33
"dependencies" : {
34
34
"@nativescript/angular" : " file:../nativescript-angular"
35
+ },
36
+ "scripts" : {
37
+ "pack" : " cd ../build && npm pack ../nativescript-angular-package" ,
38
+ "pack-with-scoped-version" : " cd ../build/pack-script && npx ts-node index.ts"
35
39
}
36
- }
40
+ }
You can’t perform that action at this time.
0 commit comments