You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/08 08:55:36 UTC
[24/39] incubator-weex git commit: + [build] add weex-js-framework
and weex-js-runtime packages
+ [build] add weex-js-framework and weex-js-runtime packages
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0d8f8595
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0d8f8595
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0d8f8595
Branch: refs/heads/0.16-dev
Commit: 0d8f859526bc459a38cda8c4e9470d6c939d3659
Parents: 9e49d24
Author: Hanks <zh...@gmail.com>
Authored: Tue Aug 1 19:15:39 2017 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Tue Aug 1 19:15:39 2017 +0800
----------------------------------------------------------------------
package.json | 2 +-
packages/weex-js-framework/.npmignore | 4 +
packages/weex-js-framework/index.js | 25150 ++++++++++++++++++++++++
packages/weex-js-framework/index.min.js | 1 +
packages/weex-js-framework/package.json | 22 +
packages/weex-js-runtime/.npmignore | 4 +
packages/weex-js-runtime/index.js | 3906 ++++
packages/weex-js-runtime/index.min.js | 1 +
packages/weex-js-runtime/index.min.js.gz | Bin 0 -> 12588 bytes
packages/weex-js-runtime/package.json | 22 +
10 files changed, 29111 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0d8f8595/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index e76c35b..68e5ab1 100644
--- a/package.json
+++ b/package.json
@@ -81,7 +81,7 @@
"clean:examples": "echo \"\\033[36;1m[Clean]\\033[0m \\033[33mexamples\\033[0m\" && rm -vrf examples/build/*",
"clean:test": "echo \"\\033[36;1m[Clean]\\033[0m \\033[33mtest\\033[0m\" && rm -vrf test/build/*",
"clean": "npm run clean:examples && npm run clean:test",
- "copy:js": "cp -vf ./dist/native.js ./android/sdk/assets/main.js",
+ "copy:js": "cp -vf ./packages/weex-js-framework/index.js ./pre-build/native-bundle-main.js",
"copy:examples": "rm -rf ./android/playground/app/src/main/assets/* && cp -vrf ./examples/build/* ./android/playground/app/src/main/assets/",
"copy": "npm run copy:js && npm run copy:examples",
"danger": "danger"
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0d8f8595/packages/weex-js-framework/.npmignore
----------------------------------------------------------------------
diff --git a/packages/weex-js-framework/.npmignore b/packages/weex-js-framework/.npmignore
new file mode 100644
index 0000000..1cb6dac
--- /dev/null
+++ b/packages/weex-js-framework/.npmignore
@@ -0,0 +1,4 @@
+node_modules
+package-lock.json
+*.log
+*.gz