1{ 2 "name": "compilier", 3 "version": "0.0.1", 4 "description": "Transpile ace2.0 ui-syntax to support UI control render, Component and State management.", 5 "private": true, 6 "keywords": [ 7 "ace", 8 "loader", 9 "webpack" 10 ], 11 "scripts": { 12 "lint": "eslint --fix ./src --ext .ts", 13 "build": "npm run generateDeclarations && ./node_modules/.bin/babel ./src --out-dir lib --extensions .ts && node uglify-source.js lib && npm run copyJsonFiles", 14 "create": "node ./lib/create.js --env projectName", 15 "copyJsonFiles": "node copy_json_files.js ./src lib", 16 "compile": "webpack --config webpack.config.js --env buildMode=debug projectName", 17 "test": "npm run build && mocha test/test.js && npm run etsTest", 18 "test:coverage": "npm run generateDeclarations && ./node_modules/.bin/babel ./src --out-dir lib --extensions .ts && npm run copyJsonFiles && mocha test/test.js && mocha test/test.js --partialUpdate && mocha test/test.js --assertError", 19 "generateDeclarations": "node ./build_declarations_file.js ../../../interface/sdk-js/api/@internal/component/ets ./declarations ./lib false", 20 "generateComponents": "node ./build_components_file.js ../../../interface/sdk-js/api/@internal/component/ets ./components ./form_components", 21 "postinstall": "node npm-install.js", 22 "fastbuild": "rollup -c rollup.config.js", 23 "run:arkTest": "mocha \"arkTest_build/ark_compiler_ut/**/*.test.js\"", 24 "run:cleanArkTest": "rm -rf arkTest_build", 25 "arkTest": "npm run build && npm run generateKitConfigs && ./node_modules/.bin/babel ./test/ark_compiler_ut --out-dir arkTest_build/ark_compiler_ut --extensions .ts && npm run run:arkTest && npm run run:cleanArkTest", 26 "coverage": "node_modules/nyc/bin/nyc.js npm run test:coverage", 27 "duplicate": "jscpd", 28 "generateKitConfigs": "node ./build_kitConfigs_file.js ../../../interface/sdk-js/kits ./kit_configs ../../../interface/sdk-js/api ../../../interface/sdk-js/arkts", 29 "etsTest": "npm run build && ./node_modules/.bin/babel ./test/transform_ut --ignore ./test/transform_ut/application/** --out-dir etsTest_build/transform_ut --extensions .ts && npm run run:etsTest&& npm run run:cleanEtsTest", 30 "run:etsTest": "mocha \"etsTest_build/transform_ut/**/*.test.js\" --reporter-option maxDiffSize=10000", 31 "run:cleanEtsTest": "rm -rf etsTest_build" 32 }, 33 "devDependencies": { 34 "@babel/cli": "7.20.7", 35 "@babel/core": "7.20.12", 36 "@babel/plugin-proposal-class-properties": "7.18.6", 37 "@babel/preset-env": "7.20.2", 38 "@babel/preset-typescript": "7.18.6", 39 "@babel/runtime": "7.20.13", 40 "@typescript-eslint/parser": "5.51.0", 41 "babel-loader": "9.1.2", 42 "chai": "4.3.7", 43 "eslint": "8.34.0", 44 "mocha": "10.2.0", 45 "uglify-js": "3.17.4" 46 }, 47 "dependencies": { 48 "@rollup/plugin-babel": "6.0.3", 49 "@rollup/plugin-commonjs": "24.0.1", 50 "@rollup/plugin-terser": "0.3.0", 51 "clean-webpack-plugin": "4.0.0", 52 "copy-webpack-plugin": "11.0.0", 53 "deccjsunit": "^1.0.8", 54 "lodash": "4.17.21", 55 "log4js": "6.7.1", 56 "sinon": "^15.0.4", 57 "source-map": "0.7.4", 58 "ts-loader": "9.4.2", 59 "webpack": "5.72.1", 60 "webpack-cli": "5.0.2", 61 "ws": "8.5.0" 62 } 63} 64