-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.82 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.82 KB
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
{
"type": "module",
"scripts": {
"mops": "npx --no tsx --prefix cli ./cli/environments/nodejs/cli",
"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": "prettier --write . && eslint --fix .",
"decl:cli": "dfx generate main && dfx generate bench",
"decl:frontend": "cp -r cli/declarations frontend",
"format": "prettier --write .",
"format:check": "prettier --check .",
"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 && npm --prefix cli test",
"check:cli": "npm run --prefix ./cli check",
"check:frontend": "npm run --prefix ./frontend check",
"check": "run-p check:cli check:frontend",
"precommit": "lint-staged && npm run check"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{json,css,html,mo}": [
"prettier --write"
]
},
"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-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-svelte": "2.35.1",
"husky": "9.0.11",
"lint-staged": "16.3.1",
"npm-run-all": "4.1.5",
"prettier-eslint": "16.4.2",
"prettier-plugin-motoko": "0.12.1",
"typescript": "5.4.3"
}
}