-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "weex",
"version": "0.4.0",
"description": "A framework for building Mobile cross-platform UI",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git@github.com:alibaba/weex.git"
},
"homepage": "http://alibaba.github.io/weex/",
"bugs": {
"url": "https://github.com/alibaba/weex/issues"
},
"private": "true",
"keywords": [
"weex",
"hybrid",
"webcomponent",
"appframework",
"mvvm",
"javascript",
"webkit",
"v8",
"jscore",
"html5",
"android",
"ios",
"yunos"
],
"engines": {
"node": ">=4"
},
"scripts": {
"install:js-framework": "cd ./src/js-framework && npm install && cd ../../",
"install:h5-render": "cd ./src/h5-render && npm install && cd ../../",
"install:githooks": "bash ./bin/install-hooks.sh",
"install:components": "bash ./bin/install-components.sh",
"postinstall": "npm run install:js-framework && npm run install:h5-render && npm run install:githooks && npm run install:components",
"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",
"create": "./src/components/bin/create.js",
"transform": "webpack --config webpack.config.js",
"dev": "npm run clean && npm run transform",
"watch": "webpack --watch --config webpack.config.js",
"serve": "serve ./ -p 12580",
"build:js-framework": "cd ./src/js-framework && npm run build && cd ../../",
"build:h5-render": "cd ./src/h5-render && npm run build && cd ../../",
"build": "npm run build:js-framework && npm run build:h5-render",
"copy:js-framework": "cp -vf ./src/js-framework/dist/index.js ./android/sdk/assets/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-framework && npm run copy:examples",
"ci:js-framework": "cd ./src/js-framework && npm run ci && cd ../../",
"ci:h5-render": "cd ./src/h5-render && npm run ci && cd ../../",
"ci": "npm run ci:js-framework && npm run ci:h5-render"
},
"dependencies": {},
"devDependencies": {
"npmlog": "^2.0.3",
"serve": "^1.4.0",
"webpack": "^1.13.0",
"weex-loader": "^0.1.3",
"weex-scripter": "^0.1.4",
"weex-styler": "^0.0.17",
"weex-templater": "^0.2.1",
"weex-transformer": "^0.3.1",
"yargs": "^4.7.0"
}
}