This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 265
/
package.json
100 lines (100 loc) · 3.6 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
{
"name": "swayswap",
"version": "0.1.0",
"author": "Fuel Labs <[email protected]> (https://fuel.network/)",
"private": true,
"engines": {
"node": ">=16"
},
"homepage": "https://github.com/FuelLabs/swayswap#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/FuelLabs/swayswap.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/FuelLabs/swayswap/issues"
},
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build",
"ci:test": "./scripts/ci-test.sh",
"ci:test:coverage": "./scripts/ci-test.sh --coverage",
"ci:test:e2e": "./scripts/ci-test.sh --e2e",
"create:test-env": "./scripts/create-test-env.sh 4001 4041 ./packages/app/.env.test",
"contracts": "pnpm exec swayswap-scripts run",
"contracts:build": "pnpm exec swayswap-scripts build",
"contracts:deploy": "pnpm exec swayswap-scripts deploy",
"contracts:init": "pnpm run --filter swayswap-app contracts:init",
"contracts:init-pool": "pnpm run --filter swayswap-app contracts:init --init-pool",
"dev": "turbo run dev --parallel",
"gh-preview": "pnpm run --filter swayswap-app gh-preview",
"lint:check": "eslint . --ext .ts,.tsx,.js,.jsx",
"lint:fix": "pnpm lint:check --fix",
"lint": "run-s lint:check prettier:check",
"prettier:check": "prettier --check .",
"prettier:format": "prettier --write .",
"scripts:setup": "pnpm run --filter=swayswap-scripts build && pnpm install",
"services:clean": "make -C docker services-clean",
"services:setup": "run-s scripts:setup services:run contracts contracts:init-pool",
"services:run": "make -C docker services-run",
"services:reset": "run-s services:clean services:setup",
"services:clean-test": "make -C docker services-clean-test",
"services:setup-test": "NODE_ENV=test run-s scripts:setup create:test-env services:run-test contracts contracts:init",
"services:setup-test-init": "NODE_ENV=test run-s scripts:setup create:test-env services:run-test contracts contracts:init-pool",
"services:run-test": "make -C docker services-run-test",
"services:reset-test": "NODE_ENV=test run-s services:clean-test services:setup-test",
"deps:update": "./scripts/update-deps.sh",
"test": "NODE_ENV=test pnpm run --filter=swayswap-app test",
"test:coverage": "NODE_ENV=test pnpm run --filter=swayswap-app test --coverage",
"test:clear": "pnpm -r exec jest --clearCache",
"test:e2e": "NODE_ENV=test playwright test --config=packages/app/playwright.config.ts"
},
"devDependencies": {
"@babel/core": "^7.19.0",
"@jest/types": "^28.1.3",
"@playwright/test": "^1.30.0",
"@swayswap/test-utils": "workspace:0.1.0",
"@swc/core": "^1.2.249",
"@swc/jest": "^0.2.22",
"@types/chrome": "^0.0.226",
"@types/jest": "^28.1.8",
"@types/node": "^17.0.45",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"dotenv": "^16.0.2",
"eslint": "^8.23.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-transform-stub": "^2.0.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"swayswap-scripts": "workspace:0.1.0",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"tsup": "^6.2.3",
"turbo": "^1.4.6",
"typescript": "^4.8.3",
"updates": "^13.1.5"
},
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"react",
"react-dom"
],
"ignoreMissing": [
"react",
"react-dom"
]
}
},
"dependencies": {
"fuels": "0.35.0"
}
}