-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
46 lines (46 loc) · 1.85 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
{
"name": "pic-js",
"private": true,
"packageManager": "pnpm@8.7.1",
"workspaces": [
"packages/pic",
"examples/counter/tests",
"examples/clock/tests",
"examples/todo/tests"
],
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"build": "run-p build:pic",
"build:pic": "tsc -p ./packages/pic/tsconfig.json",
"build:examples": "dfx generate phonebook && dfx generate superheroes && dfx generate && dfx build --all --check",
"test:examples": "run-p test:counter test:clock test:todo test:multicanister test:nns-proxy",
"build:counter": "dfx generate counter && dfx build counter --check",
"test:counter": "vitest run -c ./examples/counter/tests/vitest.config.ts",
"build:clock": "dfx generate clock && dfx build clock --check",
"test:clock": "jest -c ./examples/clock/tests/jest.config.ts",
"build:todo": "dfx generate todo && dfx build todo --check",
"test:todo": "jest -c ./examples/todo/tests/jest.config.ts",
"build:multicanister": "dfx generate multicanister && dfx build multicanister --check",
"test:multicanister": "jest -c ./examples/multicanister/tests/jest.config.ts",
"build:nns-proxy": "dfx generate nns_proxy && dfx build nns_proxy --check",
"test:nns-proxy": "jest -c ./examples/nns_proxy/tests/jest.config.ts",
"postinstall": "tar -xvf examples/nns_proxy/tests/state/nns_state.tar.gz -C examples/nns_proxy/tests/state"
},
"devDependencies": {
"@dfinity/agent": "^1.0.1",
"@dfinity/candid": "^1.0.1",
"@dfinity/identity": "^1.0.1",
"@dfinity/principal": "^1.0.1",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.5",
"bip39": "^3.1.0",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "3.1.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
}
}