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",
14    "create": "node ./lib/create.js --env projectName",
15    "compile": "webpack --config webpack.config.js --env buildMode=debug projectName",
16    "test": "npm run build && mocha test/test.js && mocha test/test.js --partialUpdate && mocha test/test.js --assertError",
17    "test:coverage": "npm run generateDeclarations && ./node_modules/.bin/babel ./src --out-dir lib --extensions .ts && mocha test/test.js && mocha test/test.js --partialUpdate && mocha test/test.js --assertError",
18    "generateDeclarations": "node ./build_declarations_file.js ../../../interface/sdk-js/api/@internal/component/ets ./declarations ./lib false",
19    "postinstall": "node npm-install.js",
20    "fastbuild": "rollup -c rollup.config.js",
21    "run:arkTest": "mocha \"arkTest_build/ark_compiler_ut/**/*.test.js\"",
22    "run:cleanArkTest": "rm -rf arkTest_build",
23    "arkTest": "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",
24    "coverage": "node_modules/nyc/bin/nyc.js npm run test:coverage",
25    "duplicate": "jscpd",
26    "generateKitConfigs": "node ./build_kitConfigs_file.js ../../../interface/sdk-js/kits ./kit_configs ../../../interface/sdk-js/api ../../../interface/sdk-js/arkts"
27  },
28  "devDependencies": {
29    "@babel/cli": "7.20.7",
30    "@babel/core": "7.20.12",
31    "@babel/plugin-proposal-class-properties": "7.18.6",
32    "@babel/preset-env": "7.20.2",
33    "@babel/preset-typescript": "7.18.6",
34    "@babel/runtime": "7.20.13",
35    "@typescript-eslint/parser": "5.51.0",
36    "babel-loader": "9.1.2",
37    "chai": "4.3.7",
38    "eslint": "8.34.0",
39    "mocha": "10.2.0",
40    "uglify-js": "3.17.4"
41  },
42  "dependencies": {
43    "@rollup/plugin-babel": "6.0.3",
44    "@rollup/plugin-commonjs": "24.0.1",
45    "@rollup/plugin-terser": "0.3.0",
46    "clean-webpack-plugin": "4.0.0",
47    "copy-webpack-plugin": "11.0.0",
48    "deccjsunit": "^1.0.8",
49    "lodash": "4.17.21",
50    "log4js": "6.7.1",
51    "sinon": "^15.0.4",
52    "source-map": "0.7.4",
53    "ts-loader": "9.4.2",
54    "webpack": "5.72.1",
55    "webpack-cli": "5.0.2",
56    "ws": "8.5.0"
57  }
58}
59