-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
80 lines (80 loc) · 3.43 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
{
"name": "celo",
"version": "1.0.0",
"author": "Celo",
"license": "SEE LICENSE IN SUB-PACKAGES",
"private": true,
"scripts": {
"preinstall": "git config --global url.\"https://\".insteadOf ssh://",
"lint": "yarn workspaces foreach -piv --all run lint",
"prettify": "yarn run prettier --config .prettierrc.js --write '**/*.+(ts|tsx|js|jsx|sol|java)'",
"prettify:diff": "yarn run prettier --config .prettierrc.js --list-different '**/*.+(ts|tsx|js|jsx|sol|java)'",
"reset": "yarn reset-modules && yarn reset-cache",
"reset-cache": "yarn reset-yarn && yarn reset-rn",
"reset-modules": "rm -rf node_modules/ packages/*/node_modules",
"reset-rn": "watchman watch-del-all; rm -rf $TMPDIR/metro-cache-*; rm -rf $TMPDIR/haste-map-*; rm -rf $TMPDIR/metro-symbolicate*",
"reset-yarn": "yarn cache clean",
"test": "yarn test-pure && yarn test-needing-ganache",
"test-pure": "yarn workspaces foreach -piv --all --exclude celo --exclude \"@celo/{celocli,contractkit,transactions-uri}\" run test",
"test-needing-ganache": "yarn workspace @celo/contractkit test && yarn workspace @celo/celocli test && yarn workspace @celo/transactions-uri test",
"build": "yarn workspaces foreach -piv --all --topological-dev run build",
"clean": "yarn workspaces foreach -piv --all run clean",
"docs": "yarn workspaces foreach -piv --all run docs",
"cs": "yarn changeset",
"check-licenses": "yarn licenses list --prod | grep '\\(─ GPL\\|─ (GPL-[1-9]\\.[0-9]\\+ OR GPL-[1-9]\\.[0-9]\\+)\\)' && echo 'Found GPL license(s). Use 'yarn licenses list --prod' to look up the offending package' || echo 'No GPL licenses found'",
"report-coverage": "yarn workspaces foreach -piv --all run test-coverage",
"test:watch": "node node_modules/jest/bin/jest.js --watch",
"postinstall": "husky install && yarn workspaces foreach -piv --all run postinstall",
"release": "yarn clean && yarn build && yarn workspace @celo/celocli run prepack && yarn cs publish",
"version-and-reinstall": "yarn changeset version && yarn install --no-immutable",
"celocli": "yarn workspace @celo/celocli run --silent celocli"
},
"workspaces": {
"packages": [
"packages/*",
"packages/sdk/*",
"packages/sdk/wallets/*"
]
},
"devDependencies": {
"@celo/typescript": "workspace:^",
"@changesets/changelog-github": "^0.5.0",
"@types/jest": "^29.1.1",
"@types/node": "18.7.16",
"@types/semver": "7.3.8",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"codecov": "^3.8.3",
"colors": "1.4.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unicorn": "^50.0.1",
"husky": "^8.0.0",
"jest": "^29.7.0",
"prettier": "^2.7.1",
"pretty-quick": "^2.0.1",
"semver": "7.5.2",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.8.0",
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "5.3.3"
},
"resolutions": {
"ganache": "npm:@celo/[email protected]",
"web3": "1.10.4",
"web3-utils": "1.10.4",
"blind-threshold-bls": "npm:@celo/[email protected]",
"@types/bn.js": "4.11.6",
"bignumber.js": "9.0.0"
},
"dependencies": {
"@changesets/cli": "^2.26.2"
},
"packageManager": "[email protected]",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}