forked from apache/incubator-weex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 5.61 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "weex",
"version": "0.12.2",
"subversion": {
"framework": "0.29.6",
"transformer": ">=0.1.5 <0.5"
},
"description": "A framework for building Mobile cross-platform UI",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "[email protected]:apache/incubator-weex.git"
},
"homepage": "https://weex.apache.org/",
"bugs": {
"url": "https://github.com/apache/incubator-weex/issues"
},
"private": true,
"keywords": [
"weex",
"hybrid",
"webcomponent",
"appframework",
"mvvm",
"javascript",
"webkit",
"v8",
"jscore",
"html5",
"android",
"ios",
"yunos"
],
"engines": {
"node": ">=8"
},
"scripts": {
"build:jsfm": "node build/build.js jsfm",
"build:env": "WEEX_FREEZE=true node build/build.js env",
"build:polyfill": "node build/build.js polyfill",
"build:native": "node build/build.js native",
"build:vue": "node build/build.js vue",
"build:rax": "node build/build.js rax",
"build:runtime": "node build/build.js runtime",
"build:legacy": "node build/build.js legacy",
"build:vanilla": "node build/build.js vanilla",
"install:buildtools": "npm i webpack@^1.0 rollup rollup-watch rollup-plugin-buble rollup-plugin-json rollup-plugin-eslint rollup-plugin-commonjs rollup-plugin-postcss rollup-plugin-replace rollup-plugin-uglify rollup-plugin-node-resolve babel-core babel-eslint babel-istanbul babel-loader babel-plugin-coverage babel-preset-es2015 babel-runtime uglify-es eslint-plugin-flowtype eslint",
"build:source": "npm run build:native",
"build:examples": "npm run build:examples:native && npm run build:examples:web",
"build:examples:native": "webpack --config build/webpack.examples.config.js",
"build:examples:web": "webpack --config build/webpack.examples.web.config.js",
"build:test": "webpack --config build/webpack.test.config.js",
"build:ci:web": "webpack --watch --config build/webpack.ci.web.config.js",
"build:ci:native": "webpack --watch --config build/webpack.ci.config.js",
"build:ci": "npm run build:ci:native && npm run build:ci:web",
"build": "npm run build:env && npm run build:jsfm && npm run build:vue && npm run build:rax",
"dev:jsfm": "node build/build.js jsfm --watch",
"dev:runtime": "node build/build.js runtime --watch",
"dev:legacy": "node build/build.js legacy --watch",
"dev:vanilla": "node build/build.js vanilla --watch",
"dev:examples": "webpack --watch --config build/webpack.examples.config.js",
"dev:examples:web": "webpack --watch --config build/webpack.examples.web.config.js",
"dev:test": "webpack --watch --config build/webpack.test.config.js",
"lint": "eslint runtime",
"test:case": "mocha --require reify test/js-framework/case/tester.js",
"test:unit": "mocha --require reify test/js-framework/unit/**/*",
"test": "npm run lint && npm run test:unit && npm run test:case",
"test:cover-html": "babel-istanbul cover --report html node_modules/mocha/bin/_mocha -- --require reify --reporter dot html5/test/unit/ && open coverage/index.html",
"test:cover": "babel-istanbul cover --report text node_modules/mocha/bin/_mocha -- --require reify --reporter dot html5/test/unit/",
"serve": "serve ./ -p 12580",
"serve:no-port": "serve ./",
"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 ./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"
},
"dependencies": {
"@weex-project/downgrade": "^1.0.3",
"blink-diff": "~1.0.12",
"core-js": "^2.4.0",
"semver": "^5.1.0",
"weex-rax-framework": "0.4.20",
"weex-vue-framework": "2.5.16-weex.5"
},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-eslint": "^7.2.1",
"babel-istanbul": "^0.11.0",
"babel-loader": "^6.2.5",
"babel-plugin-coverage": "^1.0.0",
"babel-preset-es2015": "^6.16.0",
"babel-runtime": "^6.11.6",
"chai": "^3.5.0",
"chromedriver": "^2.21.2",
"cross-spawn": "^4.0.0",
"css-loader": "^0.26.1",
"danger": "^0.18.0",
"dateformat": "^2.0.0",
"eslint": "^2.11.1",
"eslint-plugin-flowtype": "^2.40.1",
"fs-extra": "^2.0.0",
"github": "^9.2.0",
"http-server": "^0.9.0",
"json-loader": "^0.5.4",
"macaca-utils": "^0.1.9",
"mocha": "^2.5.3",
"mocha-simple-html-reporter": "^1.0.1",
"parse-diff": "^0.4.0",
"phantomjs-prebuilt": "^2.1.7",
"reify": "^0.3.8",
"rollup": "^0.53.2",
"rollup-plugin-buble": "^0.18.0",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-eslint": "^4.0.0",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1",
"selenium-server": "2.53.1",
"serve": "^1.4.0",
"shelljs": "^0.7.8",
"sinon": "^2.1.0",
"sinon-chai": "^2.8.0",
"uglify-es": "^3.3.4",
"uglify-js": "^2.8.29",
"vue": "2.4.3",
"vue-loader": "^12.2.1",
"vue-template-compiler": "2.4.3",
"webpack": "^1.13.1",
"weex-components": "^0.2.0",
"weex-gcanvas": "^0.4.2",
"weex-loader": "^0.5.3",
"weex-vdom-tester": "^0.2.0",
"weex-vue-render": "^1.0.24",
"weex-wd": "^1.0.23",
"xmldom": "^0.1.27"
}
}