mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-12-02 12:46:54 +00:00
fdc652c4b8
Signed-off-by: lixinnan <lixinnan1@huawei.com> Change-Id: I2f8514eb10af97803a0f8c92b9ea7c6e64232f29
76 lines
2.5 KiB
JSON
76 lines
2.5 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": {
|
|
"buildparse5": "cd ./third_party/parse5/packages/parse5 && ./node_modules/typescript/bin/tsc --module CommonJS --target ES6 --outDir dist/cjs && cd ../../../../",
|
|
"build": "./node_modules/.bin/babel ./third_party/weex-loader/src ./src --out-dir lib && npm run buildparse5 && node ./module-source.js ./lib && node ./uglify-source.js ./lib && node ./copy_deps_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",
|
|
"testrunner": "cd sample/TestRunner && webpack --config ../../webpack.rich.config.js"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "4.3.7",
|
|
"eslint": "8.34.0",
|
|
"lodash": "4.17.21",
|
|
"mocha": "10.2.0",
|
|
"sinon": "15.0.4"
|
|
},
|
|
"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",
|
|
"babel-loader": "9.1.2",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"css-loader": "6.7.1",
|
|
"deccjsunit": "^1.0.8",
|
|
"jimp": "0.22.4",
|
|
"stylus": "0.57.0",
|
|
"less": "4.1.3",
|
|
"less-loader": "11.1.0",
|
|
"loader-utils": "1.4.2",
|
|
"parse5": "7.0.0",
|
|
"resolve-bin": "1.0.1",
|
|
"sass": "1.62.0",
|
|
"sass-loader": "13.2.2",
|
|
"shelljs": "0.8.5",
|
|
"source-map": "0.7.4",
|
|
"uglify-js": "3.17.4",
|
|
"webpack": "5.72.1",
|
|
"webpack-cli": "5.0.2"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-env"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
"@babel/plugin-proposal-class-properties",
|
|
[
|
|
"@babel/plugin-transform-arrow-functions",
|
|
{
|
|
"spec": true
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|