mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
Fix package.json output and remove __extends output
This commit is contained in:
@ -231,6 +231,7 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
modulesPackageDef: {
|
modulesPackageDef: {
|
||||||
|
expand: true,
|
||||||
src: localCfg.packageJsonFilePath,
|
src: localCfg.packageJsonFilePath,
|
||||||
dest: localCfg.outModulesDir + "/",
|
dest: localCfg.outModulesDir + "/",
|
||||||
options: {
|
options: {
|
||||||
@ -254,6 +255,7 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
childPackageFiles: {
|
childPackageFiles: {
|
||||||
|
expand: true,
|
||||||
src: [
|
src: [
|
||||||
localCfg.srcDir + "/**/package.json",
|
localCfg.srcDir + "/**/package.json",
|
||||||
"!./package.json",
|
"!./package.json",
|
||||||
@ -312,7 +314,8 @@ module.exports = function(grunt) {
|
|||||||
removeComments: "<%= !grunt.option('leavecomments') || '' %>",
|
removeComments: "<%= !grunt.option('leavecomments') || '' %>",
|
||||||
compiler: "node_modules/typescript/bin/tsc",
|
compiler: "node_modules/typescript/bin/tsc",
|
||||||
noEmitOnError: true,
|
noEmitOnError: true,
|
||||||
experimentalDecorators: true
|
experimentalDecorators: true,
|
||||||
|
noEmitHelpers: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
buildNodeTests: {
|
buildNodeTests: {
|
||||||
|
Reference in New Issue
Block a user