mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	- Add `xrpl-secret-numbers` by @WietseWind to the mono repo. - `unpkg` and `jsdelivr` support was simplified by adding fields to package.json. - Unit tests run in a browser and node. BREAKING CHANGES: - `xrpl-secret-numbers` is now `@xrplf/secret-numbers`. - Changed the bundled file produced changed from `dist/browerified.js` to `build/xrplf-secret-numbers-latest.js`. - Bundle variable is `xrplf_secret_numbers` instead of using browserify's loader. - If using CDN instructions in README will need to update to `https://cdn.jsdelivr.net/npm/@xrplf/secret-numbers` Making this library part of the monorepo was discussed in #1788. This solves several problems with the upcoming `xrpl.js@3.0`. `xrpl-secret-numbers` has a dependency of `ripple-keypairs` and `xrpl` has a depenendecy on `xrpl-secret-numbers`. This means that any change would require a separate release of `ripple-keypairs`, then a release of `xrpl-secret-numbers`, followed by `xrpl`. Now they can be released all at once In 3.0 we eliminated the need for many polyfills like `util`, `assert`, and soon to be `buffer` (after noble libs PR is merged). `xrpl-secret-numbers` still needs those. This will also eliminate them and anytime similar changes in the future will be much easier. This further reduces the bundle size of 3.0 branch by over 10% as well as reducing bundler setup.
		
			
				
	
	
		
			78 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "name": "xrpl.js",
 | 
						|
  "private": true,
 | 
						|
  "scripts": {
 | 
						|
    "analyze": "lerna run analyze --stream",
 | 
						|
    "test": "lerna run test --stream",
 | 
						|
    "test:browser": "lerna run test:browser --stream",
 | 
						|
    "test:integration": "lerna run test:integration --stream",
 | 
						|
    "lint": "lerna run lint --stream",
 | 
						|
    "clean": "lerna run clean --stream",
 | 
						|
    "build": "lerna run build --stream",
 | 
						|
    "docgen": "lerna run docgen --stream",
 | 
						|
    "update:check": "npx npm-check-updates --configFileName .ncurc.json",
 | 
						|
    "update:confirm": "npx npm-check-updates --configFileName .ncurc.json -u"
 | 
						|
  },
 | 
						|
  "dependencies": {
 | 
						|
    "@xrplf/ripple-keypairs": "file:packages/secret-numbers",
 | 
						|
    "ripple-address-codec": "file:packages/ripple-address-codec",
 | 
						|
    "ripple-binary-codec": "file:packages/ripple-binary-codec",
 | 
						|
    "ripple-keypairs": "file:packages/ripple-keypairs",
 | 
						|
    "xrpl": "file:packages/xrpl"
 | 
						|
  },
 | 
						|
  "devDependencies": {
 | 
						|
    "@types/brorand": "^1.0.30",
 | 
						|
    "@types/chai": "^4.2.21",
 | 
						|
    "@types/create-hash": "^1.2.2",
 | 
						|
    "@types/jest": "^29.2.2",
 | 
						|
    "@types/lodash": "^4.14.136",
 | 
						|
    "@types/node": "^14.18.35",
 | 
						|
    "@types/ws": "^8.2.0",
 | 
						|
    "@typescript-eslint/eslint-plugin": "^5.28.0",
 | 
						|
    "@typescript-eslint/parser": "^5.28.0",
 | 
						|
    "@xrplf/eslint-config": "^1.9.1",
 | 
						|
    "@xrplf/prettier-config": "^1.9.1",
 | 
						|
    "assert": "^2.0.0",
 | 
						|
    "buffer": "^6.0.2",
 | 
						|
    "chai": "^4.3.4",
 | 
						|
    "copyfiles": "^2.4.1",
 | 
						|
    "crypto-browserify": "^3.12.0",
 | 
						|
    "eslint": "^8.18.0",
 | 
						|
    "eslint-plugin-array-func": "^3.1.7",
 | 
						|
    "eslint-plugin-consistent-default-export-name": "^0.0.15",
 | 
						|
    "eslint-plugin-eslint-comments": "^3.2.0",
 | 
						|
    "eslint-plugin-import": "^2.26.0",
 | 
						|
    "eslint-plugin-jsdoc": "^39.3.3",
 | 
						|
    "eslint-plugin-node": "^11.1.0",
 | 
						|
    "eslint-plugin-prettier": "^4.2.1",
 | 
						|
    "eslint-plugin-tsdoc": "^0.2.16",
 | 
						|
    "eventemitter2": "^6.0.0",
 | 
						|
    "expect": "^29.3.1",
 | 
						|
    "jest": "^29.3.1",
 | 
						|
    "jest-mock": "^29.3.1",
 | 
						|
    "lerna": "^4.0.0",
 | 
						|
    "lodash": "^4.17.21",
 | 
						|
    "npm-run-all": "^4.1.5",
 | 
						|
    "path-browserify": "1.0.1",
 | 
						|
    "prettier": "^2.3.2",
 | 
						|
    "process": "^0.11.10",
 | 
						|
    "source-map-loader": "^5.0.0",
 | 
						|
    "source-map-support": "^0.5.16",
 | 
						|
    "stream-browserify": "^3.0.0",
 | 
						|
    "ts-jest": "^29.0.3",
 | 
						|
    "ts-loader": "^9.2.5",
 | 
						|
    "ts-node": "^10.2.1",
 | 
						|
    "typescript": "^5.1.6",
 | 
						|
    "webpack": "^5.81.0",
 | 
						|
    "webpack-bundle-analyzer": "^4.1.0",
 | 
						|
    "webpack-cli": "^5.0.1"
 | 
						|
  },
 | 
						|
  "workspaces": [
 | 
						|
    "./packages/*"
 | 
						|
  ],
 | 
						|
  "engines": {
 | 
						|
    "node": ">=16.0.0",
 | 
						|
    "npm": ">=7.10.0 < 10.0.0"
 | 
						|
  }
 | 
						|
}
 |