-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
53 lines (53 loc) · 2.13 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
{
"name": "airdrop",
"version": "0.1.0",
"license": "LGPL-3.0",
"main": "./contracts/tenk/dist/index.js",
"types": "./contracts/tenk/dist/index.d.ts",
"scripts": {
"pretest": "yarn build:testnet && yarn lint",
"upload:nft": "ts-node ./scripts/nft-uploader.ts",
"build:testnet": "yarn build --features testnet",
"build": "cargo build --target wasm32-unknown-unknown --release",
"test": "ava",
"test:testnet": "NEAR_WORKSPACES_NETWORK=testnet yarn test",
"test:linkdrop": "yarn test:testnet '*/linkdrop/*'",
"deploy:testnet": "yarn build:testnet && near repl -s ./scripts/deploy.ts",
"deploy": "yarn build && near repl -s ./scripts/deploy.ts",
"createKeys": "ts-node ./scripts/create-keys.ts",
"createLinkUrls": "ts-node ./scripts/create-linkdrops-urls.ts",
"createLinkdrops": "near repl -s ./scripts/create-linkdrops.ts",
"addWhitelist": "near repl -s ./scripts/add-whitelist.js",
"test:unit": "cargo test",
"test:ci": "yarn test:unit && yarn test",
"lint": "yarn eslint . --ext .ts && yarn gui:lint",
"wit": "(cd contracts/airdrop; witme near wit -t ts/ --standards && tsc)",
"schema": "(cd contracts/tenk; witme near json -o ../../gui/src/near/contracts/tenk)",
"wit:schema": "yarn wit && yarn schema",
"docs": "yarn wit && typedoc contracts/tenk/ts/index.ts --tsconfig contracts/tenk/tsconfig.json --out gui/public/docs",
"gui:start": "yarn docs && cd gui && yarn && yarn start",
"gui:build": "yarn docs && cd gui && yarn && yarn build",
"gui:lint": "cd gui && yarn lint",
"start": "yarn gui:start"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"acquit": "^1.2.1",
"acquit-markdown": "^0.1.0",
"eslint": "^7.29.0",
"glob": "^7.2.0",
"near-cli": "^3.4.1",
"near-workspaces-ava": "^1.1.0",
"nft.storage": "^5.0.0",
"ts-node": "^10.4.0",
"typedoc": "^0.22.11",
"typescript": "^4.5.5",
"witme": "^0.2.5"
},
"dependencies": {
"ipfs-car": "^0.6.2",
"near-api-js": "git+https://github.com/ahalabs/near-api-js#beta"
}
}