• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "@panda/tslinter",
3  "version": "1.0.0",
4  "main": "dist/tslinter.js",
5  "bin": "bin/tslinter.js",
6  "files": [
7    "dist/*"
8  ],
9  "private": true,
10  "license": "Apache-2.0",
11  "scripts": {
12    "tsc": "tsc",
13    "webpack": "webpack -t node --config webpack.config.js",
14    "postwebpack": "node scripts/bundle-ts-lib-declarations.mjs",
15    "clean": "rimraf build dist bundle",
16    "compile": "npm run tsc",
17    "postcompile": "node scripts/testRunner/post-compile.mjs",
18    "build": "npm run clean && npm run compile && npm run webpack && npm run pack:linter",
19    "install-ohos-typescript": "node scripts/install-ohos-typescript-and-homecheck.mjs",
20    "pack:linter": "rimraf bundle && mkdir bundle && npm pack && mv panda-tslinter-*.tgz bundle",
21    "pretest": " npm run fix",
22    "test": "npm run test_all && npm run test_ts_import_ets",
23    "test_all": "npm run testrunner -- -d test/main,test/rules,test/regression,test/extended_features,test/migration,test/ohmurl,test/interop,test/sdkwhite,test/concurrent,test/builtin",
24    "test_main": "npm run testrunner -- -d test/main",
25    "test_ohmurl": "npm run testrunner -- -d test/ohmurl",
26    "test_interop": "npm run testrunner -- -d test/interop",
27    "test_sdk": "npm run testrunner -- -d test/sdkwhite",
28    "test_concurrent": "npm run testrunner -- -d test/concurrent",
29    "test_rules": "npm run testrunner -- -d test/rules",
30    "test_regression": "npm run testrunner -- -d test/regression",
31    "test_extended_features": "npm run testrunner -- -d test/extended_features",
32    "test_all_sdk": "npm run testrunner -- -d test/main,test/rules,test/regression,test/extended_features --sdk",
33    "test_main_sdk": "npm run testrunner -- -d test/main --sdk",
34    "test_regression_sdk": "npm run testrunner -- -d test/regression --sdk",
35    "test_rules_sdk": "npm run testrunner -- -d test/rules --sdk",
36    "test_ts_import_ets": "npm run testrunner -- -d test/ts_import_ets/ts --sdk --interop-mode",
37    "test_migration": "npm run testrunner -- -d test/migration",
38    "testrunner": "npm run compile && node build/testRunner/TestRunner.js",
39    "update-tests": "node scripts/update-test-results.mjs test/main test/rules test/regression test/extended_features test/ts_import_ets/ts test/migration test/ohmurl test/interop test/sdkwhite test/concurrent test/builtin",
40    "eslint-check": "npx eslint .",
41    "eslint-fix": "npm run eslint-check -- --fix",
42    "prettier-fix": "npx prettier --write .",
43    "fix": "npm run prettier-fix && npm run eslint-fix",
44    "coverage": "npm run coverage-prepare && npm run coverage-instrument && npm run coverage-test && npm run coverage-collect && npm run coverage-report",
45    "coverage-prepare": "npm run build && node scripts/testRunner/coverage_prepare.js",
46    "coverage-instrument": "nyc --compact false instrument build coverage/build_instrument",
47    "coverage-test": "node coverage/build_instrument/testRunner/TestRunner.js -d test/main,test/rules,test/regression,test/extended_features,test/migration,test/ohmurl,test/interop,test/sdkwhite,test/concurrent,test/builtin",
48    "coverage-collect": "node scripts/testRunner/coverage_collect.js",
49    "coverage-report": "node scripts/testRunner/coverage_report.js"
50  },
51  "dependencies": {
52    "commander": "^9.4.0",
53    "fs-extra": "11.2.0",
54    "homecheck": "file:./homecheck",
55    "json5": "2.2.3",
56    "log4js": "^6.4.0",
57    "readline-sync": "^1.4.10",
58    "yup": "^1.4.0"
59  },
60  "devDependencies": {
61    "@eslint/compat": "latest",
62    "@eslint/js": "latest",
63    "@stylistic/eslint-plugin": "latest",
64    "@types/node": "18.11.7",
65    "eslint": "latest",
66    "eslint-plugin-import": "^2.31.0",
67    "eslint-plugin-jsdoc": "^48.0.6",
68    "eslint-plugin-n": "^17.9.0",
69    "eslint-plugin-no-null": "^1.0.2",
70    "glob": "^11.0.0",
71    "nyc": "^15.1.0",
72    "path-scurry": "^2.0.0",
73    "prettier": "latest",
74    "rimraf": "^5.0.10",
75    "shelljs": "^0.8.5",
76    "source-map": "^0.7.4",
77    "typescript-eslint": "latest",
78    "webpack": "^5.75.0",
79    "webpack-cli": "^5.0.1"
80  },
81  "bundleDependencies": [
82    "log4js",
83    "commander",
84    "homecheck"
85  ]
86}
87