-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 loc) · 2.52 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
{
"name": "angularmotoko",
"version": "0.1.1",
"scripts": {
"build": "",
"prebuild": "",
"prestart": "",
"init:dfx": "npm run restart:clean:dfx && npm run refresh:motoko && dfx stop",
"start": "npm run restart:dfx && npm run refresh:motoko && npm run serve:both && npm run print:ng",
"test": "npm run restart:dfx && ng test",
"deploy:ic": "npm run restart:dfx && npm run build:prod && dfx deploy --network ic --no-wallet",
"deploy:local": "npm run restart:clean:dfx && dfx canister create motoko && npm run build:dev && dfx deploy",
"serve:both": "concurrently -k \"npm run watch:motoko\" \"ng serve && dfx stop\"",
"watch:motoko": "nodemon --watch src --ext mo -x \"npm run refresh:motoko\"",
"print:dfx:angular": "echo local IC server: http://127.0.0.1:8000/?canisterId=$(dfx canister id angular)",
"print:dfx:motoko": "echo local IC server: http://127.0.0.1:8000/?canisterId=$(dfx canister id motoko)",
"generate:motoko": "dfx generate motoko",
"restart:dfx": "dfx stop && dfx start --background",
"restart:clean:dfx": "dfx stop && dfx start --background --clean",
"refresh:motoko": "dfx deploy motoko && npm run copy:dfx",
"copy:dfx": "rsync -avr .dfx/$(echo ${DFX_NETWORK:-'**'})/canisters/** --exclude='assets/' --exclude='idl/' --exclude='*.wasm' --exclude='*.most' --exclude='*.ts' --delete src/declarations",
"build:prod": "export NODE_ENV=production && ng build --configuration production",
"build:dev": "export NODE_ENV=development && ng build --configuration development"
},
"private": true,
"dependencies": {
"@angular/animations": "^16.1.0",
"@angular/common": "^16.1.0",
"@angular/compiler": "^16.1.0",
"@angular/core": "^16.1.0",
"@angular/forms": "^16.1.0",
"@angular/platform-browser": "^16.1.0",
"@angular/platform-browser-dynamic": "^16.1.0",
"@angular-builders/custom-webpack": "^16.0.0",
"@angular/router": "^16.1.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.1.3",
"@angular/cli": "~16.1.3",
"@angular/compiler-cli": "^16.1.0",
"@dfinity/agent": "^0.18.0",
"@dfinity/candid": "^0.18.0",
"@dfinity/principal": "^0.18.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"process": "^0.11.10",
"typescript": "~5.1.3"
}
}