Skip to content

Instantly share code, notes, and snippets.

@siddjain
Created May 22, 2020 17:09
Show Gist options
  • Save siddjain/ea52c4b3e2a88b2cf84f0c9b500f9b95 to your computer and use it in GitHub Desktop.
Save siddjain/ea52c4b3e2a88b2cf84f0c9b500f9b95 to your computer and use it in GitHub Desktop.
{
"name": "first-contract",
"version": "0.0.1",
"description": "My First Smart Contract",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=12",
"npm": ">=6"
},
"scripts": {
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"pretest": "npm run lint",
"test": "nyc mocha -r ts-node/register src/**/*.spec.ts",
"start": "fabric-chaincode-node start",
"build": "tsc",
"build:watch": "tsc -w",
"prepublishOnly": "npm run build"
},
"engineStrict": true,
"author": "Siddharth Jain",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "^2.0.0"
},
"devDependencies": {
"fabric-shim": "^2.0.0",
"@types/chai": "^4.2.0",
"@types/chai-as-promised": "^7.1.2",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.3",
"@types/sinon": "^7.0.13",
"@types/sinon-chai": "^3.2.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"sinon": "^7.4.1",
"sinon-chai": "^3.3.0",
"ts-node": "^8.3.0",
"tslint": "^5.19.0",
"typescript": "^3.6.2",
"winston": "^3.2.1",
"minimist": ">=0.2.1"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"coverage/**",
"dist/**"
],
"reporter": [
"text-summary",
"html"
],
"all": true,
"check-coverage": true,
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment