-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Contracts Support | ||
|
||
This package contains utilities that contracts tend to need. | ||
|
||
It also includes sample contracts to learn from and play with. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "@agoric/contracts", | ||
"version": "0.0.1", | ||
"description": "Utilities and sample contracts to support contract development", | ||
"type": "module", | ||
"main": "src/index.js", | ||
"engines": { | ||
"node": ">=14.15.0" | ||
}, | ||
"scripts": { | ||
"build": "exit 0", | ||
"prepack": "tsc --build tsconfig.build.json", | ||
"postpack": "git clean -f '*.d.ts*'", | ||
"test": "ava", | ||
"test:xs": "exit 0", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:eslint": "eslint .", | ||
"lint:types": "tsc" | ||
}, | ||
"dependencies": { | ||
"@agoric/assert": "^0.6.0", | ||
"@agoric/ertp": "^0.16.2", | ||
"@agoric/internal": "^0.3.2", | ||
"@agoric/notifier": "^0.6.2", | ||
"@agoric/store": "^0.9.2", | ||
"@agoric/vat-data": "^0.5.2", | ||
"@agoric/zoe": "^0.26.2", | ||
"@endo/eventual-send": "^0.17.5", | ||
"@endo/marshal": "^0.8.8", | ||
"@endo/nat": "^4.1.31", | ||
"@endo/promise-kit": "^0.2.59", | ||
"anylogger": "^0.21.0", | ||
"jessie.js": "^0.3.2" | ||
}, | ||
"devDependencies": { | ||
"@endo/init": "^0.5.59", | ||
"ava": "^5.3.0" | ||
}, | ||
"author": "Agoric", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"./tsconfig.json", | ||
"../../tsconfig-build-options.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// This file can contain .js-specific Typescript compiler config. | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"checkJs": false, // Disable b/c @endo/init can't pass noImplicitAny | ||
"noImplicitAny": true, | ||
"allowSyntheticDefaultImports": true, | ||
"maxNodeModuleJsDepth": 2, | ||
}, | ||
"include": [ | ||
"*.js", | ||
"*.ts", | ||
"src/**/*.js", | ||
"src/**/*.ts", | ||
"test/**/*.js", | ||
"test/**/*.ts" | ||
] | ||
} |