Skip to content

Commit

Permalink
feat: add test before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
john-d-pelingo committed Dec 1, 2020
1 parent 55baaec commit 1508fd2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,7 +18,7 @@
"prettier": "@jdp-dev/prettier-config",
"scripts": {
"format": "prettier --write './**/*.{js,ts,json,yml,yaml,css,html}'",
"prerelease": "yarn test",
"prerelease": "npm run test",
"release": "standard-version",
"test": "yarn workspaces run test"
},
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-typescript-react/package.json
Expand Up @@ -25,6 +25,7 @@
],
"scripts": {
"lint": "eslint . --config=.eslintrc.js",
"prepublish": "npm run test",
"test": "npm run lint && tape __tests__/*.js"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-typescript/package.json
Expand Up @@ -25,6 +25,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint . --config=.eslintrc.js",
"prepublish": "npm run test",
"test": "npm run lint && tape __tests__/*.js"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/package.json
Expand Up @@ -25,6 +25,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint . --config=.eslintrc.js",
"prepublish": "npm run test",
"test": "npm run lint && tape __tests__/*.js"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/prettier-config/package.json
Expand Up @@ -24,6 +24,7 @@
],
"main": "index.json",
"scripts": {
"prepublish": "npm run test",
"test": "tape __tests__/*.js"
},
"peerDependencies": {
Expand Down

0 comments on commit 1508fd2

Please sign in to comment.