-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 4.13 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
{
"name": "@algorandfoundation/puya-ts",
"version": "1.0.0",
"description": "Compiles Algorand TypeScript into byte code which runs on the Algorand Virtual Machine (AVM)",
"private": false,
"types": "src/index.ts",
"scripts": {
"postinstall": "npx patch-package",
"dev:examples": "tsx src/cli.ts build examples --output-awst --output-awst-json",
"dev:approvals": "rimraf tests/approvals/out && tsx src/cli.ts build tests/approvals --dry-run",
"dev:expected-output": "tsx src/cli.ts build tests/expected-output --dry-run",
"dev:testing": "tsx src/cli.ts build tests/approvals/extract-bytes.algo.ts --output-awst --output-awst-json --output-ssa-ir --log-level=info --out-dir out/[name] --optimization-level=0",
"audit": "better-npm-audit audit",
"format": "prettier --write .",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"build": "run-s build:*",
"build:0-clean": "rimraf dist coverage",
"build:1-lint": "eslint \"src/**/*.ts\" --max-warnings 0",
"build:2-check-types": "tsc -p tsconfig.json",
"build:3-build": "rollup -c --configPlugin typescript",
"build:4-copy-pkg-json": "tstk copy-package-json -c",
"build:5-copy-readme": "copyfiles ./README.md ./dist",
"test": "vitest run",
"test:approvals": "vitest run tests/approvals.spec.ts",
"test:expected-output": "vitest run tests/expected-output.spec.ts",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run --coverage --reporter junit --outputFile test-results.xml --reporter verbose",
"install-local-packages": "npm run algo-ts",
"watch-local-packages": "npm run algo-ts:build:watch",
"algo-ts": "run-s algo-ts:*",
"algo-ts:build": "cd packages/algo-ts && npm run build",
"algo-ts:build:watch": "cd packages/algo-ts && npm run build:3-build:watch",
"algo-ts:install": "npm i -D @algorandfoundation/algorand-typescript@./packages/algo-ts/dist",
"npm-install-all": "cd packages/algo-ts && npm i && npm run build && cd ../../ && npm i",
"script-all": "run-p script:*",
"script:op-types": "tsx ./scripts/generate-op-types.ts packages/algo-ts/src/op-types.ts && cd packages/algo-ts && eslint src/op-types.ts --fix",
"script:op-metadata": "tsx ./scripts/generate-op-metadata.ts src/awst_build/op-metadata.ts && eslint src/awst_build/op-metadata.ts --fix",
"script:op-ptypes": "tsx ./scripts/generate-op-ptypes.ts src/awst_build/ptypes/op-ptypes.ts && eslint src/awst_build/ptypes/op-ptypes.ts --fix"
},
"author": "Algorand foundation",
"license": "MIT",
"devDependencies": {
"@algorandfoundation/algokit-utils": "^8.0.2",
"@algorandfoundation/algorand-typescript": "file:packages/algo-ts/dist",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@makerx/eslint-config": "4.0.0",
"@makerx/prettier-config": "2.0.1",
"@makerx/ts-toolkit": "^4.0.0-beta.21",
"@rollup/plugin-commonjs": "28.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "^12.1.1",
"@tsconfig/node20": "20.1.4",
"@types/cross-spawn": "^6.0.6",
"@types/node": "22.10.1",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"@vitest/coverage-v8": "2.1.8",
"better-npm-audit": "3.11.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"copyfiles": "2.4.1",
"cross-env": "^7.0.3",
"eslint": "9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"npm-run-all": "4.1.5",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"rollup": "^4.28.1",
"semantic-release": "^24.2.0",
"tsx": "4.19.2",
"vitest": "2.1.8"
},
"dependencies": {
"arcsecond": "^5.0.0",
"chalk": "^5.3.0",
"change-case": "^5.4.4",
"commander": "^12.1.0",
"cross-spawn": "7.0.6",
"glob": "^11.0.0",
"polytype": "^0.17.0",
"typescript": "^5.7.2",
"upath": "^2.0.1",
"which": "^5.0.0",
"zod": "^3.24.0"
},
"overrides": {
"cross-spawn": "7.0.6",
"npm": "10.9.1"
},
"bundleDependencies": [
"typescript"
]
}