-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 2.33 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
{
"name": "comet-brevo-module-demo",
"private": true,
"scripts": {
"build": "pnpm recursive run build",
"build:packages": "pnpm run build",
"build:api": "pnpm recursive --filter '@comet/brevo-api' run build",
"build:admin": "pnpm recursive --filter '@comet/brevo-admin' run build",
"build:api:skippable": "test -f packages/api/lib/index.d.ts && echo 'Skipping API build' || $npm_execpath build:api",
"build:admin:skippable": "test -f packages/admin/lib/index.d.ts && echo 'Skipping Admin build' || $npm_execpath build:admin",
"build:lib": "pnpm recursive --filter '@comet/*' run build",
"clean": "pnpm recursive run clean",
"copy-schema-files": "node copy-schema-files.js",
"dev:demo": "dotenv -c -- dev-pm start @demo",
"dev:demo:admin": "$npm_execpath build:admin:skippable && dotenv -c -- dev-pm start @demo-admin",
"dev:demo:api": "$npm_execpath build:api:skippable && dotenv -c -- dev-pm start @demo-api",
"dev:demo:site": "dotenv -c -- dev-pm start @demo-site",
"dev:api": "pnpm recursive --filter '@comet/brevo-api' run clean && dotenv -c -- dev-pm start @api",
"dev:admin": "pnpm recursive --filter '@comet/brevo-admin' run clean && dotenv -c -- dev-pm start @admin",
"postinstall": "husky install",
"lint": "pnpm lint:root && pnpm recursive run lint",
"lint:root": "$npm_execpath prettier --check './!(demo|packages)/**/*.{js,json,md,yml,yaml}'",
"lint:eslint": "pnpm recursive run lint:eslint",
"lint:tsc": "pnpm recursive run lint:tsc",
"intl:extract": "formatjs extract './packages/admin/**/*.ts*' --out-file 'lang/en.json' --ignore './**.d.ts' --ignore './**.d.ts.map' --format simple --throws",
"version": "$npm_execpath changeset version && pnpm install --lockfile-only",
"publish": "pnpm run build:lib && $npm_execpath changeset publish"
},
"devDependencies": {
"@comet/dev-process-manager": "^2.0.0",
"@changesets/cli": "^2.27.1",
"@formatjs/cli": "^4.8.3",
"@types/node": "^18.0.0",
"dotenv-cli": "^6.0.0",
"husky": "^7.0.1",
"lint-staged": "^12.3.7",
"npm-run-all": "^4.1.5",
"open-cli": "^7.0.0",
"prettier": "^2.3.2",
"ts-node": "^10.5.0",
"typescript": "^4.2.2"
}
}