Browse Source

build to 'build' dir

Joystream Stats 3 years ago
parent
commit
837379b1c4

+ 0 - 1
.gitignore

@@ -1,5 +1,4 @@
 .DS_Store
 node_modules/
 dist/
-lib/
 .idea/*

+ 1 - 0
contributions/tech/report-generator/.gitignore

@@ -1,4 +1,5 @@
 .idea/*
 node_modules
+build
 yarn.lock
 report.md

+ 2 - 2
contributions/tech/report-generator/README.md

@@ -16,8 +16,8 @@ git submodule update
 
 ## Usage
 
-`node lib/generator.js <start block> <end block>`
+`node build/generator.js <start block> <end block>`
 
 ## Example
 
-`node lib/generator.js 57601 234038`
+`node build/generator.js 57601 234038`

+ 1 - 1
contributions/tech/report-generator/package.json

@@ -1,7 +1,7 @@
 {
   "name": "report-generator",
   "version": "0.1.0",
-  "main": "lib/index.js",
+  "main": "build/index.js",
   "license": "MIT",
   "scripts": {
     "build": "tsc --build tsconfig.json",

+ 3 - 3
contributions/tech/report-generator/tsconfig.json

@@ -25,8 +25,8 @@
       "./node_modules/@polkadot/ts",
       "./node_modules/@types"
     ],
-    "declarationDir": "lib",
-    "outDir": "lib"
+    "declarationDir": "build",
+    "outDir": "build"
   },
   "include": [
     "src/*.ts"
@@ -36,4 +36,4 @@
     "**/*.spec.ts",
     "**/*.d.ts"
   ]
-}
+}