-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
69 lines (69 loc) · 2.94 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
{
"name": "pic-js",
"private": true,
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387",
"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:clock test:counter test:google-search test:multicanister test:nns-proxy test:todo",
"build:clock": "dfx generate clock && dfx build clock --check",
"test:clock": "jest -c ./examples/clock/tests/jest.config.ts",
"build:counter": "dfx generate counter && dfx build counter --check",
"test:counter": "vitest run -c ./examples/counter/tests/vitest.config.ts",
"build:google-search": "dfx generate google_search && dfx build google_search --check",
"test:google-search": "jest -c ./examples/google_search/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",
"build:todo": "dfx generate todo && dfx build todo --check",
"test:todo": "jest -c ./examples/todo/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": "^2.1.3",
"@dfinity/candid": "^2.1.3",
"@dfinity/identity": "^2.1.3",
"@dfinity/principal": "^2.1.3",
"@tsconfig/node22": "^22.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.0",
"bip39": "^3.1.0",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "3.4.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
},
"overrides": {
"webpack-dev-middleware@<=5.3.3": ">=5.3.4",
"express@<4.19.2": ">=4.19.2",
"follow-redirects@<=1.15.5": ">=1.15.6",
"braces@<3.0.3": ">=3.0.3",
"ws@>=8.0.0 <8.17.1": ">=8.17.1",
"ws@>=7.0.0 <7.5.10": ">=7.5.10",
"webpack@>=5.0.0-alpha.0 <5.94.0": ">=5.94.0",
"body-parser@<1.20.3": ">=1.20.3",
"path-to-regexp@>=2.0.0 <3.3.0": ">=3.3.0",
"path-to-regexp@>=0.2.0 <1.9.0": ">=1.9.0",
"path-to-regexp@<0.1.10": ">=0.1.10",
"cookie@<0.7.0": ">=0.7.0",
"http-proxy-middleware@<2.0.7": ">=2.0.7",
"send@<0.19.0": ">=0.19.0",
"serve-static@<1.16.0": ">=1.16.0",
"express@<4.20.0": ">=4.20.0",
"cross-spawn@<6.0.6": ">=6.0.6",
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5"
}
}