Skip to content

Commit

Permalink
chore: exclude irrelevant files from npm package (ArrakisFinance#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
kassandraoftroy authored Dec 15, 2022
1 parent 7ff151e commit a1211fe
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 21 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# V2 Core

Arrakis Vaults Version 2, Core Contracts
Arrakis Vaults Version 2, Core Smart Contracts.

Read the full developer documentation [here](https://docs.arrakis.fi/developer-docs)

## Setup

fill in `.env` file (see: `.env.example` for necessary environment vars)
Create `.env` file and add `ALCHEMY_ID` (for all relevant environment variables, see `.env.example`)

# Test

```
yarn
Expand Down
29 changes: 16 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"name": "@arrakisfi/v2-core",
"version": "0.1.4",
"description": "Arrakis V2 Automated Market Maker",
"license": "MIT",
"main": "dist/src/addresses.js",
"types": "dist/src/addresses.d.ts",
"files": [
"contracts",
"!contracts/__mocks__",
"src"
],
"scripts": {
"build": "yarn compile && npx tsc",
"compile": "npx hardhat compile --force",
Expand All @@ -19,17 +29,13 @@
"script-matic:mint": "npx hardhat --network polygon run ./scripts/mint.ts",
"script-matic:burn": "npx hardhat --network polygon run ./scripts/standardBurn.ts",
"script-matic:rebalance": "npx hardhat --network polygon run ./scripts/standardRebalance.ts",
"verify-underlying-matic": "npx hardhat --network polygon run ./scripts/verify/verifyUnderlying.ts",
"verify-underlying-mainnet": "npx hardhat --network mainnet run ./scripts/verify/verifyUnderlying.ts",
"verify-vault-v2-matic": "npx hardhat --network polygon run ./scripts/verify/verifyVaultV2.ts",
"verify-vault-v2-mainnet": "npx hardhat --network mainnet run ./scripts/verify/verifyVaultV2.ts",
"verify-vault-v2-helper-matic": "npx hardhat --network polygon run ./scripts/verify/verifyVaultV2Helper.ts",
"verify-vault-v2-helper-mainnet": "npx hardhat --network mainnet run ./scripts/verify/verifyVaultV2Helper.ts",
"verify-vault-v2-resolver-matic": "npx hardhat --network polygon run ./scripts/verify/verifyVaultV2Resolver.ts",
"verify-vault-v2-resolver-mainnet": "npx hardhat --network mainnet run ./scripts/verify/verifyVaultV2Resolver.ts"
"verify-underlying": "npx hardhat run ./scripts/verify/verifyUnderlying.ts",
"verify-vault-v2": "npx hardhat run ./scripts/verify/verifyVaultV2.ts",
"verify-vault-v2-helper": "npx hardhat run ./scripts/verify/verifyVaultV2Helper.ts",
"verify-vault-v2-resolver": "npx hardhat run ./scripts/verify/verifyVaultV2Resolver.ts"
},
"devDependencies": {
"@arrakisfi/v3-lib-0.8": "0.1.1",
"@arrakisfi/v3-lib-0.8": "0.1.3",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-etherscan": "3.1.0",
"@nomiclabs/hardhat-waffle": "2.0.3",
Expand Down Expand Up @@ -92,8 +98,5 @@
"bugs": {
"url": "https://github.com/ArrakisFinance/v2-core/issues"
},
"homepage": "https://github.com/ArrakisFinance/v2-core#readme",
"description": "Arrakis V2 Automated Market Maker",
"license": "MIT",
"version": "0.1.4"
"homepage": "https://github.com/ArrakisFinance/v2-core#readme"
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"typeRoots": ["./node_modules/@types"],
"outDir": "dist"
"outDir": "dist",
"declaration": true
},
"files": ["hardhat.config.ts"],
"include": ["src", "deploy", "scripts", "test", "typechain"],
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@arrakisfi/[email protected].1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@arrakisfi/v3-lib-0.8/-/v3-lib-0.8-0.1.1.tgz#68e4fe63e99618d9dd2b38b19761699a37f51d0f"
integrity sha512-lMycK6kd7r8sh91xxJhrVnvFpJI61ExxbY76fyqZsudRrg9JdYH2RloEHuhVyTqwAG3RovTAc0jh/UjcNh/a5w==
"@arrakisfi/[email protected].3":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@arrakisfi/v3-lib-0.8/-/v3-lib-0.8-0.1.3.tgz#eb5ffeaf71f575330a6823d140110002eb244eee"
integrity sha512-/pEKX5ITf2JaieT7XOBTZjrQ80D0qgIi4BZh1r5Dtk1bQYkdpnjhDC9PMqijl8tz+Z4AfXuZcqU0EmGb8Mzbdg==

"@babel/code-frame@^7.0.0":
version "7.18.6"
Expand Down

0 comments on commit a1211fe

Please sign in to comment.