forked from planetarium/libplanet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1.38 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
{
"packageManager": "[email protected]",
"private": true,
"workspaces": [
"@planetarium/account",
"@planetarium/account-aws-kms",
"@planetarium/account-web3-secret-storage",
"@planetarium/tx",
"Libplanet.Tools"
],
"scripts": {
"build": "printf \"\\033[41;97mLibplanet note: currently, it is expected for `yarn build` to fail on the first run and succeed on the second run due to an unknown issue unrelated to the codebase (see issue #3492,) so the build phase runs twice. Whenever the culprit is specified please remove this message and the duplicate call.\\033[0m\n\" >&2 && _libplanet_build=1 yarn workspaces foreach -p -A run build || _libplanet_build=1 yarn workspaces foreach -p -A run build",
"pack-all": "yarn workspaces foreach -p -A --include @planetarium/\\* pack",
"postinstall": "env | grep -E '^_libplanet_build=1$' || yarn build && echo ran yarn build",
"prepack": "printf \"\\033[41;97mLibplanet note: `yarn pack` is not allowed on the project root level, as it produces useless empty package. use `yarn pack-all` instead.\\033[0m\n\" > /dev/stderr && false",
"test": "yarn workspaces foreach -p -A run test"
},
"devDependencies": {
"@vitest/coverage-c8": "^0.29.2",
"nanobundle": "^1.6.0",
"node-fetch": "^3.1.1",
"rome": "^11.0.0",
"typescript": "^4.5.0",
"unzipper": "^0.10.11",
"vitest": "^0.29.2"
},
"files": []
}