Add repo scaffolding

This commit is contained in:
Yi Sun
2022-01-08 02:31:26 -06:00
parent 56f61a2c31
commit e5aef0f420
3 changed files with 40 additions and 0 deletions

3
build_circuits.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo 'test'

25
package.json Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "eth-attestor",
"version": "0.0.1",
"description": "Attestations to Ethereum data in circom",
"main": "index.js",
"scripts": {
"build": "./build_circuits.sh",
},
"repository": "git@github.com:yi-sun/eth-attestor.git",
"author": "Yi Sun <yi-sun@users.noreply.github.com>",
"dependencies": {
"circomlib": "^2.0.2",
"snarkjs": "^0.4.10"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/expect": "^24.3.0",
"@types/mocha": "^9.0.0",
"chai": "^4.3.4",
"circom_tester": "0.0.9",
"mocha": "^9.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
}
}

12
tsconfig.json Normal file
View File

@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"strict": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": ["./scripts", "./test"]
}