UNPKG

create-midnight-app

Version:

🌙 Scaffold for building Midnight smart contracts with dynamic type detection and automated CLI generation

59 lines (58 loc) • 2.4 kB
{ "name": "scaffold-midnight", "description": "A scaffold for building applications on the Midnight network using TypeScript.", "version": "0.1.0", "private": true, "type": "module", "workspaces": [ "boilerplate/contract", "boilerplate/contract-cli", "boilerplate/scripts" ], "scripts": { "dev": "rm -rf boilerplate/contract/src/managed/* && node boilerplate/scripts/auto-generator.js", "auto-generate-verbose": "node boilerplate/scripts/typescript-auto-generator.js --verbose", "build": "npm run build --workspaces --if-present", "test": "npm run test --workspaces --if-present", "wallet": "node boilerplate/scripts/generate-key.js", "faucet": "node boilerplate/scripts/request-faucet.js", "balance": "node boilerplate/scripts/check-balance.js", "deploy": "node boilerplate/scripts/deploy.js --new", "deploy:new": "node boilerplate/scripts/deploy.js --new", "deploy:join": "node boilerplate/scripts/deploy.js --join", "docs": "open https://docs.midnight.network/develop/reference/compact/", "check": "node -e \"console.log('✅ Scaffold-midnight is ready!'); console.log('💡 Create a .compact file and run: npm run dev'); process.exit(0)\"" }, "devDependencies": { "@eslint/js": "^9.28.0", "@types/node": "^22.15.29", "@types/ws": "^8.18.1", "@typescript-eslint/eslint-plugin": "^8.33.1", "@typescript-eslint/parser": "^8.33.1", "eslint": "^9.28.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.4.1", "testcontainers": "^11.0.0", "ts-node": "^10.9.2", "typescript": "^5.8.3", "vitest": "^3.2.0" }, "dependencies": { "@midnight-ntwrk/compact-runtime": "^0.8.1", "@midnight-ntwrk/ledger": "^4.0.0", "@midnight-ntwrk/midnight-js-contracts": "2.0.1", "@midnight-ntwrk/midnight-js-http-client-proof-provider": "2.0.1", "@midnight-ntwrk/midnight-js-indexer-public-data-provider": "2.0.1", "@midnight-ntwrk/midnight-js-level-private-state-provider": "2.0.1", "@midnight-ntwrk/midnight-js-node-zk-config-provider": "2.0.1", "@midnight-ntwrk/midnight-js-types": "2.0.1", "@midnight-ntwrk/wallet": "5.0.0", "@midnight-ntwrk/wallet-api": "5.0.0", "@midnight-ntwrk/zswap": "^4.0.0", "dotenv": "^16.5.0", "node-fetch": "^3.3.2", "pino": "^9.7.0", "pino-pretty": "^13.0.0", "ws": "^8.18.2" } }