-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
106 lines (106 loc) · 3.8 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
{
"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:config": "node build/config.frameworks.js",
"build:browser": "webpack --config build/webpack.browser.config.js",
"build:common": "webpack --config build/webpack.common.config.js",
"build:native": "webpack --config build/webpack.native.config.js",
"build:examples": "webpack --config build/webpack.examples.config.js",
"build:test": "webpack --config build/webpack.test.config.js",
"dist:browser": "npm run build:browser && npm run build:common && bash ./bin/dist-browser.sh",
"dist": "npm run dist:browser",
"dev:browser": "webpack --watch --config build/webpack.browser.config.js",
"dev:native": "webpack --watch --config build/webpack.native.config.js",
"dev:examples": "webpack --watch --config build/webpack.examples.config.js",
"dev:test": "webpack --watch --config build/webpack.test.config.js",
"build": "npm run build:native && npm run build:browser && npm run build:examples && npm run build:test",
"lint": "eslint html5",
"test:unit": "mocha --compilers js:babel-core/register html5/test/unit/*/*.js html5/test/unit/*/*/*.js",
"test:cover": "babel-node node_modules/isparta/bin/isparta cover --report text node_modules/mocha/bin/_mocha -- --reporter dot html5/test/unit/*/*.js html5/test/unit/*/*/*.js",
"test:e2e": "npm run build:browser && node html5/test/e2e/runner.js",
"test": "npm run build:config && npm run lint && npm run test:cover && npm run test:e2e",
"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.3.2",
"framework": "0.15.2",
"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.2",
"modals": "^0.1.5",
"scroll-to": "0.0.2",
"semver": "^5.1.0",
"weex-components": "^0.2.0",
"weex-html5": "^0.4.1"
},
"devDependencies": {
"babel-cli": "~6.4.5",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.9.0",
"babel-runtime": "^6.11.6",
"chai": "^3.5.0",
"chromedriver": "^2.21.2",
"cross-spawn": "^4.0.0",
"css-loader": "^0.23.1",
"eslint": "^2.11.1",
"http-server": "^0.9.0",
"isparta": "^4.0.0",
"istanbul": "^0.4.3",
"json-loader": "^0.5.4",
"mocha": "^2.5.3",
"nightwatch": "^0.9.4",
"phantomjs-prebuilt": "^2.1.7",
"selenium-server": "2.53.1",
"serve": ">=7.0.0",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"style-loader": "^0.13.1",
"uglify-js": "^2.6.4",
"webpack": "^1.13.1",
"weex-loader": "^0.3.1"
}
}