Add dummy package to fix build (#3)

This commit is contained in:
Jaco Greeff
2020-10-12 12:36:14 +02:00
committed by GitHub
parent d3748d0e0c
commit cd63585170
7 changed files with 720 additions and 7446 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@polkadot/dev": "^0.55.53",
"@types/jest": "^26.0.10"
"@polkadot/dev": "^0.58.1",
"@types/jest": "^26.0.14"
},
"version": "0.1.1"
}
View File
View File
+28
View File
@@ -0,0 +1,28 @@
{
"name": "@polkadot/unused",
"version": "0.1.1",
"description": "Simple phishing scripts from a central source",
"main": "index.js",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/polkadot-js/phishing.git"
},
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
],
"contributors": [],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/polkadot-js/phishing/issues"
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/phishing#readme",
"dependencies": {
"@babel/runtime": "^7.11.2",
"@polkadot/x-fetch": "0.3.2"
}
}
+10
View File
@@ -0,0 +1,10 @@
// Copyright 2020 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
export interface Dummy {
dummy: string;
}
export default function dummy (): void {
console.error('unused');
}
+5 -2
View File
@@ -1,12 +1,15 @@
{
"extends": "@polkadot/dev/config/tsconfig",
"extends": "./node_modules/@polkadot/dev/config/tsconfig",
"exclude": [
"build/**/*",
"**/build/**/*"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"paths":
{
"@polkadot/phishing": ["packages/phishing/src"],
"@polkadot/phishing/*": ["packages/phishing/src/*"]
},
"skipLibCheck": true,
"typeRoots": [
+675 -7442
View File
File diff suppressed because it is too large Load Diff