Properly integrate standard JS tools for JS and TS code
[poolifier.git] / package.json
index d7124bd7e1b9f3f9474cf96c034976b019f99008..8528d899524da1fda2a34a5042997b23f851a4e9 100644 (file)
@@ -15,7 +15,6 @@
     "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
     "coverage": "c8 report --reporter=lcov",
     "coverage:html": "c8 report --reporter=html",
-    "format": "prettier --loglevel silent --write .; prettierx --write .",
     "lint": "eslint . --cache",
     "lint:fix": "eslint . --cache --fix",
     "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
     "sonar:properties": "./updateSonarProps.sh",
     "prepublishOnly": "npm run build:prod"
   },
+  "ts-standard": {
+    "ignore": [
+      "tests/**/*.js"
+    ]
+  },
+  "engines": {
+    "node": ">=16.0.0",
+    "npm": ">=8.0.0"
+  },
   "repository": {
     "type": "git",
     "url": "git+https://github.com/poolifier/poolifier.git"
     "c8": "^7.12.0",
     "eslint": "^8.26.0",
     "eslint-config-standard": "^17.0.0",
+    "eslint-config-standard-with-typescript": "^23.0.0",
     "eslint-define-config": "^1.7.0",
     "eslint-import-resolver-typescript": "^3.5.2",
     "eslint-plugin-import": "^2.26.0",
-    "eslint-plugin-jsdoc": "^39.3.14",
+    "eslint-plugin-jsdoc": "^39.3.19",
     "eslint-plugin-n": "^15.3.0",
-    "eslint-plugin-prettierx": "^0.18.0",
     "eslint-plugin-promise": "^6.1.1",
     "eslint-plugin-spellcheck": "^0.0.19",
     "expect": "^29.2.1",
@@ -89,7 +97,6 @@
     "mochawesome": "^7.1.3",
     "prettier": "^2.7.1",
     "prettier-plugin-organize-imports": "^3.1.1",
-    "prettierx": "^0.18.3",
     "release-it": "^15.5.0",
     "rollup": "^3.2.3",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-ts": "^3.0.2",
     "sinon": "^14.0.1",
     "source-map-support": "^0.5.21",
+    "ts-standard": "^12.0.1",
     "typedoc": "^0.23.17",
     "typescript": "^4.8.4"
-  },
-  "engines": {
-    "node": ">=16.0.0",
-    "npm": ">=8.0.0"
   }
 }