Skip to content

Commit

Permalink
feat: test helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Sep 22, 2022
1 parent 6d06c64 commit 9b7c8e8
Show file tree
Hide file tree
Showing 12 changed files with 729 additions and 402 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"typescript": "^4.7.4",
"vite": "^3.0.9",
"vite-plugin-dts": "^1.4.1",
"wait-on": "^6.0.1"
"wait-on": "^6.0.1",
"@ory/elements-test": "*"
},
"files": [
"dist/*"
Expand Down
4 changes: 2 additions & 2 deletions packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
},
"./style.css": "./dist/style.css",
"./package.json": "./package.json"
"./package.json": "./package.json",
"./assets/*.json": "./dist/assets/*.json"
},
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
Expand Down
1 change: 1 addition & 0 deletions packages/test/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default defineConfig({
},
rollupOptions: {
treeshake: "smallest",
external: ["@playwright/test"],
},
},
})
Loading

0 comments on commit 9b7c8e8

Please sign in to comment.