mirror of
https://gitee.com/openharmony/third_party_weex-loader
synced 2024-11-23 07:20:51 +00:00
9d66841530
Signed-off-by: houhaoyu <houhaoyu@huawei.com> Change-Id: I46d78210b5d5d41801718d77842fa9c9164cac25
47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"name": "weex-loader",
|
|
"version": "0.7.12",
|
|
"description": "a webpack loader for weex",
|
|
"main": "index.js",
|
|
"author": "terrykingcha <terrykingcha@gmail.com>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/weexteam/weex-loader.git"
|
|
},
|
|
"licenses": "Apache-2.0",
|
|
"keywords": [
|
|
"weex",
|
|
"loader",
|
|
"webpack",
|
|
"transformer"
|
|
],
|
|
"scripts": {
|
|
"clear": " ",
|
|
"lint": "eslint --fix src",
|
|
"dev": "gazeer -p \"src/*.js\" -c \"npm run build\"",
|
|
"build": "node node_modules/babel-cli/bin/babel.js src --out-dir lib",
|
|
"test:build": "cd test && webpack --config ./webpack.config.js",
|
|
"test": "npm run test:build",
|
|
"rich:build": "cd sample && webpack --config ../webpack.rich.config.js",
|
|
"rich": "npm run lint && npm run build && npm run rich:build",
|
|
"lite:build": "cd sample && webpack --config ../webpack.lite.config.js",
|
|
"lite": "npm run lint && npm run build && npm run lite:build",
|
|
"ace:build": "webpack --config ./webpack.config.js",
|
|
"ace": "npm run lint && npm run build && npm run ace:build"
|
|
},
|
|
"dependencies": {
|
|
"@babel/cli": "7.20.7",
|
|
"@babel/core": "7.20.12",
|
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
"@babel/plugin-transform-runtime": "7.19.6",
|
|
"@babel/preset-env": "7.20.2",
|
|
"@babel/runtime": "7.20.13",
|
|
"uglify-js": "3.17.4"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"es2015"
|
|
]
|
|
}
|
|
}
|