mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-07-16 00:00:04 +08:00
Build
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user