forked from ticlo/ticlo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.8 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 3.8 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "ticlo",
"version": "0.0.11",
"description": "ticlo runtime",
"repository": {
"type": "git",
"url": "https://github.com/ticlo/ticlo.git"
},
"author": {
"name": "Rick Zhou",
"email": "[email protected]"
},
"license": "MPL-2.0",
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/preset-typescript": "^7.24.1",
"@babel/register": "^7.23.7",
"@babel/standalone": "^7.25.9",
"@fastify/websocket": "^11.0.0",
"@ticlo/core": "workspace:*",
"@ticlo/editor": "workspace:*",
"@ticlo/node": "workspace:*",
"@ticlo/html": "workspace:*",
"@ticlo/react": "workspace:*",
"@ticlo/test": "workspace:*",
"@ticlo/web-server": "workspace:*",
"@types/babel__preset-env": "^7.9.6",
"@types/babel__standalone": "^7",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/luxon": "^3",
"@types/node": "^20.11.30",
"@types/qs": "^6.9.14",
"@types/react": "^18.2.69",
"@types/react-color": "^3.0.12",
"@types/react-dom": "^18.2.22",
"@types/serve-static": "^1.15.8",
"@types/shelljs": "^0.8.15",
"@types/tinycolor2": "^1.4.6",
"@types/ws": "^8.5.10",
"@types/yargs": "^17.0.32",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/browser": "^3.2.2",
"@vitest/coverage-istanbul": "^3.2.2",
"@vitest/coverage-v8": "^3.2.2",
"axios": "1.10.0",
"base64-js": "^1.5.1",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"diff-sequences": "^29.6.3",
"fastify": "^5.0.0",
"glob": "^10.3.10",
"less": "^4.2.0",
"mocha": "^10.3.0",
"nyc": "^15.1.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"pretty-format": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"shelljs": "^0.8.5",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.6.2",
"tslint": "^6.1.3",
"tslint-react": "^5.0.0",
"tsx": "^4.19.4",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-node-polyfills": "^0.23.0",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^3.2.2",
"webdriverio": "^9.15.0",
"yaml": "^2.5.1"
},
"scripts": {
"vite-dev": "vite",
"vite-build": "vite build",
"test-nyc-strict": "cross-env NODE_ENV=TEST TS_NODE_PROJECT='tsconfig.node.json' nyc --skip-full --check-coverage=true mocha 'packages/core/**/*.spec.ts' 'packages/node/**/*.spec.ts' && nyc report --reporter=text-lcov > coverage/nyc-strict.lcov",
"test-nyc": "cross-env TS_NODE_PROJECT='tsconfig.node.json' nyc --skip-full --check-coverage=true mocha 'packages/core/**/*.spec.ts' 'packages/node/**/*.spec.ts' && nyc report --reporter=text-lcov",
"build-less": "lessc --js packages/editor/style/antd.less app/css/antd.css && lessc --js packages/editor/style/index.less app/css/editor.css",
"build-icons": "tsx tool/build-icons",
"build-i18n": "tsx tool/merge-lng",
"build-i18n-pre-collect-en": "tsx tool/collect-editor-en-locale.ts",
"build-package": "tsx tool/build-package.ts",
"test": "cross-env NODE_ENV=TEST vitest run",
"test-coverage": "cross-env NODE_ENV=TEST vitest run --coverage",
"test-browser": "cross-env NODE_ENV=TEST vitest run -c vitest.web.config.mts",
"test-browser-coverage": "cross-env NODE_ENV=TEST vitest run -c vitest.web.config.mts --coverage",
"ticlo-server": "tsx app/server/ticlo-server.ts",
"server": "tsx app/server/ticlo-server.ts",
"ticlo-test-server": "tsx app/test/test-server --serve --run",
"ticlo-test-nyc": "nyc --silent --check-coverage=false tsx ./app/test/test-server.ts --run --quitOnFinish && nyc report --reporter=text-lcov > coverage/nyc-ticlo.lcov",
"prettier-check": "prettier --check \"(packages|tool|app)/**/*.+(ts|tsx|less)\"",
"prettier-write": "prettier --write \"(packages|tool|app)/**/*.+(ts|tsx|less)\""
},
"packageManager": "[email protected]"
}