UNPKG

motoko

Version:

Compile and run Motoko smart contracts in Node.js or the browser.

97 lines (96 loc) 2.51 kB
{ "name": "motoko", "version": "4.10.0", "description": "Compile and run Motoko smart contracts in Node.js or the browser.", "author": "Ryan Vandersmith (https://github.com/rvanasa)", "license": "Apache-2.0", "main": "./index.js", "types": "lib/versions/moc.d.ts", "repository": { "type": "git", "url": "https://github.com/caffeinelabs/node-motoko.git" }, "scripts": { "build": "rimraf ./lib && tsc -p .", "prepare": "husky", "generate": "node utils/generate", "test": "jest", "size-limit": "size-limit", "precommit": "lint-staged", "prepublishOnly": "run-s build test" }, "dependencies": { "cross-fetch": "3.1.5", "debug": "^4.4.3", "parse-github-url": "1.0.3", "sanitize-filename": "^1.6.4" }, "devDependencies": { "@dfinity/pic": "^0.13.1", "@types/jest": "^29.5.14", "@types/node": "^22.19.15", "@types/parse-github-url": "^1.0.3", "@wasmer/wasi": "^1.2.2", "axios": "^1.7.8", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.5.2", "npm-run-all": "^4.1.5", "prettier": "^3.8.1", "rimraf": "^6.1.3", "size-limit": "^11.1.6", "size-limit-node-esbuild": "^0.4.0", "size-limit-preset-node-lib": "^0.4.0", "ts-jest": "^29.4.6", "ts-node": "^10.9.2", "typescript": "^5.9.3" }, "lint-staged": { "{lib,contrib,utils}/**/*.{js,ts,jsx,tsx}": [ "prettier --write" ] }, "directories": { "lib": "lib", "example": "examples" }, "files": [ "index.js", "interpreter.js", "src/**/*", "lib/**/*", "contrib/**/*", "versions/latest/**/*", "packages/latest/**/*" ], "keywords": [ "motoko", "language", "programming-language", "dfinity", "smart-contract", "canister", "browser", "ic", "icp", "internet-computer", "blockchain", "cryptocurrency", "nft", "token" ], "size-limit": [ { "path": "lib/index.js" }, { "path": "packages/latest/core.json" }, { "path": "versions/latest/moc.min.js" }, { "path": "versions/latest/moc_interpreter.min.js" } ] }