Skip to content

Commit

Permalink
feat: prepare package for release
Browse files Browse the repository at this point in the history
  • Loading branch information
v-stickykeys committed Jan 24, 2021
1 parent 9068477 commit 7084a79
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 18 deletions.
40 changes: 27 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 18 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,29 @@
},
"engineStrict": true,
"files": [
"/build/protocols.txt",
"/dist",
"/LICENSE",
"/README.md"
],
"scripts": {
"compile": "npm run dist && node dist/scripts/compile.js",
"dist": "node_modules/typescript/bin/tsc",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -R node_modules",
"clean:build": "rm -R build/protocols"
"clean:build": "rm -R build/protocols",
"dist": "node_modules/typescript/bin/tsc",
"release": "dotenv release-it -- --only-version --verbose",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xGodMode/contract-library.git"
},
"keywords": [
"xgm",
"godmode",
"ethereum",
"solidity",
"contract"
"smart-contracts"
],
"author": "valmack",
"license": "MIT",
Expand All @@ -36,14 +39,15 @@
},
"homepage": "https://github.com/xGodMode/contract-library#readme",
"dependencies": {
"@xgm/error-codes": "0.0.1",
"@xgm/error-codes": "^0.0.3",
"glob": "^7.1.6",
"memorystream": "^0.3.1",
"require-from-string": "^2.0.2",
"solc": "^0.8.0"
},
"devDependencies": {
"@types/node": "^14.14.19",
"dotenv-cli": "^4.0.0",
"husky": "^4.3.6",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
Expand All @@ -56,11 +60,20 @@
}
},
"release-it": {
"hooks": {
"before:init": [
"npm install",
"npm run compile"
]
},
"git": {
"commitMessage": "release: v${version}"
},
"github": {
"release": true
}
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 7084a79

Please sign in to comment.