Skip to content

Commit

Permalink
fix: add tape as dependencies to make npm work
Browse files Browse the repository at this point in the history
  • Loading branch information
john-d-pelingo committed Dec 1, 2020
1 parent fbdf32e commit db9904c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 8 deletions.
8 changes: 6 additions & 2 deletions packages/eslint-config-typescript-react/package.json
Expand Up @@ -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",
Expand All @@ -50,5 +51,8 @@
"eslint-plugin-react-hooks": "^4.2.0",
"react": "^17.0.1",
"typescript": "^4.1.2"
},
"devDependencies": {
"tape": "^5.0.1"
}
}
8 changes: 6 additions & 2 deletions packages/eslint-config-typescript/package.json
Expand Up @@ -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",
Expand All @@ -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"
}
}
10 changes: 7 additions & 3 deletions 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",
Expand All @@ -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",
Expand All @@ -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"
}
}
5 changes: 4 additions & 1 deletion packages/prettier-config/package.json
Expand Up @@ -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"
}
}
9 changes: 9 additions & 0 deletions yarn.lock
Expand Up @@ -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"
Expand Down

0 comments on commit db9904c

Please sign in to comment.