|
1 | 1 | { |
2 | 2 | "name": "@hcaptcha/loader", |
3 | 3 | "description": "This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.", |
4 | | - "version": "1.0.3", |
| 4 | + "version": "1.0.4", |
5 | 5 | "author": "hCaptcha team and contributors", |
6 | 6 | "license": "MIT", |
7 | 7 | "keywords": [ |
|
10 | 10 | ], |
11 | 11 | "type": "module", |
12 | 12 | "main": "dist/index.mjs", |
| 13 | + "types": "dist/types/src/index.d.ts", |
13 | 14 | "exports": { |
14 | 15 | "import": "dist/index.mjs", |
15 | | - "require": "dis/index.cjs" |
| 16 | + "require": "dist/index.cjs" |
16 | 17 | }, |
17 | 18 | "files": [ |
18 | 19 | "README.md", |
19 | | - "dist" |
| 20 | + "dist", |
| 21 | + "!**/*.tsbuildinfo" |
20 | 22 | ], |
21 | 23 | "repository": { |
22 | 24 | "type": "git", |
23 | 25 | "url": "https://github.com/hCaptcha/hcaptcha-loader.git" |
24 | 26 | }, |
25 | 27 | "scripts": { |
26 | 28 | "prepare": "pnpm run build:lib", |
27 | | - "build:lib": "pnpm --filter @loader/lib run compile:build", |
28 | | - "dev:lib": "pnpm --filter @loader/lib run compile:watch", |
| 29 | + "build:lib": "pnpm -r --stream run compile:build", |
| 30 | + "dev:lib": "pnpm -r --stream run compile:watch", |
29 | 31 | "display:demo": "http-server ./ --cors -d -o ./demo/src", |
30 | 32 | "serve:demo": "http-server ./", |
31 | | - "fix:lint": "pnpm --filter @loader/* run fix:lint", |
32 | | - "test:lint": "pnpm --filter @loader/* run test:lint", |
33 | | - "test:types": "pnpm --filter @loader/* run test:types", |
34 | | - "test:unit": "pnpm --filter @loader/lib run test:unit", |
| 33 | + "fix:lint": "pnpm -r --stream run fix:lint", |
| 34 | + "test:lint": "pnpm -r --stream run test:lint", |
| 35 | + "test:types": "pnpm -r --stream run test:types", |
| 36 | + "test:unit": "pnpm -r --stream run test:unit", |
35 | 37 | "test:integration": "playwright test -c playwright.config.ts" |
36 | 38 | }, |
37 | 39 | "devDependencies": { |
|
0 commit comments