UNPKG

create-midnight-app

Version:

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

26 lines (25 loc) • 807 B
{ "name": "@midnight-ntwrk/contract", "version": "0.1.0", "license": "Apache-2.0", "private": true, "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.js", "default": "./dist/index.js" } }, "scripts": { "compact": "rm -rf src/managed/* && name=$(basename $(ls src/*.compact) .compact) && compactc src/$name.compact src/managed/$name", "build": "rm -rf dist && tsc --project tsconfig.build.json && cp -Rf ./src/managed ./dist/managed && cp ./src/*.compact ./dist", "lint": "eslint src", "typecheck": "tsc -p tsconfig.json --noEmit", "dev": "npm run compact && npm run build" } }