@boardroom/protocol-info
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -1,5 +0,4 @@ | ||
import { Protocol } from "./types"; | ||
declare module "boardroomInfo" { | ||
export = Protocol; | ||
declare module "@boardroom/protocol-info" { | ||
function protocolInfo(): void; | ||
export = protocolInfo; | ||
} |
{ | ||
"name": "@boardroom/protocol-info", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Project information which will be served to display on the Boardroom Governance Portal.", | ||
"main": "dist/index.ts", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"repository": "https://github.com/boardroom-inc/protocol-Info.git", | ||
@@ -21,3 +22,3 @@ "author": "sudheer <sudheer.105@gmail.com>", | ||
"scripts": { | ||
"build": "ts-node ./scripts/build.ts", | ||
"build": "ts-node ./scripts/build.ts && tsc -d", | ||
"prepare": "yarn build", | ||
@@ -24,0 +25,0 @@ "validate": "yarn build && ts-node ./scripts/validate.ts" |
@@ -11,7 +11,10 @@ import fs from "fs"; | ||
mkdirp.sync("./dist"); | ||
fs.copyFileSync("./index.d.ts", "./dist/index.d.ts"); | ||
fs.copyFileSync("./types.ts", "./dist/types.ts"); | ||
fs.writeFileSync( | ||
"./dist/index.ts", | ||
`export default [${protocolInfo.toString()}];` | ||
` | ||
import { Protocol } from "../types"; | ||
export default [${protocolInfo.toString()}] as Protocol[]; | ||
` | ||
); |
@@ -5,3 +5,3 @@ { | ||
"module": "commonjs", | ||
"outDir": "dist", | ||
"outDir": ".", | ||
"strict": true, | ||
@@ -14,3 +14,5 @@ "noImplicitAny": true, | ||
"resolveJsonModule": true | ||
} | ||
}, | ||
"include": ["./dist"], | ||
"exclude": ["./node_modules"] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2104836
185
6802