Files
developtools_ace-ets2bundle/compiler/package.json
T
houhaoyu 6ea58ae1d9 houhaoyu@huawei.com
change uglify-js

Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: I88f387dc59ae64eff52bf1d211b2bc015ae1426b
2021-12-22 15:22:32 +08:00

49 lines
1.7 KiB
JSON

{
"name": "compilier",
"version": "0.0.1",
"description": "Transpile ace2.0 ui-syntax to support UI control render, Component and State management.",
"private": true,
"keywords": [
"ace",
"loader",
"webpack"
],
"scripts": {
"lint": "eslint --fix ./src --ext .ts",
"build": "npm run generateSyntaxParser && npm run generateDeclarations && ./node_modules/.bin/babel ./src --out-dir lib --extensions .ts && node uglify-source.js lib",
"create": "node ./lib/create.js --env projectName",
"compile": "webpack --config webpack.config.js --env buildMode=debug projectName",
"test": "npm run build && mocha -r mocha-context/register test/test.js",
"generateDeclarations": "node ./build_declarations_file.js ../../../interface/sdk-js/api/@internal/component/ets ./declarations ./lib",
"generateSyntaxParser": "node build_parser.js ./syntax_parser/dist",
"postinstall": "node npm-install.js"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.0.0",
"@typescript-eslint/parser": "^4.11.0",
"chai": "^4.2.0",
"eslint": "^7.16.0",
"mocha": "^8.2.1",
"mocha-context": "^0.1.5",
"ts-node": "^9.1.1",
"uglify-js": "^3.13.0",
"pegjs": "^0.10.0"
},
"dependencies": {
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^8.1.0",
"deccjsunit": "1.0.4",
"log4js": "^6.3.0",
"ts-loader": "^8.0.12",
"typescript": "^4.1.3",
"webpack": "^5.48.0",
"webpack-cli": "^4.2.0",
"ws": "^8.3.0"
}
}