forked from garudaidr/icp-subaccount-indexer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 1.9 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
{
"name": "icp_prototype",
"type": "module",
"scripts": {
"build": "webpack",
"prebuild": "dfx generate",
"start": "webpack serve --mode development --env development",
"start:local:env": "dfx start --clean --host 127.0.0.1:8000 --use-old-metering",
"deploy:local": ".maintain/deploy.sh",
"deploy:ic": "dfx deploy --network=ic",
"generate": "npm run generate:did && dfx generate icp_prototype_backend",
"generate:did": "npm run generate:did:backend && npm run generate:did:ts",
"generate:did:ts": "didc bind src/icp_prototype_backend/icp_prototype_backend.did -t ts > src/icp_prototype_backend/icp_prototype_backend.did.ts",
"generate:did:backend": "cargo build --release --target wasm32-unknown-unknown --package icp_prototype_backend && candid-extractor target/wasm32-unknown-unknown/release/icp_prototype_backend.wasm > src/icp_prototype_backend/icp_prototype_backend.did",
"format": "cargo fmt && prettier --write .",
"test:happy_path": "cargo test --features 'happy_path'",
"test:sad_path": "cargo test --features 'sad_path'",
"test": "npm run test:happy_path && npm run test:sad_path"
},
"dependencies": {
"@dfinity/agent": "^1.0.1",
"@dfinity/candid": "^1.0.1",
"@dfinity/principal": "^1.0.1"
},
"devDependencies": {
"assert": "2.0.0",
"buffer": "6.0.3",
"copy-webpack-plugin": "^11.0.0",
"dotenv": "^16.0.3",
"prettier": "^3.2.5",
"events": "3.3.0",
"html-webpack-plugin": "5.5.0",
"process": "0.11.10",
"stream-browserify": "3.0.0",
"terser-webpack-plugin": "^5.3.3",
"util": "0.12.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.8.1"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"browserslist": [
"last 2 chrome version",
"last 2 firefox version",
"last 2 safari version",
"last 2 edge version"
],
"workspaces": []
}