-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
80 lines (80 loc) · 2.51 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": "@invariant-labs/alph-sdk",
"version": "0.0.19",
"collaborators": [
"Invariant Labs"
],
"description": "",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/**/*"
],
"keywords": [
"Alephium",
"DEX",
"SDK",
"Ralph"
],
"license": "GPL",
"repository": {
"type": "git",
"url": "git+https://github.com/invariant-labs/protocol-alephium.git",
"directory": "./"
},
"scripts": {
"build": "npm run clean:windows && npm run clean:unix && npx --yes tsc --build .",
"clean:unix": "node -e \"if (process.platform !== 'win32') process.exit(1)\" || rm -rf dist",
"clean:windows": "node -e \"if (process.platform === 'win32') process.exit(1)\" || , if exist dist rmdir /Q /S dist",
"devnet:start": "npx --yes @alephium/cli@latest devnet start",
"devnet:stop": "npx --yes @alephium/cli@latest devnet stop",
"compile": "npx cli compile && npm run stats",
"lint": "eslint . --ext ts",
"lint:fix": "eslint . --fix --ext ts",
"test": "jest -i --config ./jest-config.json",
"test:contract": "npm run test -- --testPathPattern=test/contract/* --silent",
"test:contract:e2e": "npm run test -- --testPathPattern=test/contract/e2e/* --silent",
"test:contract:unit": "npm run test -- --testPathPattern=test/contract/unit/*",
"test:sdk": "npm run test -- --testPathPattern=test/sdk/* --silent",
"test:sdk:e2e": "npm run test -- --testPathPattern=test/sdk/e2e/* --silent",
"test:sdk:unit": "npm run test -- --testPathPattern=test/sdk/unit/*",
"stats": "npx ts-node stats"
},
"dependencies": {
"@alephium/cli": "^1.8.0",
"@alephium/web3": "^1.8.0",
"@alephium/web3-test": "^1.8.0",
"@alephium/web3-wallet": "^1.8.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"devDependencies": {
"@types/jest": "^29.5.13",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^8.9.0",
"@typescript-eslint/parser": "^8.9.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.5"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=7.0.0"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"quoteProps": "as-needed",
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": true,
"spaceBeforeFunctionParen": false,
"printWidth": 100,
"bracketSameLine": true
}
}