forked from alibaba/weex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
119 lines (119 loc) · 4.35 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
{
"name": "weex",
"version": "0.4.0",
"description": "A framework for building Mobile cross-platform UI",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "[email protected]: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": {
"postinstall": "bash ./bin/install-hooks.sh",
"build:native": "rollup -c build/rollup.config.js",
"build:browser": "wwp && rollup -c build/rollup.browser.config.js",
"build:browser:common": "rollup -c build/rollup.browser.common.config.js",
"build:examples": "webpack --config build/webpack.examples.config.js",
"build:test": "webpack --config build/webpack.test.config.js",
"build": "npm run build:native && npm run build:browser && npm run build:examples && npm run build:test",
"dist:browser": "npm run build:browser && npm run build:browser:common && bash ./bin/dist-browser.sh",
"dist": "npm run dist:browser",
"dev:native": "rollup -w -c build/rollup.config.js",
"dev:browser": "rollup -w -c build/rollup.browser.config.js",
"dev:examples": "webpack --watch --config build/webpack.examples.config.js",
"dev:test": "webpack --watch --config build/webpack.test.config.js",
"lint": "eslint html5",
"test:case": "mocha --require reify html5/test/case/tester.js",
"test:unit": "mocha --require reify html5/test/unit/*/*.js html5/test/unit/*/*/*.js",
"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/*/*.js html5/test/unit/*/*/*.js && open coverage/index.html",
"test:cover": "babel-istanbul cover --report text node_modules/mocha/bin/_mocha -- --require reify --reporter dot html5/test/unit/*/*.js html5/test/unit/*/*/*.js",
"test:e2e": "npm run build:browser && node html5/test/e2e/runner.js",
"serve": "serve ./ -p 12580",
"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: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"
},
"subversion": {
"browser": "0.5.0",
"framework": "0.16.18",
"transformer": ">=0.1.5 <0.4"
},
"dependencies": {
"animationjs": "^0.1.5",
"core-js": "^2.4.0",
"cubicbezier": "^0.1.1",
"envd": "^0.1.1",
"httpurl": "^0.1.1",
"lazyimg": "^0.1.3",
"modals": "^0.1.6",
"scroll-to": "0.0.2",
"semver": "^5.1.0",
"weex-vue-framework": "2.0.5-weex.1",
"weex-components": "^0.2.0"
},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-istanbul": "^0.11.0",
"babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.16.0",
"babel-runtime": "^6.11.6",
"chai": "^3.5.0",
"chromedriver": "^2.21.2",
"cross-spawn": "^4.0.0",
"eslint": "^2.11.1",
"http-server": "^0.9.0",
"json-loader": "^0.5.4",
"mocha": "^2.5.3",
"nightwatch": "^0.9.4",
"phantomjs-prebuilt": "^2.1.7",
"reify": "^0.3.8",
"rollup": "^0.36.0",
"rollup-plugin-buble": "^0.14.0",
"rollup-plugin-commonjs": "^5.0.4",
"rollup-plugin-eslint": "^3.0.0",
"rollup-plugin-json": "^2.0.2",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-postcss": "^0.2.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^1.0.1",
"rollup-watch": "^2.5.0",
"selenium-server": "2.53.1",
"serve": "^1.4.0",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"uglify-js": "^2.6.4",
"webpack": "^1.13.1",
"weex-components": "^0.2.0",
"weex-loader": "^0.3.1",
"weex-vdom-tester": "^0.1.2",
"weex-vue-components": "^0.1.0",
"weex-vue-loader": "^0.1.1",
"wwp": "^0.3.0"
}
}