-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 6.84 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 6.84 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/package.json",
"name": "@tact-lang/compiler",
"version": "1.6.13",
"repository": {
"type": "git",
"url": "git+https://github.com/tact-lang/tact.git"
},
"homepage": "https://tact-lang.org",
"description": "Tact is a next-gen smart contract language for TON",
"license": "MIT",
"contributors": [
{
"name": "Steve Korshakov",
"email": "steve@korshakov.com"
},
{
"name": "TON Studio",
"url": "https://tonstudio.io/"
}
],
"scripts": {
"compare": "ts-node src/logs/compare-logs.infra.ts",
"build:fast": "yarn clean && yarn gen:grammar && yarn gen:stdlib && yarn gen:func-js && tsc --project tsconfig.fast.json && yarn copy:stdlib && yarn copy:func && yarn to-relative",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=5120 tsc && yarn copy:stdlib && yarn copy:func && yarn to-relative",
"gen:config": "ts-to-zod -k --skipValidation src/config/config.ts src/config/config.zod.ts",
"gen:grammar": "pgen src/grammar/grammar.peggy -o src/grammar/grammar.ts",
"gen:stdlib": "ts-node src/stdlib/stdlib.build.ts",
"gen:func-js": "ts-node src/func/func.build.ts",
"gen:contracts:test": "ts-node src/test/contracts.build.ts",
"gen:contracts:benchmarks:tact": "ts-node src/benchmarks/bench.build.ts",
"gen:contracts:benchmarks:func": "ts-node src/benchmarks/func.build.ts",
"gen:contracts:benchmarks": "yarn gen:contracts:benchmarks:tact && yarn gen:contracts:benchmarks:func",
"gen:contracts:fast": "yarn gen:contracts:test && yarn gen:contracts:benchmarks",
"gen:contracts:test:map": "ts-node ./src/test/e2e-slow/map-property-tests/generate.ts",
"gen:contracts:all": "yarn gen:contracts:fast && yarn gen:contracts:test:map",
"gen": "yarn gen:grammar && yarn gen:stdlib && yarn gen:func-js && yarn gen:contracts:all",
"clean": "rimraf dist",
"cleanall": "rimraf dist node_modules",
"copy:stdlib": "ts-node src/stdlib/copy.build.ts",
"copy:func": "ts-node src/func/copy.build.ts",
"to-absolute": "ts-node src/to-absolute.build.ts",
"to-relative": "ts-node src/to-relative.build.ts",
"test": "jest",
"test:fast": "jest --config=./jest-fast.config.js",
"test:allure": "rimraf ./allure-results && yarn test && allure serve allure-results",
"bench": "yarn gen:contracts:benchmarks && cross-env PRINT_TABLE=true jest --testMatch=\"**/src/benchmarks/**/bench.spec.ts\"",
"bench:test": "yarn gen:contracts:benchmarks && cross-env PRINT_TABLE=false jest --testMatch=\"**/src/benchmarks/**/test.spec.ts\"",
"bench:ci": "yarn gen:contracts:benchmarks && cross-env PRINT_TABLE=true jest --testMatch=\"**/src/benchmarks/**/bench.spec.ts\" && cross-env PRINT_TABLE=false jest --testMatch=\"**/src/benchmarks/**/test.spec.ts\"",
"bench:update": "yarn gen:contracts:benchmarks && cross-env PRINT_TABLE=true ts-node src/benchmarks/update.build.ts",
"bench:add": "ts-node src/benchmarks/prompt.build.ts && yarn gen:contracts:benchmarks && cross-env PRINT_TABLE=true ADD=true ts-node src/benchmarks/update.build.ts",
"coverage": "cross-env COVERAGE=true NODE_OPTIONS=--max_old_space_size=5120 jest --config=./jest-ci.config.js",
"istanbul": "jest --coverage",
"type": "tsc --noEmit",
"lint": "yarn eslint .",
"fmt": "ts-node format.build.ts && ./bin/tact-fmt.js --write ./src/stdlib/stdlib && ./bin/tact-fmt.js --write ./src/benchmarks",
"fmt:check": "yarn prettier --check . && ./bin/tact-fmt.js --check ./src/stdlib/stdlib && ./bin/tact-fmt.js --check ./src/benchmarks",
"fmt:check:fast": "ts-node format.build.ts && ./bin/tact-fmt.js --check ./src/stdlib/stdlib && ./bin/tact-fmt.js --check ./src/benchmarks",
"spell": "yarn cspell --no-progress \"**\"",
"knip": "knip",
"lint:all": "yarn to-absolute && yarn gen:stdlib && yarn lint && yarn fmt:check:fast && yarn spell && yarn knip",
"all": "yarn clean && yarn gen && yarn build && yarn coverage && yarn lint:all",
"next-version": "ts-node version.build.ts",
"random-ast": "ts-node ./src/ast/random-ast.infra.ts",
"gen:make-funs": "ts-node ./src/ast/generated/gen-make-functions-script.ts && yarn prettier -w ./src/ast/generated/make-factory.ts",
"top10": "find . -type f -exec du -h {} + | sort -rh | head -n 10",
"gen:asm": "ts-node src/asm/generator/gen-constructors.ts && ts-node src/asm/generator/gen-converter.ts && ts-node src/asm/generator/gen-instr.ts && ts-node src/asm/generator/gen-printer.ts && ts-node src/asm/generator/gen-types.ts && yarn fmt"
},
"files": [
"dist/**/*",
"bin/**/*",
"!src/**/*",
"!src/benchmarks",
"!dist/benchmarks",
"!**/test",
"!dist/**/output",
"!/docs",
"!**/*.build.*",
"!**/*.infra.*",
"!**/*.spec.js",
"!**/*.spec.d.ts",
"!**/*.tsbuildinfo",
"!dist/asm/helpers",
"!dist/asm/generator",
"!dist/ast/generated"
],
"main": "./dist/index.js",
"bin": {
"tact": "bin/tact.js",
"unboc": "bin/unboc.js",
"tact-fmt": "bin/tact-fmt.js"
},
"dependencies": {
"@tact-lang/opcode": "^0.3.2",
"@ton/core": "^0.61.0",
"@ton/crypto": "^3.2.0",
"@tonstudio/parser-runtime": "0.0.1",
"blockstore-core": "1.0.5",
"glob": "^8.1.0",
"ipfs-unixfs-importer": "9.0.10",
"path-normalize": "^6.0.13",
"yaml": "^2.7.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/generator": "^7.26.5",
"@babel/parser": "^7.26.5",
"@babel/types": "^7.26.5",
"@noble/hashes": "^1.7.2",
"@swc/core": "^1.10.7",
"@swc/jest": "^0.2.37",
"@tact-lang/coverage": "^0.0.8",
"@tact-lang/ton-abi": "^0.0.3",
"@tact-lang/ton-jest": "^0.0.4",
"@ton/sandbox": "^0.35.0",
"@ton/test-utils": "^0.11.0",
"@tonstudio/pgen": "^0.0.1",
"@types/diff": "^7.0.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.0",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"allure-commandline": "^2.34.0",
"allure-jest": "^3.2.1",
"allure-js-commons": "^3.2.1",
"chalk": "4.1.2",
"cli-table3": "^0.6.5",
"cross-env": "^7.0.3",
"cspell": "^9.0.0",
"diff": "^7.0.0",
"eslint": "^8.57.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"fast-check": "^4.0.0",
"husky": "^9.1.5",
"jest": "^29.3.1",
"jest-environment-node": "^30.2.0",
"knip": "^5.24.1",
"prando": "^6.0.1",
"prettier": "^3.2.5",
"rimraf": "^6.0.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"ts-to-zod": "^3.15.0",
"tsconfig-paths": "^4.2.0",
"typescript": "~5.6.2"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"packageManager": "yarn@1.22.22",
"engines": {
"node": ">=22.0.0"
}
}