diff --git a/packages/xrpl-models/package.json b/packages/xrpl-models/package.json new file mode 100644 index 00000000..4f9f584c --- /dev/null +++ b/packages/xrpl-models/package.json @@ -0,0 +1,25 @@ +{ + "name": "@transia/xrpl-models", + "version": "2.9.1", + "description": "", + "private": false, + "main": "dist/models/index.js", + "files": [ + "dist/**/*" + ], + "author": { + "name": "Denis Angell", + "url": "https://github.com/dangell7" + }, + "license": "MIT", + "scripts": {}, + "dependencies": { + "@types/node": "^20.4.2", + "ts-node": "^10.9.1", + "typescript": "^5.1.6" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=7.0.0 < 10.0.0" + } +} diff --git a/packages/xrpl/package.json b/packages/xrpl/package.json index 01d6e21a..f1fc54e4 100644 --- a/packages/xrpl/package.json +++ b/packages/xrpl/package.json @@ -54,6 +54,7 @@ "build": "run-s build:lib build:snippets build:web", "build:snippets": "tsc --build ./snippets/tsconfig.json", "build:lib": "tsc --build tsconfig.build.json", + "build:models": "tsc --build tsconfig.models.json", "build:web": "webpack", "build:browserTests": "webpack --config ./test/webpack.config.js", "analyze": "run-s build:web --analyze", diff --git a/packages/xrpl/tsconfig.models.json b/packages/xrpl/tsconfig.models.json new file mode 100644 index 00000000..809d34b9 --- /dev/null +++ b/packages/xrpl/tsconfig.models.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "../xrpl-models/dist" + }, + "include": ["./src/models/**/*.ts", "./src/errors.ts"], +}