resolves #2 update js repository to 2022, new typescript, typedoc, eslint updates configs to fix breaking changes and dependancy conflicts

This commit is contained in:
Eric Passmore
2022-07-05 17:32:45 -07:00
parent c65ed422b5
commit 7d6ffc319a
4 changed files with 6338 additions and 6697 deletions
+43 -40
View File
@@ -1,14 +1,13 @@
{
"name": "eosjs",
"version": "20.0.1",
"description": "Talk to eos API",
"name": "mandel-eosjs",
"version": "1.0.0",
"description": "Talk to mandel-eosio API",
"main": "dist/index.js",
"scripts": {
"cypress": "./scripts/run-cypress.sh",
"cypress-ui": "./scripts/run-cypress.sh ui",
"cypress": "cypress run --spec 'cypress/integration/index.spec.js'",
"cypress-ui": "cypress open",
"prepare": "npm run build",
"lint": "tslint -c tslint.json -p tsconfig.json",
"lint-fix": "tslint -c tslint.json -p tsconfig.json --fix",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src",
"test": "jest src/tests/*eosjs*",
"test-node": "jest src/tests/*node*",
"test-all": "yarn test && yarn test-node && yarn cypress",
@@ -21,51 +20,55 @@
"docs-serve": "python -m SimpleHTTPServer",
"docs-publish": "sh .docs/scripts/publish.sh"
},
"author": "block.one",
"author": "eosnetworkfoundation",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/EOSIO/eosjs.git"
"url": "https://github.com/eosnetworkfoundation/mandel-eosjs"
},
"dependencies": {
"babel-runtime": "6.26.0",
"text-encoding": "0.7.0"
"@types/text-encoding": "^0.0.36",
"bn.js": "5.2.0",
"elliptic": "6.5.4",
"hash.js": "1.1.7",
"pako": "2.0.3"
},
"devDependencies": {
"@blockone/tslint-config-blockone": "3.0.0",
"@types/elliptic": "^6.4.9",
"@types/jest": "24.0.6",
"@types/node": "11.9.4",
"@types/text-encoding": "0.0.35",
"babel-cli": "6.26.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.7.0",
"babel-preset-stage-1": "6.24.1",
"cypress": "3.1.5",
"elliptic": "^6.5.0",
"jest": "23.5.0",
"jest-fetch-mock": "2.1.1",
"json-loader": "0.5.7",
"mocha": "5.2.0",
"mochawesome": "3.1.1",
"ts-jest": "24.0.0",
"ts-loader": "5.3.3",
"tslint": "5.12.1",
"tslint-eslint-rules": "5.4.0",
"typescript": "3.3.3",
"webpack": "4.29.5",
"webpack-cli": "3.2.3"
},
"resolutions": {
"braces": "2.3.1",
"handlebars": "4.1.2",
"js-yaml": "3.13.1"
"@blockone/eslint-config-blockone": "^4.0.1",
"@cypress/skip-test": "^2.6.1",
"@types/elliptic": "^6.4.13",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.21",
"@types/node-fetch": "^2.5.11",
"@types/pako": "^1.0.2",
"buffer": "^6.0.3",
"clean-webpack-plugin": "^3.0.0",
"crypto-browserify": "^3.12.0",
"cypress": "^7.7.0",
"eosjs-ecc": "^4.0.7",
"eslint": "^7.30.0",
"jest": "^26.6.3",
"jest-extended": "^0.11.5",
"jest-fetch-mock": "^3.0.3",
"none": "^1.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.6",
"ts-loader": "^9.2.3",
"typedoc": "^0.23.5",
"typedoc-markdown-theme": "^0.0.4",
"typedoc-plugin-markdown": "^3.13.2",
"typescript": "^4.3.5",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2"
},
"jest": {
"automock": false,
"setupFiles": [
"./src/tests/setupJest.js"
],
"setupFilesAfterEnv": [
"jest-extended"
],
"moduleFileExtensions": [
"ts",
"tsx",
@@ -76,7 +79,7 @@
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
"tsconfig": "tsconfig.json"
}
},
"testRegex": "(/src/.*(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
+1 -1
View File
@@ -17,6 +17,6 @@
},
"include": [
"src/**/*.ts",
"src/**/*.js",
"src/**/*.js"
]
}
+8 -13
View File
@@ -1,19 +1,14 @@
{
"name": "eosjs",
"target": "es5",
"module": ["es2017","dom"],
"ignoreCompilerErrors": true,
"includeDeclarations": false,
"name": "EOSIO Javascript",
"entryPoints": ["./src/index.ts"],
"excludeProtected": true,
"excludePrivate": true,
"mode": "modules",
"out": "docs-build",
"externalPattern": "**/node_modules/**",
"out": "typedoc-out",
"plugin": ["typedoc-markdown-theme"],
"theme": "markdown",
"mdEngine": "gitbook",
"stripExternal": false,
"exclude": ["**/index*","**/*.test.ts"],
"exclude": ["**/index*","**/*.test.ts","**/*.test.js","**/node_modules/"],
"readme": "README.md",
"hideGenerator": "true",
"verbose": true,
"mdSourceRepo": "https://www.github.com/EOSIO/eosjs"
"hideGenerator": true,
"gitRemote": "https://github.com/eosnetworkfoundation/mandel-eosjs"
}
+6286 -6643
View File
File diff suppressed because it is too large Load Diff