blob: 53f65d8015db5e502d9b5716b95de79b610fefa6 [file] [log] [blame]
{
"name": "weex",
"version": "0.4.0",
"subversion": {
"browser": "0.5.0",
"framework": "0.20.4",
"vue-render": "0.11.5",
"transformer": ">=0.1.5 <0.5"
},
"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": {
"postinstall": "bash ./bin/install-hooks.sh",
"build:native": "node build/build.js native",
"build:runtime": "node build/build.js runtime",
"build:browser": "wwp && node build/build.js browser",
"build:browser:common": "rollup -c build/rollup.browser.common.config.js",
"build:vue": "flow check && node build/build.js vue",
"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 --config build/webpack.ci.web.config.js",
"build:ci:native": "webpack --config build/webpack.ci.config.js",
"build:ci": "npm run build:ci:native && npm run build:ci:web",
"build": "npm run build:native && npm run build:browser && npm run build:vue && npm run build:examples && npm run build:test",
"dist:vue": "npm run build:vue && bash ./bin/dist-vue.sh",
"dist:browser": "npm run build:browser && npm run build:browser:common && bash ./bin/dist-browser.sh",
"dist": "npm run dist:browser && npm run dist:vue",
"dev:native": "node build/build.js native --watch",
"dev:runtime": "node build/build.js runtime --watch",
"dev:browser": "wwp && node build/build.js native --watch",
"dev:vue": "node build/build.js vue --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 html5",
"flow": "flow check",
"test:case": "mocha --require reify html5/test/case/tester.js",
"test:vue": "webpack --config build/webpack.test.web.config.js && karma start build/karma.vue.conf.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 && npm run test:vue",
"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",
"serve:ui-test": "serve ./ -p 12581",
"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",
"danger": "danger"
},
"dependencies": {
"animationjs": "^0.1.5",
"core-js": "^2.4.0",
"cubicbezier": "^0.1.1",
"envd": "^0.1.1",
"httpurl": "^0.1.1",
"inline-style-prefixer": "^3.0.2",
"lazyimg": "^0.1.5",
"modals": "^0.1.6",
"query-string": "^4.2.3",
"scroll-to": "0.0.2",
"semver": "^5.1.0",
"weex-picker": "^0.1.0",
"weex-rax-framework": "0.2.11",
"weex-vue-framework": "2.2.2-weex.2",
"weex-styler": "0.1.9"
},
"devDependencies": {
"autoprefixer": "^6.7.7",
"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.11.5",
"dateformat": "^2.0.0",
"eslint": "^2.11.1",
"eslint-plugin-flowtype": "^2.30.4",
"flow-bin": "^0.42.0",
"fs-extra": "^2.0.0",
"http-server": "^0.9.0",
"json-loader": "^0.5.4",
"karma": "^1.3.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.1",
"karma-phantomjs-launcher": "^1.0.2",
"karma-rollup-preprocessor": "^3.0.3",
"karma-sinon-chai": "^1.2.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.0",
"macaca-cli": "^1.1.0",
"macaca-utils": "^0.1.9",
"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-flow": "^1.1.1",
"rollup-plugin-flow-no-whitespace": "^1.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": "^2.1.0",
"sinon-chai": "^2.8.0",
"uglify-js": "^2.6.4",
"vue": "^2.2.6",
"vue-loader": "^11.3.3",
"vue-template-compiler": "^2.2.6",
"webdriver-client": "~1.0.0",
"webpack": "^1.13.1",
"weex-components": "^0.2.0",
"weex-loader": "^0.4.0",
"weex-vdom-tester": "^0.2.0",
"weex-wd": "^1.0.22",
"wwp": "^0.3.5",
"xml2map": "^1.0.2"
}
}