-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathpackage.json
140 lines (140 loc) · 5.16 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
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
{
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/package.json",
"name": "@tact-lang/compiler",
"version": "1.6.0",
"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/test/utils/compare-logs.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:grammar && yarn copy:func",
"gen:config": "ts-to-zod -k --skipValidation src/config/config.ts src/config/config.zod.ts",
"gen:grammar:old": "ohm generateBundles --withTypes src/grammar/prev/*.ohm",
"gen:grammar:new": "pgen src/grammar/next/grammar.gg -o src/grammar/next/grammar.ts",
"gen:grammar": "yarn gen:grammar:old && yarn gen:grammar:new",
"gen:stdlib": "ts-node src/stdlib/stdlib.build.ts",
"gen:func-js": "ts-node src/func/func.build.ts",
"gen:contracts:examples": "ts-node examples/contracts.build.ts",
"gen:contracts:test": "ts-node src/test/contracts.build.ts",
"gen:contracts:benchmarks:tact": "ts-node src/test/benchmarks/benchmarks.build.ts",
"gen:contracts:benchmarks:func": "ts-node src/test/benchmarks/func.build.ts",
"gen:contracts:benchmarks": "yarn gen:contracts:benchmarks:tact && yarn gen:contracts:benchmarks:func",
"gen:contracts:test:map": "ts-node ./src/test/e2e-emulated/map-tests/generate.ts",
"gen:contracts:all": "yarn gen:contracts:examples && yarn gen:contracts:test && yarn gen:contracts:benchmarks && yarn gen:contracts:test:map",
"gen": "yarn gen:grammar && yarn gen:stdlib && yarn gen:func-js && yarn gen:contracts:all",
"clean": "rm -fr dist",
"cleanall": "rm -fr dist node_modules",
"copy:stdlib": "ts-node src/stdlib/copy.build.ts",
"copy:grammar": "ts-node src/grammar/prev/copy.build.ts",
"copy:func": "ts-node src/func/copy.build.ts",
"build": "tsc && yarn copy:stdlib && yarn copy:grammar && yarn copy:func",
"test": "jest",
"test:fast": "jest --config=./jest-fast.config.js",
"bench": "yarn gen:contracts:benchmarks && jest ./src/test/benchmarks",
"bench:upgrade": "yarn gen:contracts:benchmarks && ts-node src/test/benchmarks/benchmarks.update.ts",
"coverage": "cross-env COVERAGE=true NODE_OPTIONS=--max_old_space_size=4096 jest --config=./jest-ci.config.js",
"type": "tsc --noEmit",
"lint": "yarn eslint .",
"fmt": "yarn prettier -l -w .",
"fmt:check": "yarn prettier --check .",
"spell": "yarn cspell --no-progress \"**\"",
"knip": "knip",
"lint:all": "yarn lint && yarn fmt:check && yarn spell && yarn knip",
"all": "yarn clean && yarn gen && yarn build && yarn coverage && yarn lint:all",
"postinstall": "node .husky/install.mjs || true",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"next-version": "ts-node version.build.ts",
"random-ast": "ts-node ./src/ast/random-ast.ts",
"top10": "find . -type f -exec du -h {} + | sort -rh | head -n 10"
},
"files": [
"dist/**/*",
"bin/**/*",
"!src/**/*",
"!**/test",
"!dist/**/output",
"!/docs",
"!**/*.build.*",
"!**/*.spec.js",
"!**/*.spec.d.ts",
"!**/*.tsbuildinfo",
"!**/*.infra.ts"
],
"main": "./dist/index.js",
"bin": {
"tact": "bin/tact.js",
"unboc": "bin/unboc.js"
},
"dependencies": {
"@tact-lang/opcode": "^0.3.0",
"@ton/core": "0.60.0",
"@ton/crypto": "^3.2.0",
"@tonstudio/parser-runtime": "^0.0.1",
"blockstore-core": "1.0.5",
"change-case": "^4.1.2",
"ipfs-unixfs-importer": "9.0.10",
"json-bigint": "^1.0.0",
"ohm-js": "^17.1.0",
"path-normalize": "^6.0.13",
"zod": "^3.22.4"
},
"devDependencies": {
"@ohm-js/cli": "^2.0.0",
"@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.27.0",
"@ton/test-utils": "^0.5.0",
"@tonstudio/pgen": "^0.0.1",
"@types/diff": "^7.0.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/json-bigint": "^1.0.4",
"@types/node": "^22.5.0",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"chalk": "4.1.2",
"cli-table3": "^0.6.5",
"cross-env": "^7.0.3",
"cspell": "^8.8.3",
"diff": "^7.0.0",
"eslint": "^8.57.0",
"fast-check": "^3.23.2",
"glob": "^8.1.0",
"husky": "^9.1.5",
"jest": "^29.3.1",
"knip": "^5.24.1",
"pinst": "^3.0.0",
"prando": "^6.0.1",
"prettier": "^3.2.5",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"ts-to-zod": "^3.15.0",
"typescript": "~5.6.2"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"packageManager": "yarn@1.22.22",
"engines": {
"node": ">=22.0.0"
}
}