forked from statelyai/xstate-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.14 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
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
99
100
101
102
103
104
105
106
107
108
{
"name": "stately-tools",
"author": "Stately Team",
"license": "MIT",
"version": "0.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/statelyai/xstate-tools"
},
"bugs": {
"url": "https://github.com/statelyai/xstate-tools/issues"
},
"workspaces": {
"packages": [
"packages/*",
"apps/extension/*",
"apps/*"
]
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
"**/bundled-editor/assets/*.js": "node ./scripts/require-minified-bundled-editor.js"
},
"scripts": {
"cli": "yarn workspace @xstate/cli",
"extractor": "yarn workspace @xstate/machine-extractor",
"server": "yarn workspace @xstate/vscode-server",
"client": "yarn workspace stately-vscode",
"shared": "yarn workspace @xstate/tools-shared",
"prepare": "husky install",
"postinstall": "patch-package && preconstruct dev && manypkg check",
"release": "(cd apps/extension/client && npx vsce package --yarn) && changeset publish && (cd apps/extension/client && (echo 'Attempt to publish extension to the Visual Studio Code Marketplace' && npx vsce publish --packagePath $(find . -iname *.vsix)) || true) && (echo 'Attempt to publish extension to the Open VSX Registry' && npx ovsx publish $(find . -iname *.vsix) || true) && node ./scripts/tag-extension.js",
"deps:build": "preconstruct build",
"vscode:dev": "yarn turbo run vscode:build:dev --no-cache && cp apps/extension/server/dist/index.js apps/extension/client/dist/server.js",
"vscode:prod": "yarn turbo run vscode:build:prod --no-cache && cp apps/extension/server/dist/index.js apps/extension/client/dist/server.js",
"test": "jest"
},
"preconstruct": {
"packages": [
"packages/*"
]
},
"turbo": {
"globalDependencies": [
"package.json"
],
"pipeline": {
"lint": {
"outputs": []
},
"test": {
"outputs": []
},
"build": {
"outputs": [
"dist/**"
],
"cache": false
},
"webview:viz:build": {
"outputs": [
"scripts/vizWebview.js"
],
"cache": false
},
"vscode:build:dev": {
"dependsOn": [
"webview:viz:build"
],
"outputs": [
"dist/**"
],
"cache": false
},
"vscode:build:prod": {
"dependsOn": [
"webview:viz:build"
],
"outputs": [
"dist/**"
],
"cache": false
}
}
},
"dependencies": {
"@babel/core": "^7.21.4",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/preset-typescript": "^7.21.4",
"@changesets/changelog-github": "^0.4.3",
"@changesets/cli": "^2.21.0",
"@manypkg/cli": "^0.19.1",
"@preconstruct/cli": "^2.5.0",
"@types/node": "^16.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"concurrently": "6.2.0",
"esbuild": "^0.14.48",
"eslint": "^7.26.0",
"husky": "^8.0.1",
"lint-staged": ">=10",
"patch-package": "^6.4.7",
"prettier": "^2.8.7",
"turbo": "^1.1.2",
"typescript": "^5.0.4"
}
}