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