mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-18 16:54:27 -04:00
2d5a93043b
Signed-off-by: yangbo <1442420648@qq.com> Change-Id: Ie78954a5baf1cbb907678f4e192cb93d03318b95
80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"name": "ace-loader",
|
|
"version": "1.0.11",
|
|
"description": "a webpack loader for ace",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"keywords": [
|
|
"ace",
|
|
"loader",
|
|
"webpack",
|
|
"Lite",
|
|
"Rich"
|
|
],
|
|
"scripts": {
|
|
"build": "./node_modules/.bin/babel ./third_party/weex-loader/src ./src --out-dir lib && node ./module-source.js ./lib && node ./uglify-source.js ./lib",
|
|
"rich": "cd sample/rich && webpack --config ../../webpack.rich.config.js",
|
|
"lite": "cd sample/lite && webpack --config ../../webpack.lite.config.js",
|
|
"card": "cd sample/card && webpack --config ../../webpack.rich.config.js",
|
|
"postinstall": "node npm-install.js",
|
|
"richtest": "cd test/rich/testcase && webpack --config ../../../webpack.rich.config.js && mocha ../test.js",
|
|
"litetest": "cd test/lite/testcase && webpack --config ../../../webpack.lite.config.js && mocha ../test.js",
|
|
"cardtest": "cd test/card/testcase && webpack --config ../../../webpack.rich.config.js && mocha ../test.js",
|
|
"test": "npm run build && npm run richtest && npm run litetest && npm run cardtest"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^3.5.0",
|
|
"eslint": "^7.3.1",
|
|
"eslint-config-google": "^0.14.0",
|
|
"mocha": "^7.1.2",
|
|
"sinon": "^1.17.3",
|
|
"sinon-chai": "^2.8.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
"@babel/preset-env": "^7.9.0",
|
|
"@babel/runtime": "^7.0.0",
|
|
"babel-loader": "^8.0.6",
|
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
"copy-webpack-plugin": "^8.1.0",
|
|
"css": "^3.0.0",
|
|
"css-loader": "^3.4.2",
|
|
"deccjsunit": "^1.0.6",
|
|
"escodegen": "^2.0.0",
|
|
"esprima": "^4.0.1",
|
|
"hash-sum": "^1.0.2",
|
|
"jimp": "^0.12.1",
|
|
"less": "^3.11.1",
|
|
"less-loader": "^5.0.0",
|
|
"loader-utils": "^1.1.0",
|
|
"md5": "^2.1.0",
|
|
"parse5": "^2.1.5",
|
|
"resolve-bin": "^0.4.0",
|
|
"sass": "^1.26.8",
|
|
"sass-loader": "^7.3.1",
|
|
"shelljs": "^0.8.5",
|
|
"source-map": "^0.7.3",
|
|
"uglify-es": "^3.3.9",
|
|
"webpack": "5.48.0",
|
|
"webpack-cli": "^4.6.0"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-env"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
"@babel/plugin-proposal-class-properties",
|
|
[
|
|
"@babel/plugin-transform-arrow-functions",
|
|
{
|
|
"spec": true
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|