near-workspaces
Version:
Write tests in TypeScript/JavaScript to run in a controlled NEAR Sandbox local environment.
58 lines • 1.91 kB
JSON
{
"name": "near-workspaces",
"version": "5.0.0",
"description": "Write tests in TypeScript/JavaScript to run in a controlled NEAR Sandbox local environment.",
"repository": {
"type": "git",
"url": "git@github.com:near/workspaces-js.git",
"directory": "packages/js"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Near Inc (team@near.org)",
"license": "(MIT AND Apache-2.0)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@scure/base": "^1.2.0",
"base64url": "^3.0.1",
"borsh": "^2.0.0",
"callsites": "^4.0.0",
"fs-extra": "^10.0.0",
"js-sha256": "^0.9.0",
"near-api-js": "^5.1.0",
"near-sandbox": "^0.1.1",
"node-port-check": "^2.0.1",
"promisify-child-process": "^4.1.1",
"proper-lockfile": "^4.1.2",
"pure-uuid": "^1.6.2",
"temp-dir": "^2.0.0"
},
"files": [
"dist/",
"tsconfig.json",
"core_contracts",
"scripts/*.js"
],
"engines": {
"node": ">=20.15.0",
"pnpm": ">= 9.15"
},
"devDependencies": {
"@types/bs58": "^4.0.1",
"@types/proper-lockfile": "^4.1.2"
},
"gitHead": "20b58f0acd60d76517479f3b295f4c7ab938061f",
"scripts": {
"build": "tsc",
"postinstall": "node scripts/install.js",
"test:testnet": "NEAR_WORKSPACES_NETWORK=testnet && TESTNET_MASTER_ACCOUNT_ID='ro3evqruqecmi7q4uwux1651245117258' ava --verbose ",
"test:testnet:ci": "NEAR_WORKSPACES_DEBUG=true NEAR_WORKSPACES_NETWORK=testnet ava --verbose",
"test:sandbox": "pnpm build && ava --verbose",
"test:sandbox:ci": "pnpm build && NEAR_WORKSPACES_DEBUG=true ava --verbose",
"test": "ava --verbose && pnpm test:testnet",
"clean:accounts": "ts-node ./scripts/delete-accounts.ts",
"test:jsonrpc:env": " NEAR_CLI_MAINNET_RPC_SERVER_URL=https://near-mainnet.api.pagoda.co/rpc/v1 ava __tests__/jsonrpc.ava.js"
}
}