Explorar el Código

Scaffolding for xc-admin (new crosschain admin tool) (#457)

* First commit

* Add typescript

* Add tsconfig
guibescos hace 2 años
padre
commit
6e1328f98e

+ 1 - 0
xc-admin/.gitignore

@@ -0,0 +1 @@
+node_modules/

+ 5 - 0
xc-admin/lerna.json

@@ -0,0 +1,5 @@
+{
+  "$schema": "node_modules/lerna/schemas/lerna-schema.json",
+  "useWorkspaces": true,
+  "version": "0.0.0"
+}

+ 10 - 0
xc-admin/package.json

@@ -0,0 +1,10 @@
+{
+  "name": "xc-admin",
+  "private": true,
+  "workspaces": [
+    "packages/*"
+  ],
+  "devDependencies": {
+    "lerna": "^6.3.0"
+  }
+}

+ 19 - 0
xc-admin/packages/xc-admin-common/package.json

@@ -0,0 +1,19 @@
+{
+  "name": "xc-admin-common",
+  "version": "0.0.0",
+  "description": "",
+  "author": "",
+  "homepage": "https://github.com/pyth-network/pyth-crosschain",
+  "license": "ISC",
+  "main": "src/index.ts",
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/pyth-network/pyth-crosschain.git"
+  },
+  "bugs": {
+    "url": "https://github.com/pyth-network/pyth-crosschain/issues"
+  },
+  "dependencies": {
+    "typescript": "^4.9.4"
+  }
+}

+ 0 - 0
xc-admin/packages/xc-admin-common/src/index.ts


+ 15 - 0
xc-admin/packages/xc-admin-common/tsconfig.json

@@ -0,0 +1,15 @@
+{
+  "compilerOptions": {
+    "declaration": true,
+    "target": "es2016",
+    "module": "commonjs",
+    "outDir": "lib",
+    "esModuleInterop": true,
+    "forceConsistentCasingInFileNames": true,
+    "strict": true,
+    "skipLibCheck": true,
+    "resolveJsonModule": true,
+    "noErrorTruncation": true
+  },
+  "include": ["src/**/*.ts"]
+}