|
26 | 26 | }, |
27 | 27 | "scripts": { |
28 | 28 | "clean": "rimraf dist docs/v2", |
29 | | - "build": "npm run clean && npx nx build:main supabase-js && npx nx build:module supabase-js && npx nx build:umd supabase-js", |
| 29 | + "build": "npm run clean && npm run build:main && npm run build:module && npm run build:umd", |
30 | 30 | "build:main": "tsc -p tsconfig.json", |
31 | 31 | "build:module": "tsc -p tsconfig.module.json", |
32 | 32 | "build:umd": "webpack --env mode=production", |
33 | | - "test": "npx nx test:types supabase-js && npx nx test:run supabase-js", |
34 | | - "test:all": "npx nx test:types supabase-js && npx nx test:run supabase-js && npx nx test:integration supabase-js && npx nx test:integration:browser supabase-js", |
| 33 | + "test": "npm run test:types && npm run test:run", |
| 34 | + "test:all": "npm run test:types && npm run test:run && npm run test:integration && npm run test:integration:browser", |
35 | 35 | "test:run": "jest --runInBand --detectOpenHandles", |
36 | 36 | "test:unit": "jest --runInBand --detectOpenHandles test/unit", |
37 | 37 | "test:coverage": "jest --runInBand --coverage --testPathIgnorePatterns=\"test/integration|test/deno\"", |
|
41 | 41 | "test:watch": "jest --watch --verbose false --silent false", |
42 | 42 | "test:node:playwright": "cd test/integration/node-browser && npm install && cp ../../../dist/umd/supabase.js . && npm run test", |
43 | 43 | "test:bun": "cd test/integration/bun && bun install && bun test", |
44 | | - "test:types": "npx nx build:module supabase-js && tsd --files test/types/*.test-d.ts && jsr publish --dry-run --allow-dirty", |
| 44 | + "test:types": "npm run build:module && tsd --files test/types/*.test-d.ts && jsr publish --dry-run --allow-dirty", |
45 | 45 | "docs": "typedoc --entryPoints src/index.ts --out docs/v2", |
46 | 46 | "docs:json": "typedoc --entryPoints src/index.ts --json docs/v2/spec.json --excludeExternals", |
47 | 47 | "serve:coverage": "npx nx test:coverage supabase-js && serve test/coverage", |
|
0 commit comments