This commit is contained in:
Max Lynch
2017-02-07 12:50:35 -06:00
parent a2dcca3815
commit 9802b7f2e4
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -51,6 +51,7 @@
"start": "npm run test:watch",
"lint": "gulp lint",
"build": "npm run lint && npm run build:js && npm run build:esm && npm run build:bundle && npm run build:minify",
"build:jscore2": "tsc -p scripts/build/tsconfig-core.json",
"build:js2": "sh scripts/build/build.sh",
"build:js": "tsc -p tsconfig-es5.json",
"build:esm": "tsc -p tsconfig-esm.json",
+1 -1
View File
@@ -17,5 +17,5 @@ for d in $PLUGINS ; do
mkdir -p "$PLUGIN_BUILD_DIR"
NEW_TSCONFIG="$(echo "$PLUGIN_TSCONFIG" | sed "s/{{PLUGIN}}/$BASE/g")"
echo "$NEW_TSCONFIG" > "$PLUGIN_BUILD_DIR/tsconfig.json"
./node_modules/.bin/tsc -p "$PLUGIN_BUILD_DIR/tsconfig.json"
done
+3 -3
View File
@@ -6,11 +6,11 @@
"experimentalDecorators": true,
"module": "es2015",
"moduleResolution": "node",
"outDir": "../../dist/packages-dist/",
"outDir": "../../../dist/packages-dist/",
"paths": {
"@ionic-native/core": ["../../../dist/packages-dist/"]
"@ionic-native/core": ["../../../dist/packages-dist/@ionic-native/core"]
},
"rootDir": "../../src/",
"rootDir": "../../../src/",
"sourceMap": true,
"inlineSources": true,
"target": "es5",