mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 02:08:00 +00:00
Add dummy package to fix build (#3)
This commit is contained in:
+2
-2
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user