Files
universe/package.json
T
zeekayandHanzo Dev ecffc8b083 e2e: make the registry parseable and declare the dep that reads it
e2e/env.ts reads NETWORKS.yaml at runtime, so two things on main were fatal to
it and are fixed here rather than assumed:

  - NETWORKS.yaml did not parse. `lux-explorer: Lux Explorer (single Go binary:
    indexer+GraphQL+SPA) — 5 chains` is a plain scalar containing ": ", which
    YAML rejects — js-yaml fails with "bad indentation of a mapping entry
    (219:49)". Quoted.
  - js-yaml / @types/js-yaml were not declared, so the import resolved only on a
    machine that happened to have them.

Verified on the rebased tree: NETWORKS.yaml parses and the suite runs green
against mainnet.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-26 15:46:04 -07:00

62 lines
3.9 KiB
JSON

{
"name": "@luxfi/universe",
"version": "1.0.2",
"private": true,
"description": "Lux Universe \u2014 multi-chain infrastructure with full E2E testing",
"scripts": {
"test": "npx playwright test",
"test:health": "npx playwright test e2e/00-health.spec.ts",
"test:explorer": "npx playwright test e2e/01-explorer.spec.ts",
"test:exchange": "npx playwright test e2e/02-exchange.spec.ts",
"test:bridge": "npx playwright test e2e/03-bridge.spec.ts",
"test:staking": "npx playwright test e2e/04-staking.spec.ts",
"test:cloud": "npx playwright test e2e/05-cloud.spec.ts",
"test:wallet": "npx playwright test e2e/06-wallet.spec.ts",
"test:validator": "npx playwright test e2e/07-validator.spec.ts",
"test:validator-lifecycle": "npx playwright test e2e/08-validator-lifecycle.spec.ts",
"test:defi": "npx playwright test e2e/09-defi-flow.spec.ts",
"test:stats": "npx playwright test e2e/10-stats-dashboard.spec.ts",
"test:wallet-ops": "npx playwright test e2e/11-wallet-ops.spec.ts",
"test:staking-rpc": "npx playwright test e2e/12-staking-rpc.spec.ts",
"test:bridge-mpc": "npx playwright test e2e/13-bridge-mpc.spec.ts",
"test:dex-contracts": "npx playwright test e2e/14-dex-contracts.spec.ts",
"test:nft": "npx playwright test e2e/15-nft-marketplace.spec.ts",
"test:chains": "npx playwright test e2e/16-app-chains.spec.ts",
"test:governance": "npx playwright test e2e/17-governance.spec.ts",
"test:broker": "npx playwright test e2e/18-broker.spec.ts",
"test:broker-deep": "npx playwright test e2e/19-broker-deep.spec.ts",
"test:luxfin": "npx playwright test e2e/40-lux-financial.spec.ts",
"test:dao": "npx playwright test e2e/30-dao-onchain.spec.ts",
"test:vote": "npx playwright test e2e/31-vote-surfaces.spec.ts",
"test:work": "npx playwright test e2e/32-work-boards.spec.ts",
"test:bounty": "npx playwright test e2e/33-bounty-bot.spec.ts",
"test:pars": "npx playwright test e2e/34-pars-chain.spec.ts",
"test:branded": "npx playwright test -c playwright.branded.config.ts",
"test:branded:1280": "npx playwright test -c playwright.branded.config.ts --project=1280",
"test:branded:report": "npx playwright show-report branded-report/html",
"test:full": "npx playwright test e2e/00-health.spec.ts e2e/01-explorer.spec.ts e2e/02-exchange.spec.ts e2e/03-bridge.spec.ts e2e/04-staking.spec.ts e2e/05-cloud.spec.ts e2e/06-wallet.spec.ts e2e/07-validator.spec.ts e2e/08-validator-lifecycle.spec.ts e2e/09-defi-flow.spec.ts e2e/10-stats-dashboard.spec.ts e2e/11-wallet-ops.spec.ts e2e/12-staking-rpc.spec.ts e2e/13-bridge-mpc.spec.ts e2e/14-dex-contracts.spec.ts e2e/15-nft-marketplace.spec.ts e2e/16-app-chains.spec.ts e2e/17-governance.spec.ts e2e/18-broker.spec.ts e2e/19-broker-deep.spec.ts e2e/30-dao-onchain.spec.ts e2e/31-vote-surfaces.spec.ts e2e/32-work-boards.spec.ts e2e/33-bounty-bot.spec.ts e2e/34-pars-chain.spec.ts",
"test:headed": "npx playwright test --headed",
"test:ui": "npx playwright test --ui",
"test:local": "LUX_ENV=local npx playwright test",
"test:mainnet": "LUX_ENV=mainnet npx playwright test",
"test:testnet": "LUX_ENV=testnet npx playwright test",
"test:devnet": "LUX_ENV=devnet npx playwright test",
"test:gate": "npx playwright test e2e/00-health.spec.ts e2e/08-validator-lifecycle.spec.ts e2e/09-defi-flow.spec.ts e2e/13-bridge-mpc.spec.ts e2e/14-dex-contracts.spec.ts --reporter=list",
"test:gate:mainnet": "LUX_ENV=mainnet npm run test:gate",
"test:gate:testnet": "LUX_ENV=testnet npm run test:gate",
"test:gate:devnet": "LUX_ENV=devnet npm run test:gate",
"e2e:install": "npx playwright install --with-deps chromium",
"e2e:report": "npx playwright show-report",
"test:login": "npx playwright test e2e/50-login.spec.ts"
},
"devDependencies": {
"@playwright/test": "^1.52.0",
"@types/js-yaml": "^4.0.9",
"ethers": "^6.14.0",
"js-yaml": "^4.1.0"
},
"dependencies": {
"@luxfi/wallet-sdk": "^0.20.29"
}
}