2ae9f8c6b4
* fixed logic bug in leap3.x support * added read only transaction notes
87 lines
2.5 KiB
JSON
87 lines
2.5 KiB
JSON
{
|
|
"name": "enf-eosjs",
|
|
"version": "23.0.0",
|
|
"description": "JS API to talk to eos blockchain",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"cypress": "cypress run --spec 'cypress/integration/index.spec.js'",
|
|
"cypress-ui": "cypress open",
|
|
"prepare": "npm run build",
|
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx src",
|
|
"test": "jest src/tests/*eosjs*",
|
|
"test-serialization": "jest src/tests/serialization.test.ts",
|
|
"test-node": "jest src/tests/node.test.ts",
|
|
"test-all": "npm run test && npm run test-node && npm run test-serialization && npm run cypress",
|
|
"build": "tsc -p ./tsconfig.json && cp src/ripemd.es5.js dist/ripemd.js",
|
|
"build-web": "webpack --config webpack.prod.js && webpack --config webpack.debug.js",
|
|
"build-production": "npm run build && npm run build-web && npm run test-all",
|
|
"clean": "rm -rf dist",
|
|
"docs-init": "sh .docs/scripts/init.sh",
|
|
"docs-build": "sh .docs/scripts/build.sh",
|
|
"docs-serve": "python -m SimpleHTTPServer",
|
|
"docs-publish": "sh .docs/scripts/publish.sh"
|
|
},
|
|
"author": "eosnetworkfoundation",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/eosnetworkfoundation/mandel-eosjs"
|
|
},
|
|
"dependencies": {
|
|
"bn.js": "5.2.0",
|
|
"elliptic": "6.5.4",
|
|
"hash.js": "1.1.7",
|
|
"node-fetch": "2.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/elliptic": "^6.4.13",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/node-fetch": "^2.6.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
"@typescript-eslint/parser": "^5.51.0",
|
|
"buffer": "^6.0.3",
|
|
"cypress": "^7.7.0",
|
|
"eslint": "^8.33.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-plugin-es-x": "^6.0.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^26.6.3",
|
|
"jest-extended": "^0.11.5",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"none": "^1.0.0",
|
|
"prettier": "2.8.4",
|
|
"text-encoding": "^0.7.0",
|
|
"ts-jest": "^26.5.6",
|
|
"ts-loader": "^9.4.3",
|
|
"typedoc": "^0.24.6",
|
|
"typedoc-plugin-markdown": "^3.15.2",
|
|
"typescript": "^4.9.5",
|
|
"webpack": "^5.44.0",
|
|
"webpack-cli": "^5.1.3"
|
|
},
|
|
"jest": {
|
|
"automock": false,
|
|
"setupFiles": [
|
|
"./src/tests/setupJest.js"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"jest-extended"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(tsx?)$": "ts-jest"
|
|
},
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsconfig": "tsconfig.json"
|
|
}
|
|
},
|
|
"testRegex": "(/src/.*(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|