-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
59 lines (59 loc) · 3.12 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": "neardevhub-widgets",
"version": "1.0.0",
"description": "NEAR DevHub widgets for NEAR Social",
"devDependencies": {
"@playwright/test": "^1.42.1",
"bos-workspace": "1.0.0-alpha.27",
"http-server": "^14.1.1",
"near-bos-webcomponent": "^0.0.9",
"prettier": "^2.8.4",
"replace-in-files": "^3.0.0",
"simple-git-hooks": "^2.9.0"
},
"resolutions": {
"ws": "^7.5.10"
},
"scripts": {
"fmt": "prettier --write '**/*.{js,jsx,ts,tsx,json}'",
"fmt:check": "prettier --check '**/*.{js,jsx,ts,tsx,json}'",
"build": "npm run fmt",
"bw": "bos-workspace",
"deploy:web4resources": "node scripts/deployweb4resources.mjs",
"bw:dev:instances": "bw ws dev",
"bw:dev:devhub": "bw dev instances/devhub.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:devhub": "npm run bw:build:instance --instance=devhub.near",
"bw:build:templar": "npm run bw:build:instance --instance=treasury-templar.near",
"gateway:all": "bw ws dev -g $(node scripts/create-static-hosting-web-gateway-folder.mjs)",
"dry-run:devhub": "npm run bw:build:devhub && cd ./build/devhub.near && bos components diff devhub.near network-config mainnet",
"bw:dev:infrastructure": "bw dev instances/infrastructure-committee.near",
"bw:build:infrastructure": "npm run bw:build:instance --instance=infrastructure-committee.near",
"deploy:infrastructure": "npm run bw:build:infrastructure && cd ./build/infrastructure-committee.near && bos components deploy",
"dry-run:infrastructure": "npm run bw:build:infrastructure && cd ./build/infrastructure-committee.near && bos components diff infrastructure-committee.near network-config mainnet",
"bw:dev:events": "bw dev instances/events-committee.near",
"bw:build:events": "npm run bw:build:instance --instance=events-committee.near",
"deploy:events": "npm run bw:build:events && cd ./build/events-committee.near && bos components deploy",
"deploy:templar": "npm run bw:build:templar && cd ./build/treasury-templar.near && bos components deploy",
"dry-run:events": "npm run bw:build:events && cd ./build/events-committee.near && bos components diff events-committee.near network-config mainnet",
"test": "npx playwright test",
"test:devhub": "INSTANCE=devhub npx playwright test --project=devhub --ui",
"test:events": "INSTANCE=events npx playwright test --project=events --ui",
"test:infrastructure": "INSTANCE=infrastructure npx playwright test --project=infrastructure --ui",
"test:watch:codespaces": "npm test -- --ui-host=0.0.0.0",
"test:watch": "npm test -- --ui"
},
"simple-git-hooks": {
"pre-commit": "npm run fmt"
},
"repository": {
"type": "git",
"url": "git+https://github.com/near/neardevhub-widgets.git"
},
"author": "Near Inc <hello@nearprotocol.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/near/neardevhub-widgets/issues"
},
"homepage": "https://github.com/near/neardevhub-widgets#readme"
}