forked from statelyai/xstate-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.75 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
{
"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/*"
]
},
"engines": {
"vscode": "^1.52.0"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"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": "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",
"extension:compile": "yarn turbo run build --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": []
},
"viz:build": {
"outputs": [
"scripts/vizWebview.js"
],
"cache": false
},
"editor:build": {
"outputs": [
"scripts/editorWebview.js"
],
"cache": false
},
"build": {
"dependsOn": [
"viz:build",
"editor:build"
],
"outputs": [
"dist/**"
],
"cache": false
}
}
},
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
"@babel/preset-typescript": "^7.16.7",
"@changesets/changelog-github": "^0.4.3",
"@changesets/cli": "^2.21.0",
"@manypkg/cli": "^0.19.1",
"@preconstruct/cli": "^2.1.0",
"@types/node": "^16.0.1",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"concurrently": "6.2.0",
"esbuild": "^0.14.48",
"eslint": "^7.26.0",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.3.1",
"turbo": "^1.1.2",
"typescript": "^4.3.5"
}
}