forked from writer/writer-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (45 loc) · 1.7 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
{
"name": "writer",
"version": "1.0.0",
"description": "",
"workspaces": [
"src/ui",
"tests/e2e",
"docs"
],
"engines": {
"node": "20.x.x",
"npm": "10.x.x"
},
"scripts": {
"build": "npm run ui:build && npm run apps:build && npm run ui:codegen && npm run docs:codegen",
"test": "npm run --if-present -ws test",
"lint": "npm run --if-present -ws lint",
"dev": "npm run -w writer-ui dev",
"storybook": "npm run -w writer-ui storybook",
"storybook.build": "npm run -w writer-ui storybook.build",
"custom.dev": "npm run -w writer-ui custom.dev",
"cli:test": "pytest tests -o log_cli=true ",
"cli:lint": "mypy ./src/writer --exclude app_templates/* && ruff check",
"cli:build": "npm run ui:codegen",
"ui:codegen": "npm run -w writer-ui codegen",
"ui:dev": "npm run -w writer-ui dev",
"ui:build": "npm run -w writer-ui build",
"ui:preview": "npm run -w writer-ui preview",
"ui:custom.build": "npm run -w writer-ui custom.build",
"ui:lint": "npm run -w writer-ui lint",
"ui:lint:ci": "npm run -w writer-ui lint:ci",
"docs:codegen": "npm run -w writer-docs codegen",
"docs:preview": "npm run -w writer-docs preview",
"docs:test": "npm run -w writer-docs test",
"e2e": "npm run -w writer-e2e e2e",
"e2e:setup": "npm run -w writer-e2e e2e:setup",
"e2e:ui": "npm run -w writer-e2e e2e:ui",
"e2e:ci": "npm run -w writer-e2e e2e:ci",
"e2e:firefox": "npm run -w writer-e2e e2e:firefox",
"e2e:chromium": "npm run -w writer-e2e e2e:chromium",
"e2e:webkit": "npm run -w writer-e2e e2e:webkit",
"apps:build": "cp -R ./apps/hello ./src/writer/app_templates/ && cp -R ./apps/default ./src/writer/app_templates/",
"codegen": "npm run ui:codegen && npm run docs:codegen"
}
}