-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 2.42 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
{
"name": "seal-blog",
"version": "0.6.0",
"license": "MIT",
"private": true,
"workspaces": [
"packages/sdk",
"packages/server",
"packages/*"
],
"scripts": {
"start": "yarn workspace @seal-blog/server run start",
"start:client": "yarn workspace @seal-blog/client run start",
"test": "yarn workspaces run test",
"fmt": "yarn workspaces run fmt",
"lint": "yarn workspaces run lint",
"build": "yarn workspaces run build",
"web": "yarn workspace @seal-blog/server ts-node-dev src/view.ts",
"artifact:server": "cp packages/contract/artifacts/contracts/NaiveFriends721.sol/NaiveFriends721.json packages/server/src/configs/blockchain/contract-artifact/",
"artifact:client": "cp packages/contract/artifacts/contracts/NaiveFriends721.sol/NaiveFriends721.json packages/client/src/configs/blockchain/contract-artifact/",
"artifact:main": "yarn artifact:server && yarn artifact:client",
"artifact:channel:server": "cp packages/contract/artifacts/contracts/NaiveChannel.sol/NaiveChannel.json packages/server/src/configs/blockchain/contract-artifact/",
"artifact:channel:client": "cp packages/contract/artifacts/contracts/NaiveChannel.sol/NaiveChannel.json packages/client/src/configs/blockchain/contract-artifact/",
"artifact:channel": "yarn artifact:channel:server && yarn artifact:channel:client",
"artifact:mail:server": "cp packages/contract/artifacts/contracts/NaiveMail.sol/NaiveMail.json packages/server/src/configs/blockchain/contract-artifact/",
"artifact:mail:client": "cp packages/contract/artifacts/contracts/NaiveMail.sol/NaiveMail.json packages/client/src/configs/blockchain/contract-artifact/",
"artifact:mail": "yarn artifact:mail:server && yarn artifact:mail:client",
"artifact:mailRoot:server": "cp packages/contract/artifacts/contracts/NaiveRootServer.sol/NaiveRootServer.json packages/server/src/configs/blockchain/contract-artifact/",
"artifact:mailRoot:client": "cp packages/contract/artifacts/contracts/NaiveRootServer.sol/NaiveRootServer.json packages/client/src/configs/blockchain/contract-artifact/",
"artifact:mailRoot": "yarn artifact:mailRoot:server && yarn artifact:mailRoot:client",
"artifact": "yarn artifact:main && yarn artifact:channel && yarn artifact:mail && yarn artifact:mailRoot"
},
"devDependencies": {
"@types/node": "^16.11.6",
"ava": "^4.2.0",
"prettier": "^2.4.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.4"
}
}