From 7c2c2fa3cca0f4d263603adb75426b239514598f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 10 Mar 2024 22:38:11 -0700 Subject: [PATCH] [Tests] use `@arethetypeswrong/cli` --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 83fb5e8..b99cded 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "prepublish": "not-in-publish || npm run prepublishOnly", "prelint": "evalmd README.md", "lint": "eslint --ext=js,mjs .", - "postlint": "tsc -p .", + "postlint": "tsc -p . && attw -P", "pretest": "npm run lint", "tests-only": "tape 'test/**/*.js'", "test": "npm run tests-only", @@ -33,6 +33,7 @@ }, "homepage": "https://github.com/es-shims/es-set-tostringtag#readme", "devDependencies": { + "@arethetypeswrong/cli": "^0.15.1", "@ljharb/eslint-config": "^21.1.0", "@types/get-intrinsic": "^1.2.2", "@types/has-symbols": "^1.0.2", @@ -45,7 +46,7 @@ "npmignore": "^0.3.1", "safe-publish-latest": "^2.0.0", "tape": "^5.7.5", - "typescript": "^5.4.0-dev.20240220" + "typescript": "next" }, "dependencies": { "get-intrinsic": "^1.2.4",