-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
42 lines (42 loc) · 2 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
{
"type": "module",
"scripts": {
"start": "npm run replica && npm run deploy-local && npm run decl && npm run frontends",
"frontends": "npm run start-registry & npm run start-docs & npm run start-blog & npm run start-cli-releases",
"start-registry": "cd frontend && npm run start",
"start-docs": "cd docs && npm run start",
"start-blog": "cd blog && npm run start",
"start-cli-releases": "cd cli-releases && npm run start",
"replica": "dfx stop && dfx start --clean --background",
"decl": "npm run decl:cli && npm run decl:frontend",
"lint": "eslint .",
"fix": "eslint . --fix",
"decl:cli": "dfx generate main && dfx generate bench",
"decl:frontend": "cp -r cli/declarations frontend",
"deploy": "dfx deploy --no-wallet --identity ${IDENTITY:-default} --network ${DFX_NETWORK:-local}",
"deploy-local": "NODE_ENV=development dfx deploy --identity default --no-wallet main",
"deploy-staging": "NODE_ENV=production IDENTITY=mops DFX_NETWORK=staging npm run deploy",
"deploy-ic": "NODE_ENV=production IDENTITY=mops DFX_NETWORK=ic npm run deploy",
"deploy:main": "NODE_ENV=development IDENTITY=default DFX_NETWORK=local npm run deploy main",
"build-frontend": "cd frontend && npm run build",
"build-docs": "cd docs && npm run build",
"build-blog": "cd blog && npm run build",
"build-cli-releases": "cd cli-releases && npm run build",
"prepare-cli": "cd cli && npm run prepare",
"release-cli": "cd cli && npm run release",
"build-cli": "npm run prepare-cli && npm run release-cli",
"prepare": "husky",
"postinstall": "(cd frontend && npm install) && (cd cli && npm install) && (cd docs && npm install) && (cd blog && npm install) && (cd cli-releases && npm install)",
"test": "mops test"
},
"devDependencies": {
"@stylistic/eslint-plugin": "1.7.0",
"@stylistic/eslint-plugin-migrate": "1.7.0",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"eslint": "8.57.0",
"eslint-plugin-svelte": "2.35.1",
"husky": "9.0.11",
"typescript": "5.4.3"
}
}