forked from algorandfoundation/algokit-utils-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
160 lines (160 loc) · 4.26 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "@algorandfoundation/algokit-utils",
"version": "0.1.0",
"private": false,
"description": "A set of core Algorand utilities written in TypeScript and released via npm that make it easier to build solutions on Algorand.",
"author": "Algorand Foundation",
"license": "MIT",
"engines": {
"node": ">=18.0"
},
"type": "commonjs",
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"files": [
"**/*"
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.js"
},
"./types/*": {
"types": "./types/*.d.ts",
"import": "./types/*.mjs",
"require": "./types/*.js"
},
"./testing": {
"types": "./testing/index.d.ts",
"import": "./testing/index.mjs",
"require": "./testing/index.js"
},
"./index.d.ts": "./index.d.ts",
"./package.json": "./package.json"
},
"scripts": {
"build": "run-s build:*",
"build:0-clean": "rimraf dist coverage",
"build:1-compile": "rollup -c --configPlugin typescript",
"build:3-copy-pkg-json": "npx --yes @makerx/ts-toolkit@latest copy-package-json --custom-sections module main type types exports",
"build:4-copy-readme": "cpy README.md dist",
"test": "dotenv -e .env -- jest --coverage --passWithNoTests --silent",
"lint": "eslint ./src/ --ext .ts",
"lint:fix": "eslint ./src/ --ext .ts --fix",
"check-types": "tsc --noEmit",
"audit": "better-npm-audit audit",
"format": "prettier --write .",
"commit-lint": "commitlint --edit -o",
"semantic-release": "semantic-release",
"generate:code-docs": "typedoc",
"pre-commit": "run-s check-types lint:fix audit format test generate:code-docs"
},
"overrides": {
"semver": "7.5.2",
"eslint-plugin-prettier": "5.0.0",
"braces": "3.0.3",
"micromatch": "4.0.8"
},
"dependencies": {
"buffer": "^6.0.3"
},
"peerDependencies": {
"algosdk": "^2.7.0"
},
"devDependencies": {
"@algorandfoundation/tealscript": "^0.90.3",
"@commitlint/cli": "^18.4.2",
"@commitlint/config-conventional": "^17.7.0",
"@makerx/eslint-config": "^3.1.0",
"@makerx/prettier-config": "^2.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node20": "^20.1.4",
"@types/jest": "^29.5.2",
"@types/uuid": "^9.0.2",
"algosdk": "^2.7.0",
"better-npm-audit": "^3.7.3",
"conventional-changelog-conventionalcommits": "6.1.0",
"cpy-cli": "^5.0.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.47.0",
"fast-glob": "^3.3.2",
"jest-fetch-mock": "^3.0.3",
"magic-string": "^0.30.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.2",
"replace-in-files-cli": "^2.2.0",
"rimraf": "^5.0.1",
"rollup": "^4.9.6",
"semantic-release": "^23.0.8",
"tiny-invariant": "^1.3.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.1",
"typedoc": "^0.25.4",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": ">=5.1.6 <5.5",
"uuid": "^9.0.0"
},
"release": {
"branches": [
{
"name": "main",
"prerelease": "beta"
},
{
"name": "release"
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
[
"@semantic-release/npm",
{
"pkgRoot": "dist"
}
],
"@semantic-release/github"
]
}
}