Skip to content

Commit

Permalink
Enable global npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
LBBO committed Nov 29, 2022
1 parent f9b5a41 commit 4f8c3c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/brand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"clean": "rm -rf ./dist",
"dev": "parcel public/test.html",
"build": "tsc",
"prepublish": "npm run clean && npm run build"
"prepublish": "npm run clean && npm run build",
"test": "tsc --noEmit"
},
"devDependencies": {
"parcel-bundler": "latest",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"types": "tsc ./src/index.tsx -d --emitDeclarationOnly -declarationDir ./dist",
"dev": "parcel public/test.html",
"build": "tsc",
"prepublish": "npm run clean && tsc"
"prepublish": "npm run clean && tsc",
"test": "tsc --noEmit"
},
"devDependencies": {
"@types/bricks.js": "^1.8.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"cy:run": "percy exec -- cypress run --component -b chrome",
"cy:open": "cypress open --component -b chrome",
"cy:verify": "cypress verify",
"cy:info": "cypress info"
"cy:info": "cypress info",
"test": "tsc --noEmit && npm run cy:verify"
},
"devDependencies": {
"@babel/core": "^7.18.6",
Expand Down
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"clean": "rm -rf ./dist",
"dev": "tsc --watch",
"build": "tsc -d --emitDeclarationOnly -declarationDir ./dist",
"prepublish": "npm run clean && tsc -d --emitDeclarationOnly -declarationDir ./dist"
"prepublish": "npm run clean && tsc -d --emitDeclarationOnly -declarationDir ./dist",
"test": "tsc --noEmit"
},
"name": "@giphy/js-types",
"homepage": "https://github.com/Giphy/giphy-js/tree/master/packages/types",
Expand Down

0 comments on commit 4f8c3c0

Please sign in to comment.