Compare commits

...

7 Commits

Author SHA1 Message Date
microwavedcola1 e4397b9ae9 reset version
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-01-09 09:25:14 +01:00
microwavedcola1 f85577fca2
Update README.md 2022-01-09 09:18:06 +01:00
microwavedcola1 d647c7545e
Create README.md 2022-01-09 09:17:32 +01:00
microwavedcola1 163884259a remove dist
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-01-09 09:16:24 +01:00
microwavedcola1 3db82df7b5 fix packaging instructions
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-01-09 09:14:51 +01:00
microwavedcola1 09a0c0567e v0.1.3 2022-01-09 09:10:23 +01:00
microwavedcola1 c271a61766 v0.1.2 2022-01-09 09:07:34 +01:00
4 changed files with 19 additions and 6 deletions

4
.gitignore vendored
View File

@ -1,4 +1,6 @@
lib
dist
node_modules
yarn-error.log
.idea

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# voter-stake-registry-client
typsecript client for https://github.com/blockworks-foundation/voter-stake-registry
# development
node version v16.13.1
## TODO:
publish npm package under @blockworks-foundation

View File

@ -8,8 +8,9 @@
"scripts": {
"build": "tsc",
"postinstall": "tsc",
"clean": "rm -rf lib",
"clean": "rm -rf dist",
"prepare": "yarn clean && yarn build",
"publish": "yarn prepare && cp package.json dist/ && yarn publish dist",
"type-check": "tsc --pretty --noEmit",
"format": "prettier --check .",
"lint": "eslint . --ext ts --ext tsx --ext js --quiet"

View File

@ -2,17 +2,18 @@
"extends": "@tsconfig/recommended/tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"target": "es6",
"lib": ["es2019"],
"allowJs": true,
"checkJs": true,
"declaration": true,
"declarationDir": "dist",
"declarationMap": true,
"esModuleInterop": true,
"lib": ["es2019"],
"noImplicitAny": false,
"outDir": "dist",
"resolveJsonModule": true,
"sourceMap": true,
"esModuleInterop": true
"target": "es6"
},
"include": ["./src/**/*"],
"exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]