Skip to content

Commit

Permalink
Adapt package.json and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
FabijanC committed Sep 29, 2021
1 parent 2ecc499 commit eebdd75
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
7 changes: 0 additions & 7 deletions Dockerfile

This file was deleted.

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
```

### Cairo version
For a list of available versions, check [here](https://hub.docker.com/r/shardlabs/cairo-cli/tags).
A list of available versions can be found [here](https://hub.docker.com/r/shardlabs/cairo-cli/tags).
```javascript
module.exports = {
...
Expand All @@ -79,3 +79,6 @@ module.exports = {
...
};
```

## Example
An example Hardhat project using this plugin can be found [here](https://github.com/Shard-Labs/starknet-hardhat-example).
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{
"name": "@shardlabs/starknet-hardhat-plugin",
"version": "0.1.2",
"version": "0.1.3",
"description": "Plugin for using Starknet tools within Hardhat projects",
"main": "dist/index.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/Shard-Labs/starknet-hardhat-plugin.git"
},
"scripts": {
"test": "./scripts/test.sh",
"build": "rm -rf dist && tsc",
"build-image": "docker build -t shardlabs/cairo-cli --build-arg CAIRO_VERSION=$CAIRO_VERSION ."
"build": "rm -rf dist && tsc"
},
"author": "Shard-Labs",
"license": "ISC",
Expand Down
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ function hasCairoExtension(filePath: string) {
return path.extname(filePath) === ".cairo";
}

function hasPythonExtension(filePath: string) {
return path.extname(filePath) === ".py";
}

function isStarknetContract(filePath: string) {
return hasCairoExtension(filePath);
}
Expand Down

0 comments on commit eebdd75

Please sign in to comment.