fix packaging instructions
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
09a0c0567e
commit
3db82df7b5
|
@ -1,4 +1,6 @@
|
||||||
lib
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
|
yarn-error.log
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@microwavedcola/voter-stake-registry-client",
|
"name": "@blockworks-foundation/voter-stake-registry-client",
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
"description": "Client for Voter-stake-registry which is a voter weight addin for Solana's spl-governance program.",
|
"description": "Client for Voter-stake-registry which is a voter weight addin for Solana's spl-governance program.",
|
||||||
"main": "lib/src/index.js",
|
"main": "lib/src/index.js",
|
||||||
|
@ -8,8 +8,9 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"postinstall": "tsc",
|
"postinstall": "tsc",
|
||||||
"clean": "rm -rf lib",
|
"clean": "rm -rf dist",
|
||||||
"prepare": "yarn clean && yarn build",
|
"prepare": "yarn clean && yarn build",
|
||||||
|
"publish": "yarn prepare && cp package.json dist/ && yarn publish dist",
|
||||||
"type-check": "tsc --pretty --noEmit",
|
"type-check": "tsc --pretty --noEmit",
|
||||||
"format": "prettier --check .",
|
"format": "prettier --check .",
|
||||||
"lint": "eslint . --ext ts --ext tsx --ext js --quiet"
|
"lint": "eslint . --ext ts --ext tsx --ext js --quiet"
|
||||||
|
|
|
@ -2,17 +2,18 @@
|
||||||
"extends": "@tsconfig/recommended/tsconfig.json",
|
"extends": "@tsconfig/recommended/tsconfig.json",
|
||||||
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./lib",
|
|
||||||
"target": "es6",
|
|
||||||
"lib": ["es2019"],
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
"declarationDir": "dist",
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"lib": ["es2019"],
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
|
"outDir": "dist",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"esModuleInterop": true
|
"target": "es6"
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*"],
|
"include": ["./src/**/*"],
|
||||||
"exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]
|
"exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]
|
||||||
|
|
Loading…
Reference in New Issue