-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
104 lines (104 loc) · 6.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "@algorandfoundation/tealscript",
"version": "0.105.5",
"description": "Enables Algorand smart contract development with native TypeScript syntax, tooling, and IDE support",
"homepage": "https://github.com/algorandfoundation/TEALScript",
"bugs": {
"url": "https://github.com/algorandfoundation/TEALScript/issues"
},
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"bin": {
"tealscript": "dist/bin/tealscript.js"
},
"scripts": {
"test": "jest tests/",
"test-coverage": "jest --coverage tests/",
"lint": "eslint examples/ src/ tests/ --ext .ts",
"fix": "eslint --fix examples/ src/ tests/ --ext .ts",
"docs": "typedoc",
"prepack": "tsc && cp src/static/* dist/static/ && cp src/lib/* dist/lib/",
"compile-big-comment": "bun ./src/bin/tealscript.ts tests/contracts/big_comment.algo.ts tests/contracts/artifacts",
"compile-arc56": "bun ./src/bin/tealscript.ts tests/contracts/arc56.algo.ts tests/contracts/artifacts",
"compile-abi": "bun ./src/bin/tealscript.ts tests/contracts/abi.algo.ts tests/contracts/artifacts",
"compile-account": "bun ./src/bin/tealscript.ts tests/contracts/account.algo.ts tests/contracts/artifacts",
"compile-binary": "bun ./src/bin/tealscript.ts tests/contracts/binary.algo.ts tests/contracts/artifacts",
"compile-general": "bun ./src/bin/tealscript.ts tests/contracts/general.algo.ts tests/contracts/artifacts",
"compile-if": "bun ./src/bin/tealscript.ts tests/contracts/if.algo.ts tests/contracts/artifacts",
"compile-itxns-test": "bun ./src/bin/tealscript.ts tests/contracts/itxns.algo.ts tests/contracts/artifacts",
"compile-loops": "bun ./src/bin/tealscript.ts tests/contracts/loops.algo.ts tests/contracts/artifacts",
"compile-math": "bun ./src/bin/tealscript.ts tests/contracts/math.algo.ts tests/contracts/artifacts",
"compile-storage": "bun ./src/bin/tealscript.ts tests/contracts/storage.algo.ts tests/contracts/artifacts",
"compile-lsig": "bun ./src/bin/tealscript.ts tests/contracts/lsig.algo.ts tests/contracts/artifacts",
"compile-inheritance": "bun ./src/bin/tealscript.ts tests/contracts/inheritance.algo.ts tests/contracts/artifacts",
"compile-avm11": "bun ./src/bin/tealscript.ts --skip-algod tests/contracts/avm11.algo.ts tests/contracts/artifacts",
"compile-functions": "bun ./src/bin/tealscript.ts tests/contracts/functions.algo.ts tests/contracts/artifacts",
"compile-amm": "bun ./src/bin/tealscript.ts examples/amm/amm.algo.ts examples/amm/tealscript_artifacts",
"compile-arc75": "bun src/bin/tealscript.ts examples/arc75/arc75.algo.ts examples/arc75/artifacts && algokitgen generate -a examples/arc75/artifacts/ARC75.arc32.json -o examples/arc75/ARC75Client.ts",
"compile-auction": "bun ./src/bin/tealscript.ts examples/auction/auction.algo.ts examples/auction/tealscript_artifacts",
"compile-itxns": "bun ./src/bin/tealscript.ts examples/itxns/itxns.algo.ts examples/itxns/artifacts && algokitgen generate -a examples/itxns/artifacts/FactoryCaller.arc32.json -o examples/itxns/FactoryCallerClient.ts",
"compile-simple": "bun ./src/bin/tealscript.ts examples/simple/simple.algo.ts examples/simple/artifacts && algokitgen generate -a examples/simple/artifacts/Simple.arc32.json -o examples/simple/SimpleClient.ts",
"compile-tuple_in_box": "bun ./src/bin/tealscript.ts examples/tuple_in_box/app.algo.ts examples/tuple_in_box/tealscript_artifacts && algokitgen generate -a examples/tuple_in_box/tealscript_artifacts/ContactsApp.arc32.json -o examples/tuple_in_box/ContactsAppClient.ts",
"compile-calculator": "bun ./src/bin/tealscript.ts examples/calculator/calculator.algo.ts examples/calculator/artifacts",
"compile-merkle": "bun ./src/bin/tealscript.ts examples/merkle/merkle.algo.ts examples/merkle/artifacts && algokitgen generate -a examples/merkle/artifacts/MerkleTree.arc32.json -o examples/merkle/MerkleTreeClient.ts",
"compile-big_box": "bun ./src/bin/tealscript.ts examples/big_box/big_box.algo.ts examples/big_box/artifacts",
"compile-arc72": "bun src/bin/tealscript.ts examples/arc72/arc72.algo.ts examples/arc72/artifacts",
"compile-non_abi": "bun ./src/bin/tealscript.ts examples/non_abi/non_abi.algo.ts examples/non_abi/artifacts",
"compile-optin-lsig": "bun ./src/bin/tealscript.ts examples/optin-lsig/lsig.algo.ts examples/optin-lsig/artifacts",
"compile-lsig_with_app": "bun ./src/bin/tealscript.ts examples/lsig_with_app/lsig_with_app.algo.ts examples/lsig_with_app/artifacts",
"compile-reti": "bun ./src/bin/tealscript.ts examples/reti/*.algo.ts examples/reti/artifacts",
"compile-arc58": "bun ./src/bin/tealscript.ts examples/arc58/arc58.algo.ts examples/arc58/artifacts",
"generate-clients": "conc \"bun compile-arc75\" \"bun compile-itxns\" \"bun compile-simple\" \"bun compile-tuple_in_box\" \"bun compile-merkle\"",
"run-merkle": "bun examples/merkle/demo.ts",
"run-tuple_in_box": "bun ./examples/tuple_in_box/client.ts",
"run-itxns": "bun examples/itxns/demo.ts",
"run-examples": "conc \"bun run-merkle\" \"bun run-tuple_in_box\" \"bun run-itxns\"",
"run-simple": "bun examples/simple/index.ts",
"web-test": "webpack --config tests/web/webpack.config.js && bun playwright test --config tests/web/playwright.config.ts",
"pre-commit": "conc \"bun lint\" \"bun test\" \"bun test examples/\" \"bun run-examples\" \"bun webpack-smoketest\" \"bun scripts/compile_all_smoketest.ts\"",
"compile-all": "bun scripts/compile_all.ts"
},
"dependencies": {
"@microsoft/tsdoc": "^0.14.2",
"@playwright/test": "^1.40.1",
"argparse": "^2.0.1",
"dotenv": "^16.3.1",
"glob": "^10.3.10",
"hi-base32": "^0.5.1",
"js-sha512": "^0.8.0",
"node-fetch": "2",
"polytype": "^0.17.0",
"source-map": "^0.7.4",
"ts-morph": "^20.0.0",
"typescript": "^4.9.3",
"vlq": "^2.0.4"
},
"devDependencies": {
"@algorandfoundation/algokit-client-generator": "v2.3.1-beta.1",
"@algorandfoundation/algokit-utils": "v5.5.0-beta.1",
"@jest/globals": "^29.5.0",
"@types/argparse": "^2.0.11",
"@types/express": "^4.17.21",
"@types/node": "^18.11.9",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"algosdk": "^2.7.0",
"concurrently": "^8.2.1",
"eslint": "^8.37.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^5.0.1",
"express": "^4.18.2",
"jest": "^29.5.0",
"path-browserify": "^1.0.1",
"prettier": "^3.0.3",
"tealscript_test_package": "^0.2.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4"
}
}