Skip to content

Commit

Permalink
chore: packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
fgladisch committed Mar 26, 2018
1 parent 6e3f886 commit c505301
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src
tsconfig.json
tslint.json
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
"name": "@anychain/core",
"version": "0.1.0",
"description": "Blockchain data structure for Node.js",
"main": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"repository": "[email protected]:fgladisch/anychain.git",
"author": "Felix Gladisch <[email protected]>",
"license": "MIT",
"private": false,
"bugs": {
"url": "https://github.com/fgladisch/anychain/issues"
},
"keywords": ["blockchain", "typescript"],
"devDependencies": {
"@types/chai": "4.1.2",
"@types/mocha": "5.0.0",
Expand All @@ -19,7 +24,8 @@
"typescript": "2.7.2"
},
"scripts": {
"compile": "tsc",
"test": "mocha -r ts-node/register src/**/*.test.ts"
"build": "tsc",
"test": "mocha -r ts-node/register src/**/*.test.ts",
"prepublishOnly": "yarn compile"
}
}

0 comments on commit c505301

Please sign in to comment.