summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 9 insertions, 4 deletions
diff --git a/package.json b/package.json
index bbf3bb00..bb442ae1 100644
--- a/package.json
+++ b/package.json
@@ -14,13 +14,18 @@
"prepare": "npm run bundle",
"test": "npm run test --workspaces",
"test:ci": "npm run test:ci --workspaces --if-present",
+ "test:e2e": "npm run test:integration:sandbox:none -- --verbose --keep-output",
+ "test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
+ "test:integration:sandbox:none": "GEMINI_SANDBOX=false node integration-tests/run-tests.js",
+ "test:integration:sandbox:docker": "GEMINI_SANDBOX=docker node integration-tests/run-tests.js",
+ "test:integration:sandbox:podman": "GEMINI_SANDBOX=podman node integration-tests/run-tests.js",
"start": "node scripts/start.js",
"debug": "cross-env DEBUG=1 node scripts/start.js",
- "lint:fix": "eslint . --fix",
- "lint": "eslint . --ext .ts,.tsx",
+ "lint:fix": "eslint . --fix && eslint integration-tests --fix",
+ "lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
"typecheck": "npm run typecheck --workspaces --if-present",
"format": "prettier --write .",
- "preflight": "npm run format --workspaces --if-present && npm run lint && npm run test --workspaces --if-present",
+ "preflight": "npm ci && npm run format && npm run lint:fix && npm run build && npm run typecheck && npm run test:ci",
"auth:npm": "npx google-artifactregistry-auth",
"auth:docker": "gcloud auth configure-docker us-west1-docker.pkg.dev",
"auth": "npm run auth:npm && npm run auth:docker",
@@ -59,7 +64,7 @@
"eslint-plugin-license-header": "^0.8.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
- "glob": "^10.4.2",
+ "glob": "^10.4.5",
"globals": "^16.0.0",
"json": "^11.0.0",
"lodash": "^4.17.21",