diff --git a/packages/bridge/package.json b/packages/bridge/package.json new file mode 100644 index 0000000..70143e7 --- /dev/null +++ b/packages/bridge/package.json @@ -0,0 +1,40 @@ +{ + "name": "@demex-sdk/bridge", + "version": "0.0.3", + "license": "MIT", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:clean": "concurrently 'rimraf ./dist-*' 'rimraf ./tsconfig.*.tsbuildinfo'" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "exports": { + ".": { + "module": "./dist-es/index.js", + "node": "./dist-cjs/index.js", + "import": "./dist-es/index.js", + "require": "./dist-cjs/index.js", + "types": "./dist-types/index.d.ts" + }, + "./package.json": { + "module": "./package.json", + "node": "./package.json", + "import": "./package.json", + "require": "./package.json" + } + }, + "files": [ + "dist-*/**" + ], + "devDependencies": { + "concurrently": "7.0.0", + "eslint": "^9.13.0" + } +} diff --git a/packages/bridge/src/index.ts b/packages/bridge/src/index.ts new file mode 100644 index 0000000..336ce12 --- /dev/null +++ b/packages/bridge/src/index.ts @@ -0,0 +1 @@ +export {} diff --git a/packages/bridge/tsconfig.cjs.json b/packages/bridge/tsconfig.cjs.json new file mode 100644 index 0000000..8f8d634 --- /dev/null +++ b/packages/bridge/tsconfig.cjs.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist-cjs", + "baseUrl": "." + }, + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/packages/bridge/tsconfig.es.json b/packages/bridge/tsconfig.es.json new file mode 100644 index 0000000..ce87108 --- /dev/null +++ b/packages/bridge/tsconfig.es.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist-es", + "baseUrl": "." + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] +} diff --git a/packages/bridge/tsconfig.types.json b/packages/bridge/tsconfig.types.json new file mode 100644 index 0000000..8500d2f --- /dev/null +++ b/packages/bridge/tsconfig.types.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "declarationDir": "dist-types", + "rootDir": "src", + }, + "extends": "../../tsconfig.types.json", + "include": ["src/"] +} diff --git a/packages/polynetwork/package.json b/packages/polynetwork/package.json new file mode 100644 index 0000000..ae27932 --- /dev/null +++ b/packages/polynetwork/package.json @@ -0,0 +1,40 @@ +{ + "name": "@demex-sdk/polynetwork", + "version": "0.0.3", + "license": "MIT", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:clean": "concurrently 'rimraf ./dist-*' 'rimraf ./tsconfig.*.tsbuildinfo'" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "exports": { + ".": { + "module": "./dist-es/index.js", + "node": "./dist-cjs/index.js", + "import": "./dist-es/index.js", + "require": "./dist-cjs/index.js", + "types": "./dist-types/index.d.ts" + }, + "./package.json": { + "module": "./package.json", + "node": "./package.json", + "import": "./package.json", + "require": "./package.json" + } + }, + "files": [ + "dist-*/**" + ], + "devDependencies": { + "concurrently": "7.0.0", + "eslint": "^9.13.0" + } +} diff --git a/packages/polynetwork/src/index.ts b/packages/polynetwork/src/index.ts new file mode 100644 index 0000000..336ce12 --- /dev/null +++ b/packages/polynetwork/src/index.ts @@ -0,0 +1 @@ +export {} diff --git a/packages/polynetwork/tsconfig.cjs.json b/packages/polynetwork/tsconfig.cjs.json new file mode 100644 index 0000000..8f8d634 --- /dev/null +++ b/packages/polynetwork/tsconfig.cjs.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist-cjs", + "baseUrl": "." + }, + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/packages/polynetwork/tsconfig.es.json b/packages/polynetwork/tsconfig.es.json new file mode 100644 index 0000000..ce87108 --- /dev/null +++ b/packages/polynetwork/tsconfig.es.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist-es", + "baseUrl": "." + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] +} diff --git a/packages/polynetwork/tsconfig.types.json b/packages/polynetwork/tsconfig.types.json new file mode 100644 index 0000000..8500d2f --- /dev/null +++ b/packages/polynetwork/tsconfig.types.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "declarationDir": "dist-types", + "rootDir": "src", + }, + "extends": "../../tsconfig.types.json", + "include": ["src/"] +}