mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	add xrpl-models package
				
					
				
			This commit is contained in:
		
							
								
								
									
										25
									
								
								packages/xrpl-models/package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								packages/xrpl-models/package.json
									
									
									
									
									
										Normal file
									
								
							@@ -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"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -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",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										8
									
								
								packages/xrpl/tsconfig.models.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								packages/xrpl/tsconfig.models.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
  "extends": "./tsconfig.json",
 | 
			
		||||
  "compilerOptions": {
 | 
			
		||||
    "rootDir": "./src",
 | 
			
		||||
    "outDir": "../xrpl-models/dist"
 | 
			
		||||
  },
 | 
			
		||||
  "include": ["./src/models/**/*.ts", "./src/errors.ts"],
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user