-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 5.65 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
101
102
{
"name": "neardevhub-trustees-dashboard-bos",
"version": "1.0.0",
"description": "Trustees dashboard built for NEAR BOS",
"type": "module",
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"big.js": "^6.2.2",
"bos-workspace": "^1.0.0-alpha.27",
"eslint": "^8.48.0",
"http-server": "^14.1.1",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"near-api-js": "^4.0.4",
"near-social-vm-types": "^1.0.0",
"prettier": "^2.8.4",
"replace-in-files": "^3.0.0",
"rimraf": "^5.0.1",
"sucrase": "^3.34.0",
"tsc-files": "^1.1.4"
},
"scripts": {
"fmt": "prettier --write '**/*.{js,jsx,ts,tsx,json}'",
"fmt:check": "prettier --check '**/*.{js,jsx,ts,tsx,json}'",
"lint": "tsc --pretty --noEmit && eslint .",
"build": "npm run fmt",
"bw": "bos-workspace",
"prepare": "husky install",
"bw:dev:instances": "bw ws dev",
"bw:dev:devdao": "bw dev instances/treasury-devdao.near",
"bw:dev:treasury-factory": "bw dev instances/treasury-factory.near",
"bw:build:instance": "npm run bw build instances/$npm_config_instance build/$npm_config_instance && mv build/$npm_config_instance/src/widget/* build/$npm_config_instance/src/ && rm -Rf build/$npm_config_instance/src/widget",
"bw:build:devdao": "npm run bw:build:instance --instance=treasury-devdao.near",
"bw:build:treasury-factory": "npm run bw:build:instance --instance=treasury-factory.near",
"bw:build:testing": "npm run bw:build:instance --instance=treasury-testing.near",
"bw:build:infinex": "npm run bw:build:instance --instance=treasury-infinex.near",
"bw:build:infinex-testing": "npm run bw:build:instance --instance=treasury-testing-infinex.near",
"bw:build:templar": "npm run bw:build:instance --instance=treasury-templar.near",
"bw:build:widgets": "npm run bw:build:instance --instance=widgets.treasury-factory.near",
"bw:build:test-widgets": "npm run bw:build:instance --instance=test-widgets.treasury-factory.near",
"bw:build:bootstrap": "npm run bw:build:instance --instance=bootstrap.treasury-factory.near",
"bw:build:test-bootstrap": "npm run bw:build:instance --instance=test-bootstrap.treasury-factory.near",
"build:sandbox": "cd sandboxrpc && cargo build",
"gateway": "bw ws dev -g web4/public_html",
"dry-run:instances": "cd ./build/$npm_config_instance && bos components diff $npm_config_instance network-config mainnet",
"deploy:devdao": "npm run bw:build:devdao && cd ./build/treasury-devdao.near && bos components deploy",
"dry-run:devdao": "npm run bw:build:devdao && npm run dry-run:instances --instance=treasury-devdao.near",
"deploy:treasury-factory": "npm run bw:build:treasury-factory && cd ./build/treasury-factory.near && bos components deploy",
"dry-run:treasury-factory": "npm run bw:build:treasury-factory && npm run dry-run:instances --instance=treasury-factory.near",
"deploy:testing": "npm run bw:build:testing && cd ./build/treasury-testing.near && bos components deploy",
"dry-run:testing": "npm run bw:build:testing && npm run dry-run:instances --instance=treasury-testing.near",
"deploy:infinex": "npm run bw:build:infinex && cd ./build/treasury-infinex.near && bos components deploy",
"dry-run:infinex-testing": "npm run bw:build:infinex-testing && npm run dry-run:instances --instance=treasury-testing-infinex.near",
"deploy:infinex-testing": "npm run bw:build:infinex-testing && cd ./build/treasury-testing-infinex.near && bos components deploy",
"dry-run:infinex": "npm run bw:build:infinex && npm run dry-run:instances --instance=treasury-infinex.near",
"deploy:templar": "npm run bw:build:templar && cd ./build/treasury-templar.near && bos components deploy",
"dry-run:templar": "npm run bw:build:templar && npm run dry-run:instances --instance=treasury-templar.near",
"deploy:test-bootstrap": "npm run bw:build:test-bootstrap && cd ./build/test-bootstrap.treasury-factory.near && bos components deploy",
"dry-run:test-bootstrap": "npm run bw:build:test-bootstrap && npm run dry-run:instances --instance=test-bootstrap.treasury-factory.near",
"deploy:bootstrap": "npm run bw:build:bootstrap && cd ./build/bootstrap.treasury-factory.near && bos components deploy",
"dry-run:bootstrap": "npm run bw:build:bootstrap && npm run dry-run:instances --instance=bootstrap.treasury-factory.near",
"deploy:test-widgets": "npm run bw:build:test-widgets && cd ./build/test-widgets.treasury-factory.near && bos components deploy",
"dry-run:test-widgets": "npm run bw:build:test-widgets && npm run dry-run:instances --instance=test-widgets.treasury-factory.near",
"deploy:widgets": "npm run bw:build:widgets && cd ./build/widgets.treasury-factory.near && bos components deploy",
"dry-run:widgets": "npm run bw:build:widgets && npm run dry-run:instances --instance=widgets.treasury-factory.near",
"test": "npx playwright test",
"test:watch:codespaces": "npm test -- --ui-host=0.0.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx,json}": [
"npm run lint"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard.git"
},
"keywords": [
"near",
"nearprotocol",
"bos",
"blockchains",
"typescript",
"starter"
],
"author": "treasury-devdao.near",
"license": "MIT",
"bugs": {
"url": "https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard.git"
},
"homepage": "https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard.git#readme"
}