diff --git a/packages/eslint-config-typescript-react/package.json b/packages/eslint-config-typescript-react/package.json index be366f7..a069819 100644 --- a/packages/eslint-config-typescript-react/package.json +++ b/packages/eslint-config-typescript-react/package.json @@ -25,8 +25,9 @@ ], "scripts": { "lint": "eslint . --config=.eslintrc.js", - "prepublish": "npm run test", - "test": "npm run lint && tape __tests__/*.js" + "prepublishOnly": "npm run test", + "pretest": "npm run lint", + "test": "tape __tests__/*.js" }, "peerDependencies": { "@typescript-eslint/eslint-plugin": "^4.9.0", @@ -50,5 +51,8 @@ "eslint-plugin-react-hooks": "^4.2.0", "react": "^17.0.1", "typescript": "^4.1.2" + }, + "devDependencies": { + "tape": "^5.0.1" } } diff --git a/packages/eslint-config-typescript/package.json b/packages/eslint-config-typescript/package.json index a1eeb34..702fd00 100644 --- a/packages/eslint-config-typescript/package.json +++ b/packages/eslint-config-typescript/package.json @@ -25,8 +25,9 @@ "main": "index.js", "scripts": { "lint": "eslint . --config=.eslintrc.js", - "prepublish": "npm run test", - "test": "npm run lint && tape __tests__/*.js" + "prepublishOnly": "npm run test", + "pretest": "npm run lint", + "test": "tape __tests__/*.js" }, "peerDependencies": { "@typescript-eslint/eslint-plugin": "^4.9.0", @@ -44,5 +45,8 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "typescript": "^4.1.2" + }, + "devDependencies": { + "tape": "^5.0.1" } } diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 2319684..fcf9ba4 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@jdp-dev/eslint-config", - "version": "0.0.5", + "version": "0.0.6", "description": "My shareable ESLint config for JavaScript projects.", "private": false, "homepage": "https://github.com/john-d-pelingo/jdp-scripts", @@ -25,8 +25,9 @@ "main": "index.js", "scripts": { "lint": "eslint . --config=.eslintrc.js", - "prepublish": "npm run test", - "test": "npm run lint && tape __tests__/*.js" + "prepublishOnly": "npm run test", + "pretest": "npm run lint", + "test": "tape __tests__/*.js" }, "peerDependencies": { "eslint": "^7.14.0", @@ -36,5 +37,8 @@ "eslint": "^7.14.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-import": "^2.22.1" + }, + "devDependencies": { + "tape": "^5.0.1" } } diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 2668fd5..7306f2c 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -24,10 +24,13 @@ ], "main": "index.json", "scripts": { - "prepublish": "npm run test", + "prepublishOnly": "npm run test", "test": "tape __tests__/*.js" }, "peerDependencies": { "prettier": "^2.2.1" + }, + "devDependencies": { + "tape": "^5.0.1" } } diff --git a/yarn.lock b/yarn.lock index 36058d9..04e4ffd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -190,6 +190,15 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" +"@jdp-dev/eslint-config@^0.0.5": + version "0.0.5" + resolved "https://registry.yarnpkg.com/@jdp-dev/eslint-config/-/eslint-config-0.0.5.tgz#25a05d3b1bc57ad0a6e38ef6afbf1cca121dedeb" + integrity sha512-dnldoW9drJmhYux04hH3ClbKlPs+U23kY6c4MczgHc4oq+15Q+Bnnp0HUioWKPkhKq1l+3QCCJQTM+4OUImi+A== + dependencies: + eslint "^7.14.0" + eslint-config-prettier "^6.15.0" + eslint-plugin-import "^2.22.1" + "@nodelib/fs.scandir@2.1.3": version "2.1.3" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b"