Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion beet-bbachain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"postversion": "git add package.json && git commit -m \"chore: update $npm_package_name to v$npm_package_version\" && git tag $npm_package_name@$npm_package_version",
"prepublishOnly": "yarn check:publish-ready",
"postpublish": "git push origin && git push origin --tags",
"build": "rimraf dist && tsc -p tsconfig.json --declaration",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"pretest": "yarn build",
"test": "tape dist/cjs/test/*.js",
"lint": "prettier -c ./src/",
Expand Down
7 changes: 7 additions & 0 deletions beet-bbachain/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationDir": "./dist/types"
}
}
4 changes: 1 addition & 3 deletions beet-bbachain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/cjs",
"module": "commonjs",
"declarationDir": "./dist/types",
"declaration": false
"module": "commonjs"
},
"include": ["src", "test"]
}
2 changes: 1 addition & 1 deletion beet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"postversion": "git add package.json && git commit -m \"chore: update $npm_package_name to v$npm_package_version\" && git tag $npm_package_name@$npm_package_version",
"prepublishOnly": "yarn check:publish-ready",
"postpublish": "git push origin && git push origin --tags",
"build": "rimraf dist && tsc -p tsconfig.json --declaration",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"pretest": "yarn build",
"test": "tape dist/cjs/test/{unit,compat}/*.js",
"test:browser": "airtap ./test/{unit,compat}/*.ts",
Expand Down
7 changes: 7 additions & 0 deletions beet/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationDir": "./dist/types"
}
}
4 changes: 1 addition & 3 deletions beet/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/cjs",
"module": "commonjs",
"declarationDir": "./dist/types",
"declaration": false
"module": "commonjs"
},
"include": ["src", "test"]
}