-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
59 lines (59 loc) · 2.99 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
{
"name": "@paima/root",
"version": "0.0.0",
"private": true,
"scripts": {
"prepare": "husky",
"lint:configs": "ts-node -P ./tsconfig.base.json ./tools/scripts/check-implicit-dependencies.ts",
"lint:versions": "syncpack list-mismatches",
"lint": "npm run prettier && npm run build && export NODE_OPTIONS='--max-old-space-size=8192' && npx nx affected --target=lint:eslint --parallel=${NX_PARALLEL:-3} && npm run lint:configs && npm run lint:versions",
"cilint": "npm run cprettier && export NODE_OPTIONS='--max-old-space-size=8192' && npx nx affected --target=lint:eslint --parallel=${NX_PARALLEL:-3} && npm run lint:configs && npm run lint:versions",
"cprettier": "prettier --plugin=prettier-plugin-solidity --ignore-path ./.prettierignore --check '**/*.{sol,ts,tsx}'",
"prettier": "prettier --plugin=prettier-plugin-solidity --ignore-path ./.prettierignore --write '**/*.{sol,ts,tsx}'",
"prebuild": "npx nx run-many --parallel=${NX_PARALLEL:-3} -t prebuild",
"build": "npm run lint:configs && npx nx run-many --parallel=${NX_PARALLEL:-3} -t build",
"test": "npm run lint:configs && npx nx run-many --parallel=${NX_PARALLEL:-3} -t test",
"clear:local": "npm set registry && ps aux | grep '[v]erdaccio' | awk '{print $2}' | xargs -r kill -9",
"release:local": "npm run build && npm run clear:local && npx ts-node ./tools/scripts/publish-local.ts",
"release:lib": "./wipe.sh && sh ./tools/scripts/bump-version.sh && npm run build && npm run lint && npm run test && read -p 'Enter OTP: ' otp && export NPM_CONFIG_OTP=$otp && npx nx release publish -g paima-sdk && npx nx release publish -g node-sdk",
"release:bin": "./wipe.sh && npm run lint:configs && npm run build && npx nx run-many --parallel=${NX_PARALLEL:-3} --projects=tag:type:binary -t release && mkdir -p ./bin && cp -rf ./packages/engine/paima-standalone/packaged/@standalone/* ./bin"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@nx/esbuild": "19.5.7",
"@nx/js": "19.5.7",
"@nx/vite": "19.5.7",
"@nx/linter": "19.5.7",
"@types/eslint-plugin-prettier": "^3.1.3",
"@types/node": "^20.11.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"esbuild": "^0.19.11",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-require-extensions": "^0.1.3",
"husky": "^9.1.5",
"json5": "^2.2.3",
"nx": "19.5.7",
"prettier": "^3.2.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-solidity": "^1.4.1",
"syncpack": "^13.0.0",
"tar": "^7.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"verdaccio": "^5.31.1"
},
"overrides": {
"web3-eth-contract": "1.10.0"
},
"workspaces": [
"./packages/*/*"
]
}