Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.13 KB
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
{
"name": "njord",
"version": "0.1.0",
"private": true,
"description": "Njord Protocol - Decentralized Affiliate Marketing on Solana",
"homepage": "https://njord.cryptuon.com/",
"repository": {
"type": "git",
"url": "https://github.com/cryptuon/njord.git"
},
"bugs": {
"url": "https://github.com/cryptuon/njord/issues"
},
"author": "Cryptuon Research <contact@cryptuon.com>",
"license": "MIT",
"scripts": {
"build": "pnpm -r build",
"build:sdk": "pnpm --filter @njord/sdk build",
"build:react": "pnpm --filter @njord/react build",
"build:bridge-sdk": "pnpm --filter @njord/bridge-sdk build",
"build:indexer": "pnpm --filter @njord/indexer build",
"dev": "pnpm -r dev",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint packages/*/src --ext .ts,.tsx",
"lint:fix": "eslint packages/*/src --ext .ts,.tsx --fix",
"format": "prettier --write \"packages/*/src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"packages/*/src/**/*.{ts,tsx}\"",
"typecheck": "pnpm -r typecheck",
"clean": "pnpm -r clean && rm -rf node_modules",
"anchor:build": "anchor build",
"anchor:test": "anchor test",
"anchor:deploy": "anchor deploy",
"init:devnet": "npx ts-node scripts/init-protocol.ts --network devnet",
"init:mainnet": "npx ts-node scripts/init-protocol.ts --network mainnet",
"prepare": "husky"
},
"devDependencies": {
"@types/node": "^22.10.1",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitest/coverage-v8": "^2.1.8",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"packageManager": "pnpm@9.15.0",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}